/src/lib/libc/sys/ |
statvfs.c | 1 /* $NetBSD: statvfs.c,v 1.7 2019/09/22 22:59:38 christos Exp $ */ 34 __RCSID("$NetBSD: statvfs.c,v 1.7 2019/09/22 22:59:38 christos Exp $"); 37 #include <sys/statvfs.h> 40 statvfs(const char *file, struct statvfs *st) function in typeref:typename:int 46 fstatvfs(int f, struct statvfs *st) 52 fhstatvfs(const void *fh, size_t fh_size, struct statvfs *st)
|
/src/lib/libc/compat/sys/ |
compat_fhstatvfs.c | 41 #include <sys/statvfs.h> 43 #include <compat/sys/statvfs.h> 46 "warning: reference to compatibility fhstatvfs(); include <sys/statvfs.h> to generate correct reference") 54 struct statvfs sb;
|
compat_fhstatvfs1.c | 41 #include <sys/statvfs.h> 43 #include <compat/sys/statvfs.h> 46 "warning: reference to compatibility fhstatvfs1(); include <sys/statvfs.h> to generate correct reference") 55 struct statvfs sb;
|
compat_statvfs.c | 42 #include <sys/statvfs.h> 44 #include <compat/sys/statvfs.h> 46 __warn_references(statvfs, 47 "warning: reference to compatibility statvfs(); include <sys/statvfs.h> to generate correct reference") 49 "warning: reference to compatibility statvfs1(); include <sys/statvfs.h> to generate correct reference") 52 "warning: reference to compatibility fstatvfs(); include <sys/statvfs.h> to generate correct reference") 54 "warning: reference to compatibility fstatvfs1(); include <sys/statvfs.h> to generate correct reference") 57 "warning: reference to compatibility getvfsstat(); include <sys/statvfs.h> to generate correct reference") 59 __strong_alias(statvfs, __compat_statvfs [all...] |
compat___fhstatvfs140.c | 41 #include <sys/statvfs.h> 43 #include <compat/sys/statvfs.h> 46 "warning: reference to compatibility __fhstatvfs140(); include <sys/statvfs.h> to generate correct reference") 54 struct statvfs sb;
|
compat___fhstatvfs40.c | 41 #include <sys/statvfs.h> 43 #include <compat/sys/statvfs.h> 46 "warning: reference to compatibility __fhstatvfs40(); include <sys/statvfs.h> to generate correct reference") 53 struct statvfs sb;
|
compat_statfs.c | 45 #include <compat/sys/statvfs.h> 50 "warning: reference to obsolete statfs(); use statvfs()") 69 struct statvfs nst; 81 struct statvfs nst; 93 struct statvfs nst; 105 struct statvfs *nst;
|
/src/sys/sys/ |
statvfs.h | 1 /* $NetBSD: statvfs.h,v 1.21 2020/07/03 19:37:27 jdolecek Exp $ */ 46 typedef __fsblkcnt_t fsblkcnt_t; /* fs block count (statvfs) */ 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 [all...] |
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 *);
|
/src/sbin/fsck_lfs/ |
kernelops.h | 5 #include <sys/statvfs.h> 12 int (*ko_statvfs)(const char *, struct statvfs *, int);
|
/src/lib/libc/gen/ |
getmntinfo.c | 54 getmntinfo(struct statvfs **mntbufp, int flags) 56 static struct statvfs *mntbuf; 68 while (bufsize <= mntsize * sizeof(struct statvfs)) { 71 bufsize = (mntsize + 1) * sizeof(struct statvfs);
|
/src/tests/bin/df/ |
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 tmpl = [all...] |
/src/lib/libc/compat/gen/ |
compat_opendir.c | 10 #include <compat/sys/statvfs.h>
|
/src/tests/fs/nfs/nfsservice/ |
getmntinfo.c | 60 struct statvfs **mntbufp; 63 static struct statvfs *mntbuf; 75 while (bufsize <= mntsize * sizeof(struct statvfs)) { 78 bufsize = (mntsize + 1) * sizeof(struct statvfs);
|
/src/sys/compat/sys/ |
statvfs.h | 1 /* $NetBSD: statvfs.h,v 1.5 2024/01/19 18:39:15 christos Exp $ */ 35 #include <sys/statvfs.h> 78 statvfs_to_statvfs90(const struct statvfs *s, struct statvfs90 *s90) 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) [all...] |
/src/usr.sbin/fssconfig/ |
prog_ops.h | 34 #include <sys/statvfs.h> 45 int (*op_statvfs1)(const char *, struct statvfs *, int);
|
fssconfig_hostops.c | 37 #include <sys/statvfs.h>
|
fssconfig_rumpops.c | 37 #include <sys/statvfs.h>
|
/src/sys/ufs/mfs/ |
mfs_extern.h | 45 struct statvfs;
|
/src/tests/fs/tmpfs/ |
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" 42 eval $($(atf_get_srcdir)/h_tools statvfs .)
|
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 .)
|
/src/sys/coda/ |
coda_vfsops.h | 54 int coda_nb_statvfs(struct mount *, struct statvfs *);
|
/src/sys/compat/common/ |
vfs_syscalls_90.c | 60 #include <compat/sys/statvfs.h> 96 struct statvfs *sb = STATVFSBUF_GET(); 117 struct statvfs *sb = STATVFSBUF_GET(); 139 struct statvfs *sb = STATVFSBUF_GET();
|
/src/sys/compat/linux/common/ |
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 *, 42 * Convert NetBSD statvfs structure to Linux statfs structure. 44 * to glibc statvfs() bug (see below). 47 bsd_to_linux_statfs(const struct statvfs *bsp, struct linux_statfs *lsp) 67 * statvfs. Linux statfs uses f_bsize as the block size 69 * However, glibc 2.3.3 statvfs() wrapper fails to adjust the block 90 * Convert NetBSD statvfs structure to Linux statfs64 structure. 93 * statvfs() doesn't use statfs64(). 96 bsd_to_linux_statfs64(const struct statvfs *bsp, struct linux_statfs64 *lsp [all...] |
/src/sys/compat/netbsd32/ |
netbsd32_compat_90.c | 39 #include <sys/statvfs.h> 86 struct statvfs *sb; 107 struct statvfs *sb; 129 struct statvfs *sb;
|