/freebsd-11-stable/lib/libc/gen/ |
H A D | getmntinfo.c | 45 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 D | statvfs.c | 43 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 D | checkmount_bsd44.c | 45 #define statfs statvfs macro 54 struct statfs *mntbufp, *mntp;
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | bsd-statvfs.c | 29 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 D | bsd-statvfs.h | 27 #include <sys/statfs.h>
|
/freebsd-11-stable/sbin/fsck/ |
H A D | fsutil.h | 38 struct statfs *getmntpt(const char *);
|
H A D | fsutil.c | 155 struct statfs * 161 struct statfs *mntbuf, *statfsp;
|
/freebsd-11-stable/contrib/amd/conf/mtab/ |
H A D | mtab_bsd.c | 53 #define statfs statvfs macro 57 mnt_dup(struct statfs *mp) 111 struct statfs *mntbufp, *mntp;
|
/freebsd-11-stable/sbin/umount/ |
H A D | umount.c | 71 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 D | mnttab.h | 33 void statfs2mnttab(struct statfs *sfs, struct mnttab *mp);
|
/freebsd-11-stable/usr.sbin/autofs/ |
H A D | automount.c | 65 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 D | mnttab.c | 95 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 D | mksnap_ffs.c | 75 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 D | df.c | 87 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 D | hostres_snmp.h | 68 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 D | snapinfo.c | 49 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 D | priv_vfs_fhstatfs.c | 68 struct statfs sf;
|
/freebsd-11-stable/tools/regression/security/cap_test/ |
H A D | cap_test_capmode.c | 68 struct statfs statfs; local 99 CHECK_CAPMODE(getfsstat, &statfs, sizeof(statfs), MNT_NOWAIT);
|
/freebsd-11-stable/contrib/libpcap/lbl/ |
H A D | os-sunos4.h | 78 struct statfs; 80 int fstatfs(int, struct statfs *); 165 int statfs(char *, struct statfs *);
|
/freebsd-11-stable/contrib/tcpdump/lbl/ |
H A D | os-sunos4.h | 79 struct statfs; 81 int fstatfs(int, struct statfs *); 167 int statfs(char *, struct statfs *);
|
/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | ibcs2_stat.c | 58 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 D | mkuz_insize.c | 48 struct statfs statfsbuf;
|
/freebsd-11-stable/lib/libefivar/ |
H A D | efivar-dp-xlate.c | 138 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 D | main.c | 74 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 D | type.c | 95 struct statfs sfs; 130 * statfs(2) will point us at different file system. 138 if (statfs(name, &sfs) < 0) {
|