Searched refs:statfs (Results 1 - 25 of 137) sorted by relevance

123456

/freebsd-11-stable/lib/libc/gen/
H A Dgetmntinfo.c45 getmntinfo(struct statfs **mntbufp, int mode)
47 static struct statfs *mntbuf;
55 while (bufsize <= mntsize * sizeof(struct statfs)) {
58 bufsize = (mntsize + 1) * sizeof(struct statfs);
H A Dstatvfs.c43 static int sfs2svfs(const struct statfs *from, struct statvfs *to);
48 struct statfs sfs;
75 struct statfs sfs;
79 rv = statfs(path, &sfs);
98 sfs2svfs(const struct statfs *from, struct statvfs *to)
/freebsd-11-stable/contrib/amd/conf/checkmount/
H A Dcheckmount_bsd44.c45 #define statfs statvfs macro
54 struct statfs *mntbufp, *mntp;
/freebsd-11-stable/crypto/openssh/openbsd-compat/
H A Dbsd-statvfs.c29 copy_statfs_to_statvfs(struct statvfs *to, struct statfs *from)
48 struct statfs fs;
51 if (statfs(path, &fs) == -1)
66 struct statfs fs;
H A Dbsd-statvfs.h27 #include <sys/statfs.h>
/freebsd-11-stable/sbin/fsck/
H A Dfsutil.h38 struct statfs *getmntpt(const char *);
H A Dfsutil.c155 struct statfs *
161 struct statfs *mntbuf, *statfsp;
/freebsd-11-stable/contrib/amd/conf/mtab/
H A Dmtab_bsd.c53 #define statfs statvfs macro
57 mnt_dup(struct statfs *mp)
111 struct statfs *mntbufp, *mntp;
/freebsd-11-stable/sbin/umount/
H A Dumount.c71 struct statfs *checkmntlist(char *);
73 struct statfs *getmntentry(const char *fromname, const char *onname,
76 size_t mntinfo (struct statfs **);
82 int umountfs(struct statfs *sfs);
91 struct statfs *mntbuf, *sfs;
260 struct statfs sfsbuf;
262 struct statfs *sfs;
295 * 4. Resort to a statfs(2) call. This is the last check so that
297 * potentially blocking forever in statfs() as long as the
305 if (statfs(mntnam
[all...]
/freebsd-11-stable/cddl/compat/opensolaris/include/
H A Dmnttab.h33 void statfs2mnttab(struct statfs *sfs, struct mnttab *mp);
/freebsd-11-stable/usr.sbin/autofs/
H A Dautomount.c65 unmount_by_statfs(const struct statfs *sb, bool force)
88 static const struct statfs *
89 find_statfs(const struct statfs *mntbuf, int nitems, const char *mountpoint)
146 const char *prefix, const struct statfs *mntbuf, int nitems)
148 const struct statfs *sb;
187 struct statfs *mntbuf;
263 struct statfs *mntbuf;
286 struct statfs *mntbuf;
/freebsd-11-stable/cddl/compat/opensolaris/misc/
H A Dmnttab.c95 statfs2mnttab(struct statfs *sfs, struct mnttab *mp)
130 static struct statfs *gsfs = NULL;
136 struct statfs *sfs;
169 struct statfs *sfs;
198 struct statfs *sfs;
/freebsd-11-stable/sbin/mksnap_ffs/
H A Dmksnap_ffs.c75 issamefs(const char *path, struct statfs *stfsp)
77 struct statfs stfsbuf;
82 if (statfs(path, &stfsbuf) < 0)
95 struct statfs stfsbuf;
126 if (statfs(path, &stfsbuf) < 0)
/freebsd-11-stable/bin/df/
H A Ddf.c87 static void addstat(struct statfs *, struct statfs *);
91 static void prthuman(const struct statfs *, int64_t);
94 static void prtstat(struct statfs *, struct maxwidths *);
95 static size_t regetmntinfo(struct statfs **, long, const char **);
96 static void update_maxwidths(struct maxwidths *, const struct statfs *);
121 struct statfs statfsbuf, totalbuf;
123 struct statfs *mntbuf;
295 } else if (statfs(mntpt, &statfsbuf) == 0) {
321 if (statfs(mntp
[all...]
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_hostres/
H A Dhostres_snmp.h68 struct statfs;
203 * Get the type of filesystem referenced in a struct statfs * -
206 const struct asn_oid *fs_get_type(const struct statfs *);
216 void fs_tbl_process_statfs_entry(const struct statfs *, int32_t);
/freebsd-11-stable/usr.sbin/snapinfo/
H A Dsnapinfo.c49 static int find_snapshot(struct statfs *sfs);
60 struct statfs *mntbuf;
120 find_snapshot(struct statfs *sfs)
/freebsd-11-stable/tools/regression/priv/
H A Dpriv_vfs_fhstatfs.c68 struct statfs sf;
/freebsd-11-stable/tools/regression/security/cap_test/
H A Dcap_test_capmode.c68 struct statfs statfs; local
99 CHECK_CAPMODE(getfsstat, &statfs, sizeof(statfs), MNT_NOWAIT);
/freebsd-11-stable/contrib/libpcap/lbl/
H A Dos-sunos4.h78 struct statfs;
80 int fstatfs(int, struct statfs *);
165 int statfs(char *, struct statfs *);
/freebsd-11-stable/contrib/tcpdump/lbl/
H A Dos-sunos4.h79 struct statfs;
81 int fstatfs(int, struct statfs *);
167 int statfs(char *, struct statfs *);
/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_stat.c58 static int cvt_statfs(struct statfs *, caddr_t, int);
84 struct statfs *sp;
112 struct statfs *sf;
117 sf = malloc(sizeof(struct statfs), M_STATFS, M_WAITOK);
131 struct statfs *sf;
134 sf = malloc(sizeof(struct statfs), M_STATFS, M_WAITOK);
/freebsd-11-stable/usr.bin/mkuzip/
H A Dmkuz_insize.c48 struct statfs statfsbuf;
/freebsd-11-stable/lib/libefivar/
H A Defivar-dp-xlate.c138 struct statfs *mnt;
209 mntlen = sizeof(struct statfs) * n;
438 struct statfs buf;
448 if (statfs("/", &buf) != 0)
635 struct statfs buf;
645 if (statfs(rp, &buf) != 0) {
/freebsd-11-stable/sbin/fsck_ffs/
H A Dmain.c74 static int chkdoreload(struct statfs *mntp);
75 static struct statfs *getmntpt(const char *);
235 struct statfs *mntp;
594 chkdoreload(struct statfs *mntp)
639 static struct statfs *
645 struct statfs *mntbuf, *statfsp;
/freebsd-11-stable/lib/libufs/
H A Dtype.c95 struct statfs sfs;
130 * statfs(2) will point us at different file system.
138 if (statfs(name, &sfs) < 0) {

Completed in 389 milliseconds

123456