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

123

/freebsd-11-stable/crypto/openssh/regress/
H A Dsetuid-allowed.c23 # 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 Dstatvfs.h42 * 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 Dbsd-statvfs.h45 struct statvfs { struct
64 int statvfs(const char *, struct statvfs *);
68 int fstatvfs(int, struct statvfs *);
H A Dbsd-statvfs.c29 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 Dstatvfs.c36 #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 Dgetmntinfo.c40 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 Dgetmntinfo.c59 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 Dt_sizes46 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 Dt_statvfs37 # 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 Dt_sizes.sh41 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 Dt_statvfs.sh29 # 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 Dh_tools.c39 #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 Dcheckmount_bsd44.c45 #define statfs statvfs
/freebsd-11-stable/contrib/netbsd-tests/fs/ffs/
H A Dt_mount.c60 struct statvfs svb;
101 struct statvfs svb;
H A Dt_quota2_remount.c13 #include <sys/statvfs.h>
32 struct statvfs fst;
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors_netbsd_compat.inc30 #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 Dmtab_bsd.c53 #define statfs statvfs
/freebsd-11-stable/contrib/netbsd-tests/fs/vfs/
H A Dt_full.c30 #include <sys/statvfs.h>
H A Dt_vfsops.c30 #include <sys/statvfs.h>
55 struct statvfs svb;
58 atf_tc_fail_errno("statvfs");
194 ATF_TC_FSAPPLY(tstatvfs, "statvfs");
H A Dt_rwtoro.c32 #include <sys/statvfs.h>
66 struct statvfs sbuf;
/freebsd-11-stable/contrib/llvm-project/lldb/source/Host/posix/
H A DFileSystemPosix.cpp20 #include <sys/statvfs.h>
/freebsd-11-stable/contrib/unbound/compat/
H A Dgetentropy_solaris.c26 #include <sys/statvfs.h>
321 struct statvfs stvfs;
384 HX(statvfs(".", &stvfs) == -1, stvfs);
387 HX(statvfs("/", &stvfs) == -1, stvfs);
H A Dgetentropy_linux.c36 #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 Dt_o_search.c38 #include <sys/statvfs.h>
61 #define statvfs statfs macro
321 struct statvfs vst;
/freebsd-11-stable/contrib/gcc/
H A Dsys-types.h20 struct statvfs;

Completed in 238 milliseconds

123