/minix/sys/sys/ |
H A D | statvfs.h | 66 struct statvfs { struct 151 void copy_statvfs_info(struct statvfs *, const struct mount *); 155 int statvfs(const char *__restrict, struct statvfs *__restrict); 156 int fstatvfs(int, struct statvfs *); 157 int getvfsstat(struct statvfs *, size_t, int); 159 int getmntinfo(struct statvfs **, int) __RENAME(__getmntinfo13); 163 int fhstatvfs(const void *, size_t, struct statvfs *) 168 int fstatvfs1(int, struct statvfs *, int); 170 int fhstatvfs1(const void *, size_t, struct statvfs *, int) 179 #define STATVFSBUF_GET() kmem_alloc(sizeof(struct statvfs), KM_SLEEP) [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 *);
|
/minix/lib/libc/sys/ |
H A D | statvfs.c | 41 __weak_alias(statvfs,_statvfs) in __weak_alias() argument 46 statvfs(const char *file, struct statvfs *st) in __weak_alias() 52 fstatvfs(int f, struct statvfs *st) in fstatvfs() 57 int __fhstatvfs140(const void *fhp, size_t fh_size, struct statvfs *buf, 59 int __fhstatvfs40(const void *fh, size_t fh_size, struct statvfs *st); 62 __fhstatvfs40(const void *fh, size_t fh_size, struct statvfs *st) in __fhstatvfs40()
|
H A D | Makefile.inc | 14 sigwait.c sigwaitinfo.c statvfs.c swapon.c semctl.c 284 socketpair.2 stat.2 statvfs.2 swapctl.2 swapon.3 symlink.2 \ 368 MLINKS+=statvfs.2 fstatvfs.2 369 MLINKS+=statvfs.2 statvfs1.2 370 MLINKS+=statvfs.2 fstatvfs1.2 381 MAN+= statvfs.2 382 MLINKS+=statvfs.2 fstatvfs.2 383 MLINKS+=statvfs.2 statvfs1.2 384 MLINKS+=statvfs.2 fstatvfs1.2
|
/minix/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() 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() 185 static const struct statvfs tmpl = { in setup_pr23600() [all …]
|
/minix/minix/lib/libc/sys/ |
H A D | statvfs.c | 10 __weak_alias(statvfs, _statvfs) in __weak_alias() argument 13 int statvfs1(const char *name, struct statvfs *buffer, int flags) in __weak_alias() 25 int statvfs(const char *name, struct statvfs *buffer) in statvfs() function
|
H A D | fstatvfs.c | 12 int fstatvfs1(int fd, struct statvfs *buffer, int flags) in __weak_alias() 23 int fstatvfs(int fd, struct statvfs *buffer) in fstatvfs()
|
H A D | fstatfs.c | 11 struct statvfs svbuffer; in fstatfs()
|
H A D | getvfsstat.c | 8 int getvfsstat(struct statvfs *buf, size_t bufsize, int flags) in getvfsstat()
|
/minix/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()
|
/minix/minix/tests/ |
H A D | test55.c | 16 int do_getvfsstat(struct statvfs *buf, size_t bufsz, int flags, int count); 17 void compare_statvfs(struct statvfs *st1, struct statvfs *st2); 47 struct statvfs stats; in test55a() 62 if (statvfs(".", &stats) < 0) e(1); in test55a() 78 if (statvfs(".", &stats) < 0) e(2); in test55a() 108 int do_getvfsstat(struct statvfs *buf, size_t bufsz, int flags, int count) in do_getvfsstat() 136 void compare_statvfs(struct statvfs *st1, struct statvfs *st2) in compare_statvfs() 172 static struct statvfs buf[FSMAX]; in test55b() 173 struct statvfs rootbuf; in test55b()
|
H A D | common.c | 65 struct statvfs stvfs; in does_fs_truncate() 70 if (statvfs(cwd, &stvfs) != 0) e(7778); /* Get FS information */ in does_fs_truncate() 82 struct statvfs stvfs; in name_max() 84 if (statvfs(path, &stvfs) != 0) e(7779); in name_max()
|
/minix/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);
|
/minix/lib/libc/compat/sys/ |
H A D | compat_statfs.c | 69 static void vfs2fs(struct statfs12 *, const struct statvfs *); 96 vfs2fs(struct statfs12 *bfs, const struct statvfs *fs) in vfs2fs() 135 struct statvfs nst; in __compat_statfs() 138 if ((ret = statvfs(file, &nst)) == -1) in __compat_statfs() 147 struct statvfs nst; in __compat_fstatfs() 156 int __fhstatvfs140(const void *fhp, size_t fh_size, struct statvfs *buf, 162 struct statvfs nst; in __compat_fhstatfs() 174 struct statvfs *nst; in __compat_getfsstat()
|
H A D | compat_fhstatvfs1.c | 47 int fhstatvfs1(const struct compat_30_fhandle *fhp, struct statvfs *buf, 49 int __fhstatvfs140(const void *fhp, size_t fh_size, struct statvfs *buf, 56 fhstatvfs1(const struct compat_30_fhandle *fhp, struct statvfs *buf, int flags) in fhstatvfs1()
|
H A D | compat_fhstatvfs.c | 51 int _fhstatvfs(const struct compat_30_fhandle *fhp, struct statvfs *buf); 52 int __fhstatvfs140(const void *fhp, size_t fh_size, struct statvfs *buf, 59 _fhstatvfs(const struct compat_30_fhandle *fhp, struct statvfs *buf) in _fhstatvfs()
|
/minix/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 .)
|
H A D | t_statvfs.sh | 42 eval $($(atf_get_srcdir)/h_tools statvfs .)
|
/minix/bin/df/ |
H A D | df.c | 69 static void prtstat(struct statvfs *, int); 72 static size_t regetmntinfo(struct statvfs **, size_t); 75 static void prthuman(struct statvfs *, int64_t, int64_t); 85 struct statvfs *mntbuf; in main() 183 if (!statvfs(mntpt, &mntbuf[mntsize])) in main() 217 struct statvfs *mntbuf; in getmntpt() 289 regetmntinfo(struct statvfs **mntbufp, size_t mntsize) in regetmntinfo() 292 struct statvfs *mntbuf; in regetmntinfo() 310 struct statvfs layerbuf = mntbuf[i]; in regetmntinfo() 311 (void)statvfs(mntbuf[i].f_mntonname, &mntbuf[j]); in regetmntinfo() [all …]
|
/minix/lib/librefuse/ |
H A D | TODO | 14 statvfs available natively 18 statvfs
|
/minix/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()
|
/minix/minix/servers/vfs/ |
H A D | stadir.c | 197 int update_statvfs(struct vmnt *vmp, struct statvfs *buf) in update_statvfs() 242 struct statvfs buf; in fill_statvfs() 376 if (bufsize < sizeof(struct statvfs)) in do_getvfsstat() 397 buf += sizeof(struct statvfs); in do_getvfsstat() 398 bufsize -= sizeof(struct statvfs); in do_getvfsstat()
|
/minix/minix/lib/libsffs/ |
H A D | proto.h | 43 int do_statvfs(struct statvfs *statvfs);
|
/minix/minix/man/man5/ |
H A D | Makefile | 3 passwd.5 statvfs.5 \
|
/minix/sys/ufs/mfs/ |
H A D | mfs_extern.h | 45 struct statvfs;
|