/freebsd/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)); in getnewstatvfs() 66 other_variants(const struct statvfs *tmpl, const int *minfree, int minfreecnt, in other_variants() 70 struct statvfs *sf; in other_variants() 93 static const struct statvfs tmpl = { in setup_filer() 124 static const struct statvfs tmpl = { in setup_ld0g() 156 static const struct statvfs tmpl = { in setup_strpct() [all …]
|
/freebsd/lib/libc/gen/ |
H A D | statvfs.c | 40 static int sfs2svfs(const struct statfs *from, struct statvfs *to); 43 fstatvfs(int fd, struct statvfs *result) in fstatvfs() 70 statvfs(const char * __restrict path, struct statvfs * __restrict result) in statvfs() function 95 sfs2svfs(const struct statfs *from, struct statvfs *to) in sfs2svfs() 97 static const struct statvfs zvfs; in sfs2svfs() 135 struct statvfs buf; in main() 137 if (statvfs(argv[1], &buf) < 0) in main()
|
/freebsd/sys/sys/ |
H A D | statvfs.h | 57 struct statvfs { struct 76 int fstatvfs(int, struct statvfs *); argument 77 int statvfs(const char *__restrict, struct statvfs *__restrict);
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | bsd-statvfs.h | 48 struct statvfs { struct 67 int statvfs(const char *, struct statvfs *); argument 71 int fstatvfs(int, struct statvfs *);
|
H A D | bsd-statvfs.c | 37 copy_statfs_to_statvfs(struct statvfs *to, struct statfs *from) in copy_statfs_to_statvfs() 58 int statvfs(const char *path, struct statvfs *buf) in statvfs() function 76 int fstatvfs(int fd, struct statvfs *buf) in fstatvfs()
|
/freebsd/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 | h_tools.c | 275 struct statvfs buf; in statvfs_main() 280 error = statvfs(argv[1], &buf); in statvfs_main()
|
H A D | t_statvfs.sh | 50 eval $($(atf_get_srcdir)/h_tools statvfs .)
|
/freebsd/tools/regression/tmpfs/ |
H A D | t_sizes | 45 eval $(${Src_Dir}/h_tools statvfs . | sed -e 's|^f_|cf_|') 51 eval $(${Src_Dir}/h_tools statvfs .) 59 eval $(${Src_Dir}/h_tools statvfs .) 65 eval $(${Src_Dir}/h_tools statvfs .) 74 eval $(${Src_Dir}/h_tools statvfs .)
|
H A D | t_statvfs | 45 eval $(${Src_Dir}/h_tools statvfs .)
|
/freebsd/contrib/netbsd-tests/fs/nfs/nfsservice/ |
H A D | getmntinfo.c | 59 struct statvfs **mntbufp; in getmntinfo() 62 static struct statvfs *mntbuf; 74 while (bufsize <= mntsize * sizeof(struct statvfs)) { 77 bufsize = (mntsize + 1) * sizeof(struct statvfs);
|
/freebsd/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/crypto/openssh/regress/ |
H A D | setuid-allowed.c | 41 struct statvfs sb; in main() 48 if (statvfs(path, &sb) != 0) { in main()
|
/freebsd/crypto/openssh/ |
H A D | .depend | 5 …nbsd-compat/bsd-misc.h openbsd-compat/bsd-setres_id.h openbsd-compat/bsd-statvfs.h openbsd-compat/… 6 …nbsd-compat/bsd-misc.h openbsd-compat/bsd-setres_id.h openbsd-compat/bsd-statvfs.h openbsd-compat/… 7 …nbsd-compat/bsd-misc.h openbsd-compat/bsd-setres_id.h openbsd-compat/bsd-statvfs.h openbsd-compat/… 8 …nbsd-compat/bsd-misc.h openbsd-compat/bsd-setres_id.h openbsd-compat/bsd-statvfs.h openbsd-compat/… 9 …nbsd-compat/bsd-misc.h openbsd-compat/bsd-setres_id.h openbsd-compat/bsd-statvfs.h openbsd-compat/… 10 …nbsd-compat/bsd-misc.h openbsd-compat/bsd-setres_id.h openbsd-compat/bsd-statvfs.h openbsd-compat/… 11 …nbsd-compat/bsd-misc.h openbsd-compat/bsd-setres_id.h openbsd-compat/bsd-statvfs.h openbsd-compat/… 12 …nbsd-compat/bsd-misc.h openbsd-compat/bsd-setres_id.h openbsd-compat/bsd-statvfs.h openbsd-compat/… 13 …nbsd-compat/bsd-misc.h openbsd-compat/bsd-setres_id.h openbsd-compat/bsd-statvfs.h openbsd-compat/… 14 …nbsd-compat/bsd-misc.h openbsd-compat/bsd-setres_id.h openbsd-compat/bsd-statvfs.h openbsd-compat/… [all …]
|
/freebsd/contrib/netbsd-tests/fs/ffs/ |
H A D | t_mount.c | 60 struct statvfs svb; in ATF_TC_BODY() 101 struct statvfs svb; in ATF_TC_BODY()
|
H A D | t_quota2_remount.c | 32 struct statvfs fst; in do_quota()
|
/freebsd/sys/contrib/openzfs/lib/libspl/include/os/freebsd/sys/ |
H A D | vfs.h | 32 #include_next <sys/statvfs.h>
|
/freebsd/contrib/unbound/compat/ |
H A D | getentropy_osx.c | 298 struct statvfs stvfs; in getentropy_fallback() 358 HX(statvfs(".", &stvfs) == -1, stvfs); in getentropy_fallback() 362 HX(statvfs("/", &stvfs) == -1, stvfs); in getentropy_fallback()
|
H A D | getentropy_solaris.c | 321 struct statvfs stvfs; in getentropy_fallback() 384 HX(statvfs(".", &stvfs) == -1, stvfs); in getentropy_fallback() 387 HX(statvfs("/", &stvfs) == -1, stvfs); in getentropy_fallback()
|
H A D | getentropy_linux.c | 398 struct statvfs stvfs; in getentropy_fallback() 462 HX(statvfs(".", &stvfs) == -1, stvfs); in getentropy_fallback() 466 HX(statvfs("/", &stvfs) == -1, stvfs); in getentropy_fallback()
|
/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/ |
H A D | dtfs_vfsops.c | 195 dtfs_fs_statvfs(struct puffs_usermount *pu, struct statvfs *sbp) in dtfs_fs_statvfs() 204 memset(sbp, 0, sizeof(struct statvfs)); in dtfs_fs_statvfs()
|
/freebsd/contrib/llvm-project/libcxx/src/filesystem/ |
H A D | posix_compat.h | 42 # include <sys/statvfs.h> 294 inline int statvfs(const wchar_t* p, StatVFS* buf) { 482 using ::statvfs; 487 using StatVFS = struct statvfs; 297 inline int statvfs(const wchar_t *p, StatVFS *buf) { statvfs() function
|
/freebsd/contrib/netbsd-tests/lib/libc/c063/ |
H A D | t_o_search.c | 61 #define statvfs statfs macro 321 struct statvfs vst; in ATF_TC_BODY()
|
/freebsd/contrib/kyua/m4/ |
H A D | fs.m4 | 120 AC_CHECK_HEADERS([sys/mount.h sys/statvfs.h sys/vfs.h]) 121 AC_CHECK_FUNCS([statfs statvfs])
|
/freebsd/contrib/libarchive/libarchive/ |
H A D | archive_read_disk_posix.c | 1522 set_statvfs_transfer_size(struct filesystem *fs, const struct statvfs *sfs) in set_statvfs_transfer_size() 1690 struct statvfs svfs; in setup_current_filesystem() 1699 r = statvfs(tree_current_access_path(t), &svfs); in setup_current_filesystem() 1708 r = statvfs(".", &svfs); in setup_current_filesystem() 1761 struct statvfs svfs; in setup_current_filesystem() 1792 vr = statvfs(tree_current_access_path(t), &svfs); in setup_current_filesystem() 1812 vr = statvfs(".", &svfs); in setup_current_filesystem() 1891 struct statvfs svfs; in setup_current_filesystem() 1919 r = statvfs(tree_current_access_path(t), &svfs); in setup_current_filesystem() 1933 r = statvfs(".", &svfs); in setup_current_filesystem()
|