Home
last modified time | relevance | path

Searched refs:statfs (Results 1 – 25 of 133) sorted by relevance

123456

/freebsd-9-stable/sbin/umount/
Dumount.c70 struct statfs *checkmntlist(char *);
72 struct statfs *getmntentry(const char *fromname, const char *onname,
75 size_t mntinfo (struct statfs **);
81 int umountfs(struct statfs *sfs);
90 struct statfs *mntbuf, *sfs; in main()
234 struct statfs sfsbuf; in checkname()
236 struct statfs *sfs; in checkname()
279 if (statfs(mntname, &sfsbuf) != 0) { in checkname()
310 umountfs(struct statfs *sfs) in umountfs()
432 struct statfs *
[all …]
/freebsd-9-stable/bin/df/
Ddf.c80 static void addstat(struct statfs *, struct statfs *);
84 static void prthuman(const struct statfs *, int64_t);
87 static void prtstat(struct statfs *, struct maxwidths *);
88 static size_t regetmntinfo(struct statfs **, long, const char **);
89 static void update_maxwidths(struct maxwidths *, const struct statfs *);
106 struct statfs statfsbuf, totalbuf; in main()
108 struct statfs *mntbuf; in main()
241 } else if (statfs(mntpt, &statfsbuf) == 0) { in main()
262 if (statfs(mntpt, &statfsbuf) < 0) { in main()
306 struct statfs *mntbuf; in getmntpt()
[all …]
/freebsd-9-stable/lib/libc/gen/
Dgetmntinfo.c46 struct statfs **mntbufp; in getmntinfo()
49 static struct statfs *mntbuf;
57 while (bufsize <= mntsize * sizeof(struct statfs)) {
60 bufsize = (mntsize + 1) * sizeof(struct statfs);
61 if ((mntbuf = (struct statfs *)malloc(bufsize)) == 0)
Dstatvfs.c43 static int sfs2svfs(const struct statfs *from, struct statvfs *to);
48 struct statfs sfs; in fstatvfs()
75 struct statfs sfs; in statvfs()
79 rv = statfs(path, &sfs); in statvfs()
98 sfs2svfs(const struct statfs *from, struct statvfs *to) in sfs2svfs()
/freebsd-9-stable/crypto/openssh/openbsd-compat/
Dbsd-statvfs.c31 copy_statfs_to_statvfs(struct statvfs *to, struct statfs *from) in copy_statfs_to_statvfs()
50 struct statfs fs; in statvfs()
53 if (statfs(path, &fs) == -1) in statvfs()
68 struct statfs fs; in fstatvfs()
/freebsd-9-stable/cddl/compat/opensolaris/misc/
Dmnttab.c95 statfs2mnttab(struct statfs *sfs, struct mnttab *mp) in statfs2mnttab()
130 static struct statfs *gsfs = NULL;
136 struct statfs *sfs; in statfs_init()
169 struct statfs *sfs; in getmntany()
198 struct statfs *sfs; in getmntent()
/freebsd-9-stable/sbin/mount/
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 *);
246 struct statfs *mntbuf; in main()
462 ismounted(struct fstab *fs, struct statfs *mntbuf, int mntsize) in ismounted()
536 struct statfs sf; in mountfs()
609 if (statfs(name, &sf) < 0) { in mountfs()
623 prmount(struct statfs *sfp) in prmount()
668 struct statfs *
[all …]
/freebsd-9-stable/tools/regression/security/cap_test/
Dcap_test_capmode.c68 struct statfs statfs; in test_capmode() local
99 CHECK_CAPMODE(getfsstat, &statfs, sizeof(statfs), MNT_NOWAIT); in test_capmode()
/freebsd-9-stable/contrib/libpcap/lbl/
Dos-sunos4.h81 struct statfs;
83 int fstatfs(int, struct statfs *);
169 int statfs(char *, struct statfs *);
/freebsd-9-stable/contrib/tcpdump/lbl/
Dos-sunos4.h81 struct statfs;
83 int fstatfs(int, struct statfs *);
169 int statfs(char *, struct statfs *);
/freebsd-9-stable/usr.sbin/bsnmpd/modules/snmp_hostres/
Dhostres_snmp.h68 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-9-stable/usr.sbin/snapinfo/
Dsnapinfo.c45 int find_snapshot(struct statfs *sfs);
56 struct statfs *mntbuf; in main()
116 find_snapshot(struct statfs *sfs) in find_snapshot()
/freebsd-9-stable/sys/sys/
Dmount.h69 struct statfs { struct
177 struct statfs mnt_stat; /* cache of filesystem stats */
617 typedef int vfs_statfs_t(struct mount *mp, struct statfs *sbp);
870 void statfs_scale_blocks(struct statfs *sf, long max_size);
952 int fhstatfs(const struct fhandle *, struct statfs *);
953 int fstatfs(int, struct statfs *);
955 int getfsstat(struct statfs *, long, int);
956 int getmntinfo(struct statfs **, int);
960 int statfs(const char *, struct statfs *);
Dsyscallsubr.h96 int kern_fhstatfs(struct thread *td, fhandle_t fh, struct statfs *buf);
98 int kern_fstatfs(struct thread *td, int fd, struct statfs *buf);
104 int kern_getfsstat(struct thread *td, struct statfs **buf, size_t bufsize,
224 struct statfs *buf);
/freebsd-9-stable/sys/i386/ibcs2/
Dibcs2_stat.c56 static int cvt_statfs(struct statfs *, caddr_t, int);
82 struct statfs *sp; in cvt_statfs()
110 struct statfs sf;
127 struct statfs sf;
/freebsd-9-stable/sbin/fsck_ffs/
Dmain.c71 static int chkdoreload(struct statfs *mntp);
72 static struct statfs *getmntpt(const char *);
214 struct statfs *mntp; in checkfilesys()
565 chkdoreload(struct statfs *mntp) in chkdoreload()
610 static struct statfs *
616 struct statfs *mntbuf, *statfsp; in getmntpt()
/freebsd-9-stable/contrib/amd/conf/mtab/
Dmtab_bsd.c58 mnt_dup(struct statfs *mp) in mnt_dup()
112 struct statfs *mntbufp, *mntp; in read_mtab()
/freebsd-9-stable/sys/compat/linux/
Dlinux_stats.c381 bsd_to_linux_statfs(struct statfs *bsd_statfs, struct l_statfs *linux_statfs) in bsd_to_linux_statfs()
400 struct statfs bsd_statfs; in linux_statfs()
407 if (ldebug(statfs)) in linux_statfs()
408 printf(ARGS(statfs, "%s, *"), path); in linux_statfs()
425 bsd_to_linux_statfs64(struct statfs *bsd_statfs, struct l_statfs64 *linux_statfs) in bsd_to_linux_statfs64()
444 struct statfs bsd_statfs; in linux_statfs64()
469 struct statfs bsd_statfs; in linux_fstatfs()
/freebsd-9-stable/sbin/mksnap_ffs/
Dmksnap_ffs.c66 struct statfs stfsbuf; in main()
97 if (statfs(path, &stfsbuf) < 0) in main()
/freebsd-9-stable/lib/libufs/
Dtype.c94 struct statfs sfs; in ufs_disk_fillout_blank()
137 if (statfs(name, &sfs) < 0) { in ufs_disk_fillout_blank()
/freebsd-9-stable/sbin/fsck/
Dfsutil.c154 struct statfs *
160 struct statfs *mntbuf, *statfsp; in getmntpt()
/freebsd-9-stable/usr.sbin/pkg_install/lib/
Dpen.c179 struct statfs buf; in min_free()
181 if (statfs(tmpdir, &buf) != 0) { in min_free()
/freebsd-9-stable/usr.bin/quota/
Dquota.c98 static int getnfsquota(struct statfs *fst, struct quotause *qup, long id,
491 struct statfs *fst; in getprivs()
493 struct statfs sfb; in getprivs()
497 if (filename != NULL && statfs(filename, &sfb) != 0) in getprivs()
568 getnfsquota(struct statfs *fst, struct quotause *qup, long id, int quotatype) in getnfsquota()
/freebsd-9-stable/usr.sbin/extattrctl/
Dextattrctl.c74 struct statfs buf; in num_inodes_by_path()
77 error = statfs(path, &buf); in num_inodes_by_path()
/freebsd-9-stable/sys/contrib/octeon-sdk/
Dcvmx-app-init-linux.c176 struct statfs f; in setup_cvmx_shared()
179 if (statfs (defaultdir, &f) == 0) in setup_cvmx_shared()

123456