Searched refs:statfs (Results 26 - 50 of 137) sorted by relevance

123456

/freebsd-11-stable/usr.sbin/extattrctl/
H A Dextattrctl.c76 struct statfs buf;
79 error = statfs(path, &buf);
81 perror("statfs");
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_platform_limits_linux.cpp54 #include <sys/statfs.h>
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-app-init-linux.c78 #include <sys/statfs.h>
177 struct statfs f;
180 if (statfs (defaultdir, &f) == 0)
/freebsd-11-stable/sys/compat/linux/
H A Dlinux_stats.c357 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 Dmount.c78 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 Dmount.h46 * 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 Dsys-types.h19 struct statfs;
/freebsd-11-stable/sys/kern/
H A Dvfs_syscalls.c199 * 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 Dfstab.c93 struct statfs sf;
97 if (statfs("/", &sf) != 0)
/freebsd-11-stable/tools/regression/tmpfs/
H A Dh_tools.c234 struct statfs buf;
241 error = statfs(argv[1], &buf);
/freebsd-11-stable/sys/fs/smbfs/
H A Dsmbfs_subr.h57 struct statfs;
129 int smbfs_smb_statfs(struct smb_share *ssp, struct statfs *sbp,
/freebsd-11-stable/usr.sbin/lpr/lpd/
H A Drecvjob.c329 struct statfs sfb;
331 if (statfs(".", &sfb) < 0) {
332 syslog(LOG_ERR, "%s: %m", "statfs(\".\")");
/freebsd-11-stable/contrib/hyperv/tools/
H A Dhv_vss_daemon.c52 struct statfs *mntbuf, *statfsp;
80 struct statfs *mntbuf, *statfsp;
/freebsd-11-stable/sys/fs/pseudofs/
H A Dpseudofs.h44 struct statfs;
248 int pfs_statfs (struct mount *mp, struct statfs *sbp);
/freebsd-11-stable/usr.sbin/rpc.umntall/
H A Drpc.umntall.c230 struct statfs *mntbuf;
241 bufsize = (mntsize + 1) * sizeof(struct statfs);
/freebsd-11-stable/usr.bin/quota/
H A Dquota.c97 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 Dmountd.c208 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 Dunion_vfsops.c389 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 Dhostres_storage_tbl.c119 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 Dgetentropy_linux.c400 struct statfs stfs;
463 HX(statfs(".", &stfs) == -1, stfs);
467 HX(statfs("/", &stfs) == -1, stfs);
H A Dgetentropy_osx.c300 struct statfs stfs;
359 HX(statfs(".", &stfs) == -1, stfs);
363 HX(statfs("/", &stfs) == -1, stfs);
/freebsd-11-stable/sys/fs/nullfs/
H A Dnull_vfsops.c311 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 Dsvr4_misc.c112 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 Dautofs_vfsops.c196 autofs_statfs(struct mount *mp, struct statfs *sbp)
/freebsd-11-stable/sys/fs/fdescfs/
H A Dfdesc_vfsops.c174 fdesc_statfs(struct mount *mp, struct statfs *sbp)

Completed in 332 milliseconds

123456