/freebsd-11-stable/usr.sbin/extattrctl/ |
H A D | extattrctl.c | 76 struct statfs buf; 79 error = statfs(path, &buf); 81 perror("statfs");
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_platform_limits_linux.cpp | 54 #include <sys/statfs.h>
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-app-init-linux.c | 78 #include <sys/statfs.h> 177 struct statfs f; 180 if (statfs (defaultdir, &f) == 0)
|
/freebsd-11-stable/sys/compat/linux/ |
H A D | linux_stats.c | 357 bsd_to_linux_statfs(struct statfs *bsd_statfs, struct l_statfs *linux_statfs) 393 struct statfs *bsd_statfs; 400 if (ldebug(statfs)) 401 printf(ARGS(statfs, "%s, *"), path); 403 bsd_statfs = malloc(sizeof(struct statfs), M_STATFS, M_WAITOK); 416 bsd_to_linux_statfs64(struct statfs *bsd_statfs, struct l_statfs64 *linux_statfs) 438 struct statfs *bsd_statfs; 451 bsd_statfs = malloc(sizeof(struct statfs), M_STATFS, M_WAITOK); 466 struct statfs *bsd_statfs; 476 bsd_statfs = malloc(sizeof(struct statfs), M_STATF [all...] |
/freebsd-11-stable/sbin/mount/ |
H A D | mount.c | 78 struct statfs *getmntpt(const char *); 80 int ismounted(struct fstab *, struct statfs *, int); 87 void prmount(struct statfs *); 88 void putfsent(struct statfs *); 258 struct statfs *mntbuf; 486 ismounted(struct fstab *fs, struct statfs *mntbuf, int mntsize) 568 struct statfs sf; 644 if (statfs(name, &sf) < 0) { 645 warn("statfs %s", name); 658 prmount(struct statfs *sf [all...] |
/freebsd-11-stable/sys/sys/ |
H A D | mount.h | 46 * NOTE: When changing statfs structure, mount structure, MNT_* flags or 70 struct statfs { struct 100 /* XXX statfs.2 is out of date with read counter changes here. */ 177 struct statfs mnt_stat; /* cache of filesystem stats */ 287 * Mask of flags that are visible to statfs(). 616 typedef int vfs_statfs_t(struct mount *mp, struct statfs *sbp); 846 void statfs_scale_blocks(struct statfs *sf, long max_size); 939 int fhstatfs(const struct fhandle *, struct statfs *); 940 int fstatfs(int, struct statfs *); 942 int getfsstat(struct statfs *, lon [all...] |
/freebsd-11-stable/contrib/gcc/ |
H A D | sys-types.h | 19 struct statfs;
|
/freebsd-11-stable/sys/kern/ |
H A D | vfs_syscalls.c | 199 * Used by statfs conversion routines to scale the block size up if 205 statfs_scale_blocks(struct statfs *sf, long max_size) 240 kern_do_statfs(struct thread *td, struct mount *mp, struct statfs *buf) 242 struct statfs *sp; 282 struct statfs *buf; 288 struct statfs *sfp; 291 sfp = malloc(sizeof(struct statfs), M_STATFS, M_WAITOK); 294 error = copyout(sfp, uap->buf, sizeof(struct statfs)); 301 struct statfs *buf) 325 struct statfs *bu [all...] |
/freebsd-11-stable/lib/libc/gen/ |
H A D | fstab.c | 93 struct statfs sf; 97 if (statfs("/", &sf) != 0)
|
/freebsd-11-stable/tools/regression/tmpfs/ |
H A D | h_tools.c | 234 struct statfs buf; 241 error = statfs(argv[1], &buf);
|
/freebsd-11-stable/sys/fs/smbfs/ |
H A D | smbfs_subr.h | 57 struct statfs; 129 int smbfs_smb_statfs(struct smb_share *ssp, struct statfs *sbp,
|
/freebsd-11-stable/usr.sbin/lpr/lpd/ |
H A D | recvjob.c | 329 struct statfs sfb; 331 if (statfs(".", &sfb) < 0) { 332 syslog(LOG_ERR, "%s: %m", "statfs(\".\")");
|
/freebsd-11-stable/contrib/hyperv/tools/ |
H A D | hv_vss_daemon.c | 52 struct statfs *mntbuf, *statfsp; 80 struct statfs *mntbuf, *statfsp;
|
/freebsd-11-stable/sys/fs/pseudofs/ |
H A D | pseudofs.h | 44 struct statfs; 248 int pfs_statfs (struct mount *mp, struct statfs *sbp);
|
/freebsd-11-stable/usr.sbin/rpc.umntall/ |
H A D | rpc.umntall.c | 230 struct statfs *mntbuf; 241 bufsize = (mntsize + 1) * sizeof(struct statfs);
|
/freebsd-11-stable/usr.bin/quota/ |
H A D | quota.c | 97 static int getnfsquota(struct statfs *fst, struct quotause *qup, long id, 490 struct statfs *fst; 492 struct statfs sfb; 496 if (filename != NULL && statfs(filename, &sfb) != 0) 497 err(1, "cannot statfs %s", filename); 567 getnfsquota(struct statfs *fst, struct quotause *qup, long id, int quotatype)
|
/freebsd-11-stable/usr.sbin/mountd/ |
H A D | mountd.c | 208 static int do_export_mount(struct exportlist *, struct statfs *); 210 struct xucred *, char *, int, struct statfs *, int, int *); 229 static void delete_export(struct iovec *, int, struct statfs *, char *); 1082 struct statfs fsb; 1143 statfs(dirpath, &fsb) < 0) { 1504 struct statfs fsb; 1581 statfs(cp, &fsb) >= 0) { 1649 "symbolic link in export path or statfs failed"); 1829 struct statfs *mntbufp; 2057 struct statfs f [all...] |
/freebsd-11-stable/sys/fs/unionfs/ |
H A D | union_vfsops.c | 389 unionfs_statfs(struct mount *mp, struct statfs *sbp) 393 struct statfs *mstat; 401 mstat = malloc(sizeof(struct statfs), M_STATFS, M_WAITOK | M_ZERO);
|
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hostres/ |
H A D | hostres_storage_tbl.c | 119 static struct statfs *fs_buf; 459 fs_buf = reallocf(fs_buf, fs_buf_count * sizeof(struct statfs)); 468 fs_buf_count * sizeof(struct statfs), MNT_NOWAIT)) < 0) {
|
/freebsd-11-stable/contrib/unbound/compat/ |
H A D | getentropy_linux.c | 400 struct statfs stfs; 463 HX(statfs(".", &stfs) == -1, stfs); 467 HX(statfs("/", &stfs) == -1, stfs);
|
H A D | getentropy_osx.c | 300 struct statfs stfs; 359 HX(statfs(".", &stfs) == -1, stfs); 363 HX(statfs("/", &stfs) == -1, stfs);
|
/freebsd-11-stable/sys/fs/nullfs/ |
H A D | null_vfsops.c | 311 struct statfs *sbp; 314 struct statfs *mstat; 320 mstat = malloc(sizeof(struct statfs), M_STATFS, M_WAITOK | M_ZERO);
|
/freebsd-11-stable/sys/compat/svr4/ |
H A D | svr4_misc.c | 112 static void bsd_statfs_to_svr4_statvfs(const struct statfs *, 114 static void bsd_statfs_to_svr4_statvfs64(const struct statfs *, 1378 const struct statfs *bfs; 1404 const struct statfs *bfs; 1434 struct statfs *bfs; 1440 bfs = malloc(sizeof(struct statfs), M_STATFS, M_WAITOK); 1458 struct statfs *bfs; 1461 bfs = malloc(sizeof(struct statfs), M_STATFS, M_WAITOK); 1478 struct statfs *bfs; 1484 bfs = malloc(sizeof(struct statfs), M_STATF [all...] |
/freebsd-11-stable/sys/fs/autofs/ |
H A D | autofs_vfsops.c | 196 autofs_statfs(struct mount *mp, struct statfs *sbp)
|
/freebsd-11-stable/sys/fs/fdescfs/ |
H A D | fdesc_vfsops.c | 174 fdesc_statfs(struct mount *mp, struct statfs *sbp)
|