/freebsd-10-stable/sbin/umount/ |
H A D | umount.c | 82 int umountfs(struct statfs *sfs); 91 struct statfs *mntbuf, *sfs; local 155 sfs = &mntbuf[mntsize]; 156 if (checkvfsname(sfs->f_fstypename, typelist)) 158 if (strcmp(sfs->f_mntonname, "/dev") == 0) 160 if (umountfs(sfs) != 0) 237 struct statfs *sfs; local 245 sfs = checkmntlist(mntname); 250 if (sfs == NULL) { 254 sfs 311 umountfs(struct statfs *sfs) argument 458 struct statfs *sfs, *foundsfs; local 563 struct statfs *sfs; local [all...] |
/freebsd-10-stable/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-stable/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-stable/cddl/compat/opensolaris/include/ |
H A D | mnttab.h | 33 void statfs2mnttab(struct statfs *sfs, struct mnttab *mp);
|
/freebsd-10-stable/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-stable/sys/compat/svr4/ |
H A D | svr4_misc.c | 1387 bsd_statfs_to_svr4_statvfs(bfs, sfs) 1389 struct svr4_statvfs *sfs; 1391 sfs->f_bsize = bfs->f_iosize; /* XXX */ 1392 sfs->f_frsize = bfs->f_bsize; 1393 sfs->f_blocks = bfs->f_blocks; 1394 sfs->f_bfree = bfs->f_bfree; 1395 sfs->f_bavail = bfs->f_bavail; 1396 sfs->f_files = bfs->f_files; 1397 sfs->f_ffree = bfs->f_ffree; 1398 sfs 1443 struct svr4_statvfs sfs; local 1464 struct svr4_statvfs sfs; local 1481 struct svr4_statvfs64 sfs; local 1502 struct svr4_statvfs64 sfs; local [all...] |
/freebsd-10-stable/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-stable/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-stable/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-stable/sys/kern/ |
H A D | uipc_syscalls.c | 1863 struct sendfile_sync *sfs; local 1879 sfs = addr; 1880 mtx_lock(&sfs->mtx); 1881 KASSERT(sfs->count> 0, ("Sendfile sync botchup count == 0")); 1882 if (--sfs->count == 0) 1883 cv_signal(&sfs->cv); 1884 mtx_unlock(&sfs->mtx); 2191 struct sendfile_sync *sfs; local 2201 sfs = NULL; 2227 sfs [all...] |
H A D | vfs_default.c | 911 struct statfs sfs; local 947 error = VFS_STATFS(vp->v_mount, &sfs, td); 950 if (sfs.f_maxfilesize) { 951 if (offset > sfs.f_maxfilesize || len > sfs.f_maxfilesize || 952 offset + len > sfs.f_maxfilesize) {
|
/freebsd-10-stable/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-stable/contrib/libarchive/libarchive/ |
H A D | archive_read_disk_posix.c | 1535 struct statfs sfs; local 1573 r = fstatfs(fd, &sfs); 1582 r = statfs(tree_current_access_path(t), &sfs); 1587 r = fstatfs(tree_current_dir_fd(t), &sfs); 1596 t->current_filesystem->xfer_align = sfs.f_bsize; 1598 t->current_filesystem->min_xfer_size = sfs.f_iosize; 1599 t->current_filesystem->incr_xfer_size = sfs.f_iosize; 1601 if (sfs.f_flags & MNT_LOCAL) 1607 r = getvfsbyname(sfs.f_fstypename, &vfc); 1619 if (sfs 1738 struct statfs sfs; local [all...] |
/freebsd-10-stable/contrib/openbsm/libauditd/ |
H A D | auditd_lib.c | 599 struct statfs sfs; local 627 if (statfs(cur_dir, &sfs) < 0) 629 soft = (sfs.f_bfree < (sfs.f_blocks * auditd_minval / 100 )) ? 631 hard = (sfs.f_bfree < AUDIT_HARD_LIMIT_FREE_BLOCKS) ? 1 : 0;
|
/freebsd-10-stable/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-stable/cddl/contrib/opensolaris/lib/libzfs/common/ |
H A D | libzfs_util.c | 718 struct statfs sfs; local 720 ret = statfs(path, &sfs); 722 statfs2mnttab(&sfs, &entry);
|
/freebsd-10-stable/usr.sbin/makefs/ |
H A D | ffs.c | 471 struct statvfs sfs; local 490 if (fstatvfs(fsopts->fd, &sfs) == -1) { 497 bufsize = sfs.f_iosize;
|
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/zpool/ |
H A D | zpool_main.c | 4594 static struct statfs sfs; local 4601 if (statfs("/", &sfs) == -1) { 4607 if (strcmp(sfs.f_fstypename, "zfs") != 0) 4609 poolname = sfs.f_mntfromname;
|
/freebsd-10-stable/cddl/contrib/opensolaris/cmd/zfs/ |
H A D | zfs_main.c | 6295 struct statfs sfs; local 6297 if (statfs(path, &sfs) != 0) { 6302 statfs2mnttab(&sfs, &entry);
|
/freebsd-10-stable/sys/fs/nfsserver/ |
H A D | nfs_nfsdserv.c | 2019 struct statfs sfs; local 2026 sf = &sfs;
|