/freebsd-11-stable/crypto/openssh/regress/ |
H A D | setuid-allowed.c | 23 # include <sys/statvfs.h> 40 struct statvfs sb; 47 if (statvfs(path, &sb) != 0) { 48 /* Don't return an error if the host doesn't support statvfs */ 51 fprintf(stderr, "statvfs for \"%s\" failed: %s\n",
|
/freebsd-11-stable/sys/sys/ |
H A D | statvfs.h | 42 * statvfs members. (Well, actually, we don't -- see below -- but 59 struct statvfs { struct 78 int fstatvfs(int, struct statvfs *); 79 int statvfs(const char *__restrict, struct statvfs *__restrict);
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | bsd-statvfs.h | 45 struct statvfs { struct 64 int statvfs(const char *, struct statvfs *); 68 int fstatvfs(int, struct statvfs *);
|
H A D | bsd-statvfs.c | 29 copy_statfs_to_statvfs(struct statvfs *to, struct statfs *from) 45 int statvfs(const char *path, struct statvfs *buf) function 63 int fstatvfs(int fd, struct statvfs *buf)
|
/freebsd-11-stable/lib/libc/gen/ |
H A D | statvfs.c | 36 #include <sys/statvfs.h> 43 static int sfs2svfs(const struct statfs *from, struct statvfs *to); 46 fstatvfs(int fd, struct statvfs *result) 73 statvfs(const char * __restrict path, struct statvfs * __restrict result) function 98 sfs2svfs(const struct statfs *from, struct statvfs *to) 100 static const struct statvfs zvfs; 138 struct statvfs buf; 140 if (statvfs(argv[1], &buf) < 0) 141 err(1, "statvfs"); [all...] |
/freebsd-11-stable/contrib/netbsd-tests/bin/df/ |
H A D | getmntinfo.c | 40 static struct statvfs *getnewstatvfs(void); 41 static void other_variants(const struct statvfs *, const int *, int, 47 static struct statvfs *allstatvfs; 50 struct statvfs * 57 sftotal * sizeof(struct statvfs)); 66 other_variants(const struct statvfs *tmpl, const int *minfree, int minfreecnt, 70 struct statvfs *sf; 93 static const struct statvfs tmpl = { 124 static const struct statvfs tmpl = { 156 static const struct statvfs tmp [all...] |
/freebsd-11-stable/contrib/netbsd-tests/fs/nfs/nfsservice/ |
H A D | getmntinfo.c | 59 struct statvfs **mntbufp; 62 static struct statvfs *mntbuf; 74 while (bufsize <= mntsize * sizeof(struct statvfs)) { 77 bufsize = (mntsize + 1) * sizeof(struct statvfs);
|
/freebsd-11-stable/tools/regression/tmpfs/ |
H A D | t_sizes | 46 eval $(${Src_Dir}/h_tools statvfs . | sed -e 's|^f_|cf_|') 51 test_name "statvfs(2) reports correct block accounting" 52 eval $(${Src_Dir}/h_tools statvfs .) 59 test_name "statvfs(2) reports correct block accounting" 60 eval $(${Src_Dir}/h_tools statvfs .) 66 eval $(${Src_Dir}/h_tools statvfs .) 74 test_name "statvfs(2) reports correct block accounting" 75 eval $(${Src_Dir}/h_tools statvfs .)
|
H A D | t_statvfs | 37 # Verifies that the statvfs system call works properly (returning the 44 test_name "statvfs(2) returns correct values" 46 eval $(${Src_Dir}/h_tools statvfs .)
|
/freebsd-11-stable/contrib/netbsd-tests/fs/tmpfs/ |
H A D | t_sizes.sh | 41 eval $($(atf_get_srcdir)/h_tools statvfs .) 66 eval $($(atf_get_srcdir)/h_tools statvfs . | sed -e 's|^f_|cf_|') 71 eval $($(atf_get_srcdir)/h_tools statvfs .) 78 eval $($(atf_get_srcdir)/h_tools statvfs .) 97 eval $($(atf_get_srcdir)/h_tools statvfs .) 102 eval $($(atf_get_srcdir)/h_tools statvfs .)
|
H A D | t_statvfs.sh | 29 # Verifies that the statvfs system call works properly (returning the 35 atf_set "descr" "Tests that statvfs(2) returns correct values" 50 eval $($(atf_get_srcdir)/h_tools statvfs .)
|
H A D | h_tools.c | 39 #include <sys/statvfs.h> 275 struct statvfs buf; 280 error = statvfs(argv[1], &buf); 282 warn("statvfs"); 315 else if (strcmp(argv[0], "statvfs") == 0)
|
/freebsd-11-stable/contrib/amd/conf/checkmount/ |
H A D | checkmount_bsd44.c | 45 #define statfs statvfs
|
/freebsd-11-stable/contrib/netbsd-tests/fs/ffs/ |
H A D | t_mount.c | 60 struct statvfs svb; 101 struct statvfs svb;
|
H A D | t_quota2_remount.c | 13 #include <sys/statvfs.h> 32 struct statvfs fst;
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors_netbsd_compat.inc | 30 #undef statvfs 33 INTERCEPTOR(int, statvfs, char *path, void *buf) { 35 COMMON_INTERCEPTOR_ENTER(ctx, statvfs, path, buf); 40 int res = REAL(statvfs)(path, buf); 63 COMMON_INTERCEPT_FUNCTION(statvfs); \
|
/freebsd-11-stable/contrib/amd/conf/mtab/ |
H A D | mtab_bsd.c | 53 #define statfs statvfs
|
/freebsd-11-stable/contrib/netbsd-tests/fs/vfs/ |
H A D | t_full.c | 30 #include <sys/statvfs.h>
|
H A D | t_vfsops.c | 30 #include <sys/statvfs.h> 55 struct statvfs svb; 58 atf_tc_fail_errno("statvfs"); 194 ATF_TC_FSAPPLY(tstatvfs, "statvfs");
|
H A D | t_rwtoro.c | 32 #include <sys/statvfs.h> 66 struct statvfs sbuf;
|
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/ |
H A D | FileSystemPosix.cpp | 20 #include <sys/statvfs.h>
|
/freebsd-11-stable/contrib/unbound/compat/ |
H A D | getentropy_solaris.c | 26 #include <sys/statvfs.h> 321 struct statvfs stvfs; 384 HX(statvfs(".", &stvfs) == -1, stvfs); 387 HX(statvfs("/", &stvfs) == -1, stvfs);
|
H A D | getentropy_linux.c | 36 #include <sys/statvfs.h> 398 struct statvfs stvfs; 462 HX(statvfs(".", &stvfs) == -1, stvfs); 466 HX(statvfs("/", &stvfs) == -1, stvfs);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_o_search.c | 38 #include <sys/statvfs.h> 61 #define statvfs statfs macro 321 struct statvfs vst;
|
/freebsd-11-stable/contrib/gcc/ |
H A D | sys-types.h | 20 struct statvfs;
|