/freebsd-10.0-release/sbin/umount/ |
H A D | umount.c | 81 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-10.0-release/cddl/compat/opensolaris/misc/ |
H A D | mnttab.c | 95 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-10.0-release/lib/libc/gen/ |
H A D | statvfs.c | 48 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-10.0-release/cddl/compat/opensolaris/include/ |
H A D | mnttab.h | 33 void statfs2mnttab(struct statfs *sfs, struct mnttab *mp);
|
/freebsd-10.0-release/usr.sbin/snapinfo/ |
H A D | snapinfo.c | 47 static int find_snapshot(struct statfs *sfs); 118 find_snapshot(struct statfs *sfs) argument 123 if (ufs_disk_fillout(&disk, sfs->f_mntfromname) == -1) 132 find_inum(sfs->f_mntonname);
|
/freebsd-10.0-release/sys/compat/svr4/ |
H A D | svr4_misc.c | 1372 bsd_statfs_to_svr4_statvfs(bfs, sfs) 1374 struct svr4_statvfs *sfs; 1376 sfs->f_bsize = bfs->f_iosize; /* XXX */ 1377 sfs->f_frsize = bfs->f_bsize; 1378 sfs->f_blocks = bfs->f_blocks; 1379 sfs->f_bfree = bfs->f_bfree; 1380 sfs->f_bavail = bfs->f_bavail; 1381 sfs->f_files = bfs->f_files; 1382 sfs->f_ffree = bfs->f_ffree; 1383 sfs 1428 struct svr4_statvfs sfs; local 1449 struct svr4_statvfs sfs; local 1466 struct svr4_statvfs64 sfs; local 1487 struct svr4_statvfs64 sfs; local [all...] |
/freebsd-10.0-release/contrib/gcc/config/soft-fp/ |
H A D | op-common.h | 1151 #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-10.0-release/cddl/contrib/opensolaris/cmd/zinject/ |
H A D | translate.c | 90 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-10.0-release/lib/libufs/ |
H A D | type.c | 94 struct statfs sfs; local 137 if (statfs(name, &sfs) < 0) { 141 strlcpy(dev, sfs.f_mntfromname, sizeof(dev));
|
/freebsd-10.0-release/contrib/libarchive/libarchive/ |
H A D | archive_read_disk_posix.c | 1476 struct statfs sfs; local 1501 r = fstatfs(fd, &sfs); 1510 r = statfs(tree_current_access_path(t), &sfs); 1515 r = fstatfs(tree_current_dir_fd(t), &sfs); 1524 t->current_filesystem->xfer_align = sfs.f_bsize; 1526 t->current_filesystem->min_xfer_size = sfs.f_iosize; 1527 t->current_filesystem->incr_xfer_size = sfs.f_iosize; 1529 if (sfs.f_flags & MNT_LOCAL) 1535 r = getvfsbyname(sfs.f_fstypename, &vfc); 1547 if (sfs 1585 struct statvfs sfs; local 1662 struct statfs sfs; local 1770 struct statvfs sfs; local [all...] |
/freebsd-10.0-release/sys/kern/ |
H A D | uipc_syscalls.c | 1860 struct sendfile_sync *sfs; local 1876 sfs = addr; 1877 mtx_lock(&sfs->mtx); 1878 KASSERT(sfs->count> 0, ("Sendfile sync botchup count == 0")); 1879 if (--sfs->count == 0) 1880 cv_signal(&sfs->cv); 1881 mtx_unlock(&sfs->mtx); 2187 struct sendfile_sync *sfs; local 2197 sfs = NULL; 2223 sfs [all...] |
H A D | vfs_default.c | 891 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-10.0-release/bin/mv/ |
H A D | mv.c | 232 struct statfs sfs; local 249 if (!statfs(path, &sfs) && 250 !strcmp(path, sfs.f_mntonname)) {
|
/freebsd-10.0-release/contrib/openbsm/libauditd/ |
H A D | auditd_lib.c | 598 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-10.0-release/sbin/mdmfs/ |
H A D | mdmfs.c | 450 struct statfs sfs; local 456 if (statfs(mtpoint, &sfs) == -1) { 460 if ((sfs.f_flags & MNT_RDONLY) != 0) {
|
/freebsd-10.0-release/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_util.c | 751 struct statfs sfs; local 753 ret = statfs(path, &sfs); 755 statfs2mnttab(&sfs, &entry);
|
/freebsd-10.0-release/usr.sbin/makefs/ |
H A D | ffs.c | 467 struct statvfs sfs; local 486 if (fstatvfs(fsopts->fd, &sfs) == -1) { 493 bufsize = sfs.f_iosize;
|
/freebsd-10.0-release/etc/ |
H A D | services | 768 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-10.0-release/cddl/contrib/opensolaris/cmd/zpool/ |
H A D | zpool_main.c | 4470 static struct statfs sfs; local 4477 if (statfs("/", &sfs) == -1) { 4483 if (strcmp(sfs.f_fstypename, "zfs") != 0) 4485 poolname = sfs.f_mntfromname;
|
/freebsd-10.0-release/cddl/contrib/opensolaris/cmd/zfs/ |
H A D | zfs_main.c | 6009 struct statfs sfs; local 6011 if (statfs(path, &sfs) != 0) { 6016 statfs2mnttab(&sfs, &entry);
|
/freebsd-10.0-release/sys/fs/nfsserver/ |
H A D | nfs_nfsdserv.c | 2015 struct statfs sfs; local 2022 sf = &sfs;
|