/dragonfly/sys/sys/ |
H A D | statvfs.h | 66 struct statvfs { struct 109 int fstatvfs(int, struct statvfs *); argument 110 int statvfs(const char * __restrict, struct statvfs * __restrict); 113 int fhstatvfs(const struct fhandle *, struct statvfs * __restrict); 114 int getvfsstat(struct statfs * __restrict, struct statvfs * __restrict, long, int);
|
H A D | kern_syscall.h | 64 struct statvfs; 143 int kern_fstatvfs(int fd, struct statvfs *buf); 165 int kern_statvfs(struct nlookupdata *nd, struct statvfs *buf);
|
H A D | mount.h | 68 struct statvfs; 231 struct statvfs mnt_vstat; /* extended stats */ 558 typedef int vfs_statvfs_t(struct mount *mp, struct statvfs *sbp, 588 int vfs_statvfs(struct mount *mp, struct statvfs *sbp, struct ucred *cred); 818 int getmntvinfo (struct statfs **, struct statvfs **, int);
|
H A D | sysproto.h | 1187 struct statvfs * buf; char buf_[PAD_(struct statvfs *)]; 1191 struct statvfs * buf; char buf_[PAD_(struct statvfs *)]; 1195 struct statvfs * buf; char buf_[PAD_(struct statvfs *)]; 1199 struct statvfs * vbuf; char vbuf_[PAD_(struct statvfs *)];
|
H A D | sysunion.h | 274 struct statvfs_args statvfs; member
|
H A D | syscall.mk | 268 statvfs.o \
|
/dragonfly/lib/libc/gen/ |
H A D | getmntvinfo.c | 43 getmntvinfo(struct statfs **mntbufp, struct statvfs **mntvbufp, int flags) in getmntvinfo() 46 static struct statvfs *mntvbuf; in getmntvinfo() 55 while (vbufsize <= mntsize * (int)sizeof(struct statvfs)) { in getmntvinfo() 59 vbufsize = (mntsize + 1) * sizeof(struct statvfs); in getmntvinfo() 62 if ((mntvbuf = (struct statvfs *)malloc(vbufsize)) == NULL) in getmntvinfo()
|
/dragonfly/bin/df/ |
H A D | df.c | 84 static void prthuman(struct statvfs *, int64_t); 86 static void prtstat(struct statfs *, struct statvfs *, struct maxwidths *); 87 static long regetmntinfo(struct statfs **, struct statvfs **, long, char **); 105 struct statvfs statvfsbuf, *mntvbuf; in main() 224 statvfs(mntpt, &statvfsbuf) == 0) { in main() 247 if (statvfs(mntpt, &statvfsbuf) < 0) { in main() 277 struct statvfs *mntvbuf; in getmntpt() 297 struct statvfs *mntvbuf; in regetmntinfo() 309 statvfs(mntbuf[i].f_mntonname,&mntvbuf[j]); in regetmntinfo() 320 prthuman(struct statvfs *vsfsp, int64_t used) in prthuman() [all …]
|
/dragonfly/test/stress/stress2/lib/ |
H A D | resources.c | 61 struct statvfs buf; in inodes() 70 if (statvfs(path, &buf) < 0) in inodes() 85 struct statvfs buf; in df() 93 if (statvfs(path, &buf) < 0) in df()
|
/dragonfly/sys/vfs/dirfs/ |
H A D | dirfs_vfsops.c | 309 dirfs_statvfs(struct mount *mp, struct statvfs *sbp, struct ucred *cred) in dirfs_statvfs() 312 struct statvfs st; in dirfs_statvfs() 316 if ((statvfs(dmp->dm_path, &st)) == -1) in dirfs_statvfs()
|
/dragonfly/contrib/dhcpcd/src/ |
H A D | common.c | 207 struct statvfs vfs; in is_root_local() 209 if (statvfs("/", &vfs) == -1) in is_root_local()
|
/dragonfly/lib/libc/include/ |
H A D | libc_private.h | 88 struct statvfs;
|
/dragonfly/contrib/libarchive/libarchive/ |
H A D | archive_read_disk_posix.c | 1524 set_statvfs_transfer_size(struct filesystem *fs, const struct statvfs *sfs) in set_statvfs_transfer_size() 1687 struct statvfs svfs; in setup_current_filesystem() 1696 r = statvfs(tree_current_access_path(t), &svfs); in setup_current_filesystem() 1705 r = statvfs(".", &svfs); in setup_current_filesystem() 1758 struct statvfs svfs; in setup_current_filesystem() 1789 vr = statvfs(tree_current_access_path(t), &svfs); in setup_current_filesystem() 1809 vr = statvfs(".", &svfs); in setup_current_filesystem() 1879 struct statvfs svfs; in setup_current_filesystem() 1907 r = statvfs(tree_current_access_path(t), &svfs); in setup_current_filesystem() 1921 r = statvfs(".", &svfs); in setup_current_filesystem()
|
/dragonfly/lib/libc/sys/ |
H A D | Makefile.inc | 99 stat.2 statfs.2 statvfs.2 swapon.2 \ 224 MLINKS+=statvfs.2 fstatvfs.2
|
H A D | Symbol.map | 268 statvfs;
|
/dragonfly/sys/kern/ |
H A D | vfs_vfsops.c | 190 vfs_statvfs(struct mount *mp, struct statvfs *sbp, struct ucred *cred) in vfs_statvfs()
|
H A D | vfs_syscalls.c | 1533 kern_statvfs(struct nlookupdata *nd, struct statvfs *buf) in kern_statvfs() 1536 struct statvfs *sp; in kern_statvfs() 1564 struct statvfs buf; in sys_statvfs() 1577 kern_fstatvfs(int fd, struct statvfs *buf) in kern_fstatvfs() 1582 struct statvfs *sp; in kern_fstatvfs() 1622 struct statvfs buf; in sys_fstatvfs() 1731 struct statvfs *vsfsp; 1749 info.maxcount = uap->vbufsize / sizeof(struct statvfs); in sys_getvfsstat() 1769 struct statvfs *vsp; in getvfsstat_callback() 5103 struct statvfs *sp; in sys_fhstatvfs()
|
/dragonfly/sys/vfs/ntfs/ |
H A D | ntfs_vfsops.c | 74 static int ntfs_statvfs (struct mount *, struct statvfs *, 633 ntfs_statvfs(struct mount *mp, struct statvfs *sbp, struct ucred *cred) in ntfs_statvfs()
|
/dragonfly/sys/vfs/autofs/ |
H A D | autofs_vfsops.c | 296 autofs_statvfs(struct mount *mp, struct statvfs *sbp, struct ucred *cred) in autofs_statvfs()
|
/dragonfly/crypto/openssh/ |
H A D | PROTOCOL | 432 4.4. sftp: Extension requests "statvfs@openssh.com" and 435 These requests correspond to the statvfs and fstatvfs POSIX system 436 interfaces. The "statvfs@openssh.com" request operates on an explicit 440 string "statvfs@openssh.com" 470 Both the "statvfs@openssh.com" and "fstatvfs@openssh.com" extensions are
|
H A D | sftp-server.c | 656 send_statvfs(u_int32_t id, struct statvfs *st) in send_statvfs() 1395 struct statvfs st; in process_extended_statvfs() 1403 if (statvfs(path, &st) != 0) in process_extended_statvfs() 1414 struct statvfs st; in process_extended_fstatvfs()
|
/dragonfly/sys/vfs/hammer/ |
H A D | hammer_vfsops.c | 241 static int hammer_vfs_statvfs(struct mount *mp, struct statvfs *sbp, 1017 hammer_vfs_statvfs(struct mount *mp, struct statvfs *sbp, struct ucred *cred) in hammer_vfs_statvfs()
|
/dragonfly/sys/vfs/fuse/ |
H A D | fuse_vfsops.c | 417 fuse_statvfs(struct mount *mp, struct statvfs *sbp, struct ucred *cred) in fuse_statvfs()
|
/dragonfly/usr.sbin/makefs/hammer2/ |
H A D | hammer2_compat.h | 156 struct statvfs mnt_vstat;
|
H A D | hammer2_vfsops.c | 214 static int hammer2_vfs_statvfs(struct mount *mp, struct statvfs *sbp, 2043 hammer2_vfs_statvfs(struct mount *mp, struct statvfs *sbp, struct ucred *cred) in hammer2_vfs_statvfs() 2048 struct statvfs tmp; in hammer2_vfs_statvfs()
|