| /netbsd-src/sys/sys/ |
| H A D | statvfs.h | 66 struct statvfs { struct 149 void copy_statvfs_info(struct statvfs *, const struct mount *); 150 int dostatvfs(struct mount *, struct statvfs *, struct lwp *, int, int); 154 (struct statvfs *)kmem_zalloc(sizeof(struct statvfs), KM_SLEEP) 155 #define STATVFSBUF_PUT(sb) kmem_free(sb, sizeof(struct statvfs)) 160 int getmntinfo(struct statvfs **, int) 163 int statvfs(const char *__restrict, struct statvfs *__restrict) 165 int fstatvfs(int, struct statvfs *) 167 int getvfsstat(struct statvfs *, size_t, int) 171 int fhstatvfs(const void *, size_t, struct statvfs *) [all …]
|
| H A D | vfs_syscalls.h | 36 struct statvfs; 47 int do_fhstatvfs(struct lwp *, const void *, size_t, struct statvfs *, int); 50 int do_sys_pstatvfs(struct lwp *, const char *, int, struct statvfs *); 51 int do_sys_fstatvfs(struct lwp *, int, int, struct statvfs *);
|
| /netbsd-src/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 …]
|
| /netbsd-src/sys/compat/sys/ |
| H A D | statvfs.h | 78 statvfs_to_statvfs90(const struct statvfs *s, struct statvfs90 *s90) in statvfs_to_statvfs90() 145 int __statvfs90(const char *__restrict, struct statvfs *__restrict); 146 int __statvfs190(const char *__restrict, struct statvfs *__restrict, int); 148 int __fstatvfs90(int, struct statvfs *); 149 int __fstatvfs190(int, struct statvfs *, int); 151 int __fhstatvfs90(const void *, size_t, struct statvfs *); 152 int __fhstatvfs190(const void *, size_t, struct statvfs *, int); 154 int __getvfsstat90(struct statvfs *, size_t, int); 156 int __getmntinfo90(struct statvfs **, int);
|
| /netbsd-src/lib/libc/compat/sys/ |
| H A D | compat_statvfs.c | 46 __warn_references(statvfs, 59 __strong_alias(statvfs, __compat_statvfs) in __strong_alias() argument 68 struct statvfs sb; in __strong_alias() 78 struct statvfs sb; in __compat_statvfs1() 88 struct statvfs sb; in __compat_fstatvfs() 98 struct statvfs sb; in __compat_fstatvfs1() 109 struct statvfs *sb = calloc(count, sizeof(*sb)); in __compat_getvfsstat()
|
| H A D | compat_statfs.c | 69 struct statvfs nst; in __strong_alias() 81 struct statvfs nst; in __compat_fstatfs() 93 struct statvfs nst; in __compat_fhstatfs() 105 struct statvfs *nst; in __compat_getfsstat()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/sys/ |
| H A D | statvfs.d | 2 D header file correspoding to sys/statvfs.h. 10 module core.sys.posix.sys.statvfs; 78 alias statvfs64 statvfs; in version() 85 int statvfs (const char * file, statvfs_t* buf); in version() 134 int statvfs (const char * file, statvfs_t* buf); 157 int statvfs (const char* file, statvfs_t* buf); 183 int statvfs(const char*, statvfs_t*); 188 pragma(mangle, "statvfs@FBSD_1.0") int statvfs(const char*, statvfs_t*); 214 int statvfs (const char * file, statvfs_t* buf);
|
| /netbsd-src/usr.sbin/autofs/ |
| H A D | automount.c | 51 unmount_by_statfs(const struct statvfs *sb, bool force) in unmount_by_statfs() 67 static const struct statvfs * 68 find_statfs(const struct statvfs *mntbuf, int nitems, const char *mountpoint) in find_statfs() 104 const char *prefix, const struct statvfs *mntbuf, int nitems) in mount_if_not_already() 106 const struct statvfs *sb; in mount_if_not_already() 145 struct statvfs *mntbuf; in mount_unmount() 206 struct statvfs *mntbuf; in flush_caches() 229 struct statvfs *mntbuf; in unmount_automounted()
|
| /netbsd-src/tests/fs/tmpfs/ |
| H A D | t_sizes.sh | 41 eval $($(atf_get_srcdir)/h_tools statvfs .) 58 eval $($(atf_get_srcdir)/h_tools statvfs . | sed -e 's|^f_|cf_|') 63 eval $($(atf_get_srcdir)/h_tools statvfs .) 70 eval $($(atf_get_srcdir)/h_tools statvfs .) 89 eval $($(atf_get_srcdir)/h_tools statvfs .) 94 eval $($(atf_get_srcdir)/h_tools statvfs .)
|
| /netbsd-src/lib/libc/sys/ |
| H A D | statvfs.c | 40 statvfs(const char *file, struct statvfs *st) in statvfs() function 46 fstatvfs(int f, struct statvfs *st) in fstatvfs() 52 fhstatvfs(const void *fh, size_t fh_size, struct statvfs *st) in fhstatvfs()
|
| /netbsd-src/lib/libc/gen/ |
| H A D | getmntinfo.c | 54 getmntinfo(struct statvfs **mntbufp, int flags) in getmntinfo() 56 static struct statvfs *mntbuf; in getmntinfo() 68 while (bufsize <= mntsize * sizeof(struct statvfs)) { in getmntinfo() 71 bufsize = (mntsize + 1) * sizeof(struct statvfs); in getmntinfo()
|
| /netbsd-src/tests/fs/nfs/nfsservice/ |
| H A D | getmntinfo.c | 60 struct statvfs **mntbufp; in getmntinfo() 63 static struct statvfs *mntbuf; 75 while (bufsize <= mntsize * sizeof(struct statvfs)) { 78 bufsize = (mntsize + 1) * sizeof(struct statvfs);
|
| /netbsd-src/sys/compat/netbsd32/ |
| H A D | netbsd32_compat_20.c | 54 static inline void compat_20_netbsd32_from_statvfs(struct statvfs *, 58 compat_20_netbsd32_from_statvfs(struct statvfs *sbp, struct netbsd32_statfs *sb32p) in compat_20_netbsd32_from_statvfs() 97 struct statvfs *sb; in compat_20_netbsd32_getfsstat() 160 struct statvfs *sb; in compat_20_netbsd32_statfs() 190 struct statvfs *sb; in compat_20_netbsd32_fstatfs() 219 NETBSD32TOP_UAP(buf, struct statvfs); in compat_20_netbsd32_fhstatfs()
|
| H A D | netbsd32_compat_90.c | 86 struct statvfs *sb; in compat_90_netbsd32_statvfs1() 107 struct statvfs *sb; in compat_90_netbsd32_fstatvfs1() 129 struct statvfs *sb; in compat_90_netbsd32_fhstatvfs1()
|
| /netbsd-src/sys/compat/linux/common/ |
| H A D | linux_statfs.h | 36 static void __unused bsd_to_linux_statfs(const struct statvfs *, 38 static void __unused bsd_to_linux_statfs64(const struct statvfs *, 47 bsd_to_linux_statfs(const struct statvfs *bsp, struct linux_statfs *lsp) in bsd_to_linux_statfs() 96 bsd_to_linux_statfs64(const struct statvfs *bsp, struct linux_statfs64 *lsp) in bsd_to_linux_statfs64()
|
| /netbsd-src/sbin/mount/ |
| H A D | mount.c | 77 static struct statvfs * 79 static int getmntargs(struct statvfs *, char *, size_t); 84 static void prmount(struct statvfs *); 109 struct statvfs *mntbuf; in main() 369 struct statvfs *sfp, sf; in mountfs() 445 if (vfstype == ffs_fstype && statvfs(name, &sf) != -1) in mountfs() 559 if (statvfs(name, &sf) == -1) { in mountfs() 573 prmount(struct statvfs *sfp) in prmount() 626 getmntargs(struct statvfs *sfs, char *buf, size_t buflen) in getmntargs() 641 static struct statvfs * [all …]
|
| /netbsd-src/external/gpl3/gcc.old/dist/libsanitizer/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); \
|
| /netbsd-src/external/gpl3/gcc/dist/libsanitizer/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); \
|
| /netbsd-src/external/cddl/osnet/lib/libzfs/ |
| H A D | mnttab.c | 99 statvfs2mnttab(struct statvfs *sfs, struct mnttab *mp) in statvfs2mnttab() 134 static struct statvfs *gsfs; 140 struct statvfs *sfs; in statvfs_init() 200 struct statvfs *sfs; in getmntent()
|
| /netbsd-src/sys/compat/common/ |
| H A D | vfs_syscalls_90.c | 96 struct statvfs *sb = STATVFSBUF_GET(); in compat_90_sys_statvfs1() 117 struct statvfs *sb = STATVFSBUF_GET(); in compat_90_sys_fstatvfs1() 139 struct statvfs *sb = STATVFSBUF_GET(); in compat_90_sys_fhstatvfs1()
|
| H A D | vfs_syscalls_20.c | 90 struct statvfs *sbuf; in compat_20_sys_statfs() 125 struct statvfs *sbuf; in compat_20_sys_fstatfs() 166 struct statvfs *sbuf; in compat_20_sys_fhstatfs()
|
| /netbsd-src/sys/compat/ultrix/ |
| H A D | ultrix_pathname.c | 79 static int ultrixstatfs(struct statvfs *, void *); 212 ultrixstatfs(struct statvfs *sp, void *buf) in ultrixstatfs() 233 struct statvfs *sp; in ultrix_sys_statfs() 261 struct statvfs *sp; in ultrix_sys_fstatfs()
|
| /netbsd-src/external/cddl/osnet/include/ |
| H A D | mnttab.h | 64 struct statvfs; 65 void statvfs2mnttab(struct statvfs *sfs, struct mnttab *mp);
|
| /netbsd-src/external/ibm-public/postfix/dist/src/util/ |
| H A D | fsspace.c | 92 struct statvfs fsbuf; in fsspace() 94 if (statvfs(path, &fsbuf) < 0) in fsspace()
|
| /netbsd-src/sbin/fsck_ffs/ |
| H A D | main.c | 542 struct statvfs stfs_buf; in checkfilesys() 546 if (statvfs("/", &stfs_buf) == 0) in checkfilesys() 574 struct statvfs stfs_buf; in checkfilesys() 579 if (statvfs("/", &stfs_buf) == 0) { in checkfilesys()
|