Home
last modified time | relevance | path

Searched refs:statvfs (Results 1 – 25 of 36) sorted by relevance

12

/dragonfly/sys/sys/
H A Dstatvfs.h66 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 Dkern_syscall.h64 struct statvfs;
143 int kern_fstatvfs(int fd, struct statvfs *buf);
165 int kern_statvfs(struct nlookupdata *nd, struct statvfs *buf);
H A Dmount.h68 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 Dsysproto.h1187 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 Dsysunion.h274 struct statvfs_args statvfs; member
H A Dsyscall.mk268 statvfs.o \
/dragonfly/lib/libc/gen/
H A Dgetmntvinfo.c43 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 Ddf.c84 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 Dresources.c61 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 Ddirfs_vfsops.c309 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 Dcommon.c207 struct statvfs vfs; in is_root_local()
209 if (statvfs("/", &vfs) == -1) in is_root_local()
/dragonfly/lib/libc/include/
H A Dlibc_private.h88 struct statvfs;
/dragonfly/contrib/libarchive/libarchive/
H A Darchive_read_disk_posix.c1524 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 DMakefile.inc99 stat.2 statfs.2 statvfs.2 swapon.2 \
224 MLINKS+=statvfs.2 fstatvfs.2
H A DSymbol.map268 statvfs;
/dragonfly/sys/kern/
H A Dvfs_vfsops.c190 vfs_statvfs(struct mount *mp, struct statvfs *sbp, struct ucred *cred) in vfs_statvfs()
H A Dvfs_syscalls.c1533 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 Dntfs_vfsops.c74 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 Dautofs_vfsops.c296 autofs_statvfs(struct mount *mp, struct statvfs *sbp, struct ucred *cred) in autofs_statvfs()
/dragonfly/crypto/openssh/
H A DPROTOCOL432 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 Dsftp-server.c656 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 Dhammer_vfsops.c241 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 Dfuse_vfsops.c417 fuse_statvfs(struct mount *mp, struct statvfs *sbp, struct ucred *cred) in fuse_statvfs()
/dragonfly/usr.sbin/makefs/hammer2/
H A Dhammer2_compat.h156 struct statvfs mnt_vstat;
H A Dhammer2_vfsops.c214 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()

12