Searched refs:sfs (Results 1 - 20 of 20) sorted by relevance

/freebsd-9.3-release/sbin/umount/
H A Dumount.c81 int umountfs(struct statfs *sfs);
90 struct statfs *mntbuf, *sfs; local
154 sfs = &mntbuf[mntsize];
155 if (checkvfsname(sfs->f_fstypename, typelist))
157 if (strcmp(sfs->f_mntonname, "/dev") == 0)
159 if (umountfs(sfs) != 0)
236 struct statfs *sfs; local
244 sfs = checkmntlist(mntname);
249 if (sfs == NULL) {
253 sfs
310 umountfs(struct statfs *sfs) argument
438 struct statfs *sfs, *foundsfs; local
543 struct statfs *sfs; local
[all...]
/freebsd-9.3-release/cddl/compat/opensolaris/misc/
H A Dmnttab.c95 statfs2mnttab(struct statfs *sfs, struct mnttab *mp) argument
102 flags = sfs->f_flags;
124 mp->mnt_special = sfs->f_mntfromname;
125 mp->mnt_mountp = sfs->f_mntonname;
126 mp->mnt_fstype = sfs->f_fstypename;
136 struct statfs *sfs; local
153 sfs = realloc(gsfs, allfs * sizeof(gsfs[0]));
154 if (sfs != NULL)
155 gsfs = sfs;
169 struct statfs *sfs; local
198 struct statfs *sfs; local
[all...]
/freebsd-9.3-release/lib/libc/gen/
H A Dstatvfs.c48 struct statfs sfs; local
52 rv = _fstatfs(fd, &sfs);
56 rv = sfs2svfs(&sfs, result);
75 struct statfs sfs; local
79 rv = statfs(path, &sfs);
83 sfs2svfs(&sfs, result);
/freebsd-9.3-release/cddl/compat/opensolaris/include/
H A Dmnttab.h33 void statfs2mnttab(struct statfs *sfs, struct mnttab *mp);
/freebsd-9.3-release/usr.sbin/snapinfo/
H A Dsnapinfo.c45 int find_snapshot(struct statfs *sfs);
116 find_snapshot(struct statfs *sfs) argument
121 if (ufs_disk_fillout(&disk, sfs->f_mntfromname) == -1)
130 find_inum(sfs->f_mntonname);
/freebsd-9.3-release/sys/compat/svr4/
H A Dsvr4_misc.c1378 bsd_statfs_to_svr4_statvfs(bfs, sfs)
1380 struct svr4_statvfs *sfs;
1382 sfs->f_bsize = bfs->f_iosize; /* XXX */
1383 sfs->f_frsize = bfs->f_bsize;
1384 sfs->f_blocks = bfs->f_blocks;
1385 sfs->f_bfree = bfs->f_bfree;
1386 sfs->f_bavail = bfs->f_bavail;
1387 sfs->f_files = bfs->f_files;
1388 sfs->f_ffree = bfs->f_ffree;
1389 sfs
1434 struct svr4_statvfs sfs; local
1455 struct svr4_statvfs sfs; local
1472 struct svr4_statvfs64 sfs; local
1493 struct svr4_statvfs64 sfs; local
[all...]
/freebsd-9.3-release/contrib/gcc/config/soft-fp/
H A Dop-common.h1151 #define FP_EXTEND(dfs,sfs,dwc,swc,D,S) \
1153 if (_FP_FRACBITS_##dfs < _FP_FRACBITS_##sfs \
1155 < _FP_EXPMAX_##sfs - _FP_EXPBIAS_##sfs) \
1156 || (_FP_EXPBIAS_##dfs < _FP_EXPBIAS_##sfs + _FP_FRACBITS_##sfs - 1 \
1157 && _FP_EXPBIAS_##dfs != _FP_EXPBIAS_##sfs)) \
1161 if (_FP_EXP_NORMAL(sfs, swc, S)) \
1163 D##_e = S##_e + _FP_EXPBIAS_##dfs - _FP_EXPBIAS_##sfs; \
1164 _FP_FRAC_SLL_##dwc(D, (_FP_FRACBITS_##dfs - _FP_FRACBITS_##sfs)); \
[all...]
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/zinject/
H A Dtranslate.c90 struct statfs sfs; local
114 if (statfs(fullpath, &sfs) == -1) {
120 if (strcmp(sfs.f_fstypename, MNTTYPE_ZFS) != 0) {
126 if (strncmp(fullpath, sfs.f_mntonname, strlen(sfs.f_mntonname)) != 0) {
132 (void) strcpy(dataset, sfs.f_mntfromname);
134 rel = fullpath + strlen(sfs.f_mntonname);
/freebsd-9.3-release/lib/libufs/
H A Dtype.c94 struct statfs sfs; local
137 if (statfs(name, &sfs) < 0) {
141 strlcpy(dev, sfs.f_mntfromname, sizeof(dev));
/freebsd-9.3-release/sys/kern/
H A Duipc_syscalls.c1771 struct sendfile_sync *sfs; local
1787 sfs = addr;
1788 mtx_lock(&sfs->mtx);
1789 KASSERT(sfs->count> 0, ("Sendfile sync botchup count == 0"));
1790 if (--sfs->count == 0)
1791 cv_signal(&sfs->cv);
1792 mtx_unlock(&sfs->mtx);
1882 struct sendfile_sync *sfs = NULL; local
1963 sfs = malloc(sizeof *sfs, M_TEM
[all...]
H A Dvfs_default.c891 struct statfs sfs; local
927 error = VFS_STATFS(vp->v_mount, &sfs, td);
930 if (sfs.f_maxfilesize) {
931 if (offset > sfs.f_maxfilesize || len > sfs.f_maxfilesize ||
932 offset + len > sfs.f_maxfilesize) {
/freebsd-9.3-release/bin/mv/
H A Dmv.c232 struct statfs sfs; local
249 if (!statfs(path, &sfs) &&
250 !strcmp(path, sfs.f_mntonname)) {
/freebsd-9.3-release/contrib/openbsm/libauditd/
H A Dauditd_lib.c598 struct statfs sfs; local
626 if (statfs(cur_dir, &sfs) < 0)
628 soft = (sfs.f_bfree < (sfs.f_blocks * auditd_minval / 100 )) ?
630 hard = (sfs.f_bfree < AUDIT_HARD_LIMIT_FREE_BLOCKS) ? 1 : 0;
/freebsd-9.3-release/sbin/mdmfs/
H A Dmdmfs.c450 struct statfs sfs; local
456 if (statfs(mtpoint, &sfs) == -1) {
460 if ((sfs.f_flags & MNT_RDONLY) != 0) {
/freebsd-9.3-release/cddl/contrib/opensolaris/lib/libzfs/common/
H A Dlibzfs_util.c750 struct statfs sfs; local
752 ret = statfs(path, &sfs);
754 statfs2mnttab(&sfs, &entry);
/freebsd-9.3-release/usr.sbin/makefs/
H A Dffs.c467 struct statvfs sfs; local
486 if (fstatvfs(fsopts->fd, &sfs) == -1) {
493 bufsize = sfs.f_iosize;
/freebsd-9.3-release/etc/
H A Dservices768 sfs-smp-net 451/tcp #Cray Network Semaphore server
769 sfs-smp-net 451/udp #Cray Network Semaphore server
770 sfs-config 452/tcp #Cray SFS config server
771 sfs-config 452/udp #Cray SFS config server
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/zpool/
H A Dzpool_main.c4486 static struct statfs sfs; local
4493 if (statfs("/", &sfs) == -1) {
4499 if (strcmp(sfs.f_fstypename, "zfs") != 0)
4501 poolname = sfs.f_mntfromname;
/freebsd-9.3-release/cddl/contrib/opensolaris/cmd/zfs/
H A Dzfs_main.c6092 struct statfs sfs; local
6094 if (statfs(path, &sfs) != 0) {
6099 statfs2mnttab(&sfs, &entry);
/freebsd-9.3-release/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c2008 struct statfs sfs; local
2015 sf = &sfs;

Completed in 188 milliseconds