Home
last modified time | relevance | path

Searched refs:statvfs (Results 1 – 25 of 25) sorted by relevance

/external/toybox/toys/posix/
Ddf.c56 if (!(toys.optflags & FLAG_a) && !mt->statvfs.f_blocks) return;
60 block = mt->statvfs.f_bsize ? mt->statvfs.f_bsize : 1;
61 size = (block * mt->statvfs.f_blocks) / TT.units;
62 used = (block * (mt->statvfs.f_blocks-mt->statvfs.f_bfree)) / TT.units;
63 avail = (block*(getuid()?mt->statvfs.f_bavail:mt->statvfs.f_bfree))/TT.units;
/external/openssh/openbsd-compat/
Dbsd-statvfs.h47 struct statvfs { struct
66 int statvfs(const char *, struct statvfs *); argument
70 int fstatvfs(int, struct statvfs *);
Dbsd-statvfs.c37 copy_statfs_to_statvfs(struct statvfs *to, struct statfs *from) in copy_statfs_to_statvfs()
57 int statvfs(const char *path, struct statvfs *buf) in statvfs() function
75 int fstatvfs(int fd, struct statvfs *buf) in fstatvfs()
DMakefile.in21 …d-nextstep.o bsd-openpty.o bsd-poll.o bsd-setres_id.o bsd-snprintf.o bsd-statvfs.o bsd-waitpid.o f…
/external/selinux/libselinux/src/
Dinit.c42 struct statvfs vfsbuf; in verify_selinuxmnt()
43 rc = statvfs(mnt, &vfsbuf); in verify_selinuxmnt()
/external/toybox/lib/
Dgetmountlist.c159 statvfs(me->mnt_dir, &(mt->statvfs)); in xgetmountlist()
Dlib.h200 struct statvfs statvfs; member
/external/openssh/
DPROTOCOL385 3.4. sftp: Extension requests "statvfs@openssh.com" and
388 These requests correspond to the statvfs and fstatvfs POSIX system
389 interfaces. The "statvfs@openssh.com" request operates on an explicit
393 string "statvfs@openssh.com"
423 Both the "statvfs@openssh.com" and "fstatvfs@openssh.com" extensions are
Dsftp-server.c616 send_statvfs(u_int32_t id, struct statvfs *st) in send_statvfs()
1305 struct statvfs st; in process_extended_statvfs()
1313 if (statvfs(path, &st) != 0) in process_extended_statvfs()
1324 struct statvfs st; in process_extended_fstatvfs()
DAndroid.mk72 openbsd-compat/bsd-statvfs.c \
Dconfigure.ac416 sys/statvfs.h \
1694 statvfs \
3435 #include <sys/statvfs.h>
3727 AC_MSG_CHECKING([if struct statvfs.f_fsid is integral type])
3738 #include <sys/statvfs.h>
3740 ]], [[ struct statvfs s; s.f_fsid = 0; ]])],
3747 #include <sys/statvfs.h>
3756 #include <sys/statvfs.h>
Dsftp.0225 on servers that implement the M-bM-^@M-^\statvfs@openssh.comM-bM-^@M-^] extension.
Dconfig.h.in1034 /* Define to 1 if you have the `statvfs' function. */
1190 /* Define to 1 if you have the <sys/statvfs.h> header file. */
DChangeLog5096 fix log message statvfs. ok djm
5168 - (dtucker) [openbsd-compat/bsd-statvfs.h] Only start including headers if we
5175 - (dtucker) [configure.ac openbsd-compat/bsd-statvfs.c
5176 openbsd-compat/bsd-statvfs.h] Implement enough of statvfs on top of statfs
Dconfigure7424 sys/statvfs.h \
16538 statvfs \
30032 struct statvfs s; s.f_fsid = 0;
/external/selinux/policycoreutils/setfiles/
Drestore.c629 struct statvfs statvfs_buf; in file_system_count()
632 if (!statvfs(name, &statvfs_buf)) { in file_system_count()
/external/llvm/include/llvm/Analysis/
DTargetLibraryInfo.def487 /// int fstatvfs(int fildes, struct statvfs *buf);
837 /// int statvfs(const char *path, struct statvfs *buf);
838 TLI_DEFINE_ENUM_INTERNAL(statvfs)
839 TLI_DEFINE_STRING_INTERNAL("statvfs")
/external/llvm/lib/Analysis/
DTargetLibraryInfo.cpp254 TLI.setUnavailable(LibFunc::statvfs); in initialize()
/external/compiler-rt/lib/sanitizer_common/
Dsanitizer_platform_limits_posix.cc255 unsigned struct_statvfs_sz = sizeof(struct statvfs);
Dsanitizer_common_interceptors.inc3226 INTERCEPTOR(int, statvfs, char *path, void *buf) {
3228 COMMON_INTERCEPTOR_ENTER(ctx, statvfs, path, buf);
3233 int res = REAL(statvfs)(path, buf);
3248 COMMON_INTERCEPT_FUNCTION(statvfs); \
/external/compiler-rt/lib/msan/tests/
Dmsan_test.cc738 TEST(MemorySanitizer, statvfs) { in TEST() argument
739 struct statvfs st; in TEST()
740 int res = statvfs("/", &st); in TEST()
749 struct statvfs st; in TEST()
/external/llvm/lib/Transforms/IPO/
DFunctionAttrs.cpp959 case LibFunc::statvfs: in inferPrototypeAttributes()
/external/compiler-rt/lib/dfsan/
Dlibc_ubuntu1404_abilist.txt2960 fun:statvfs=uninstrumented
/external/sqlite/dist/
Dsqlite3.c29370 struct statvfs fsInfo;
/external/sqlite/dist/orig/
Dsqlite3.c29352 struct statvfs fsInfo;