Home
last modified time | relevance | path

Searched refs:fsp (Results 1 – 12 of 12) sorted by relevance

/freebsd/usr.sbin/edquota/
H A Dedquota.c530 char *fsp, line1[BUFSIZ], line2[BUFSIZ]; in readprivs() local
543 if ((fsp = strtok(line1, " \t:")) == NULL) { in readprivs()
548 warnx("%s: %s: bad format", fsp, &fsp[strlen(fsp) + 1]); in readprivs()
574 warnx("%s:%s: bad format", fsp, cp); in readprivs()
584 warnx("%s: %s: bad format", fsp, line2); in readprivs()
620 if (strcmp(fsp, qup->fsname)) in readprivs()
708 char *fsp, bunits[10], iunits[10], line1[BUFSIZ]; in readtimes() local
721 if ((fsp = strtok(line1, " \t:")) == NULL) { in readtimes()
726 warnx("%s: %s: bad format", fsp, &fsp[strlen(fsp) + 1]); in readtimes()
733 warnx("%s:%s: bad format", fsp, cp); in readtimes()
[all …]
/freebsd/sys/fs/nfsclient/
H A Dnfs_clport.c970 fsp->fs_wtpref >= NFS_FABLKSIZE) in nfscl_loadfsinfo()
973 if (fsp->fs_wtmax < nmp->nm_wsize && fsp->fs_wtmax > 0) { in nfscl_loadfsinfo()
976 nmp->nm_wsize = fsp->fs_wtmax; in nfscl_loadfsinfo()
981 fsp->fs_rtpref >= NFS_FABLKSIZE) in nfscl_loadfsinfo()
984 if (fsp->fs_rtmax < nmp->nm_rsize && fsp->fs_rtmax > 0) { in nfscl_loadfsinfo()
987 nmp->nm_rsize = fsp->fs_rtmax; in nfscl_loadfsinfo()
992 && fsp->fs_dtpref >= NFS_DIRBLKSIZ) in nfscl_loadfsinfo()
995 if (fsp->fs_rtmax < nmp->nm_readdirsize && fsp->fs_rtmax > 0) { in nfscl_loadfsinfo()
998 nmp->nm_readdirsize = fsp->fs_rtmax; in nfscl_loadfsinfo()
1002 if (fsp->fs_maxfilesize > 0 && in nfscl_loadfsinfo()
[all …]
H A Dnfs_clrpcops.c4749 NULL, NULL, sbp, fsp, NULL, 0, NULL, leasep, NULL, in nfsrpc_statfs()
4892 fsp->fs_rtmax = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo()
4893 fsp->fs_rtpref = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo()
4894 fsp->fs_rtmult = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo()
4895 fsp->fs_wtmax = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo()
4896 fsp->fs_wtpref = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo()
4897 fsp->fs_wtmult = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo()
4898 fsp->fs_dtpref = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo()
4899 fsp->fs_maxfilesize = fxdr_hyper(tl); in nfsrpc_fsinfo()
4901 fxdr_nfsv3time(tl, &fsp->fs_timedelta); in nfsrpc_fsinfo()
[all …]
/freebsd/lib/libufs/
H A Dsblock.c196 sbget(int devfd, struct fs **fsp, off_t sblockloc, int flags) in sbget() argument
200 error = ffs_sbget(&devfd, fsp, sblockloc, flags, "user", use_pread); in sbget()
212 sbsearch(int devfd, struct fs **fsp, int flags) in sbsearch() argument
216 error = ffs_sbsearch(&devfd, fsp, flags, "user", use_pread); in sbsearch()
/freebsd/sbin/swapon/
H A Dswapon.c72 struct fstab *fsp; in main() local
171 while ((fsp = getfsent()) != NULL) { in main()
172 if (strcmp(fsp->fs_type, FSTAB_SW) != 0) in main()
174 if (strstr(fsp->fs_mntops, "noauto") != NULL) in main()
177 strstr(fsp->fs_mntops, "late") && in main()
181 strstr(fsp->fs_mntops, "late") == NULL && in main()
184 Eflag |= (strstr(fsp->fs_mntops, "trimonce") != NULL); in main()
185 swfile = swap_on_off(fsp->fs_spec, 1, in main()
186 fsp->fs_mntops); in main()
/freebsd/sys/fs/nfs/
H A Dnfs_commonsubs.c1338 if (fsp != NULL) { in nfsv4_loadattr()
1339 fsp->fs_rtmax = 8192; in nfsv4_loadattr()
1340 fsp->fs_rtpref = 8192; in nfsv4_loadattr()
1342 fsp->fs_wtmax = 8192; in nfsv4_loadattr()
1343 fsp->fs_wtpref = 8192; in nfsv4_loadattr()
1345 fsp->fs_dtpref = 8192; in nfsv4_loadattr()
1819 if (fsp != NULL) in nfsv4_loadattr()
1836 fsp->fs_rtpref = fsp->fs_rtmax; in nfsv4_loadattr()
1837 fsp->fs_dtpref = fsp->fs_rtpref; in nfsv4_loadattr()
1851 fsp->fs_wtpref = fsp->fs_wtmax; in nfsv4_loadattr()
[all …]
/freebsd/sys/ufs/ffs/
H A Dffs_subr.c149 ffs_sbget(void *devfd, struct fs **fsp, off_t sblock, int flags, in ffs_sbget() argument
162 *fsp = NULL; in ffs_sbget()
175 *fsp = fs; in ffs_sbget()
239 *fsp = fs; in ffs_sbget()
248 readsuper(void *devfd, struct fs **fsp, off_t sblockloc, int flags, in readsuper() argument
255 error = (*readfunc)(devfd, sblockloc, (void **)fsp, SBLOCKSIZE); in readsuper()
258 fs = *fsp; in readsuper()
636 ffs_sbsearch(void *devfd, struct fs **fsp, int reqflags, in ffs_sbsearch() argument
657 error = ffs_sbget(devfd, fsp, UFS_STDSB, flags, filltype, readfunc); in ffs_sbsearch()
673 if (ffs_sbget(devfd, fsp, UFS_STDSB, flags, filltype, readfunc) == 0) in ffs_sbsearch()
[all …]
/freebsd/usr.sbin/quot/
H A Dquot.c377 struct fsizes *fp, **fsp; in dofsizes() local
407 for (fsp = &fsizes; (fp = *fsp); fsp = &fp->fsz_next) { in dofsizes()
415 fp->fsz_next = *fsp; in dofsizes()
416 *fsp = fp; in dofsizes()
/freebsd/sbin/savecore/
H A Dsavecore.c1336 struct fstab *fsp; in enum_dumpdevs() local
1353 fsp = getfsent(); in enum_dumpdevs()
1354 if (fsp == NULL) in enum_dumpdevs()
1356 if (strcmp(fsp->fs_vfstype, "swap") != 0 && in enum_dumpdevs()
1357 strcmp(fsp->fs_vfstype, "dump") != 0) in enum_dumpdevs()
1367 argv[argc] = strdup(fsp->fs_spec); in enum_dumpdevs()
/freebsd/usr.sbin/mountd/
H A Dmountd.c2401 if (getvfsbyname(fsp->f_fstypename, &vfc) != 0) { in delete_export()
2403 fsp->f_fstypename); in delete_export()
2411 if (!(fsp->f_flags & MNT_EXPORTED)) in delete_export()
2421 iov[1].iov_base = fsp->f_fstypename; in delete_export()
2422 iov[1].iov_len = strlen(fsp->f_fstypename) + 1; in delete_export()
2423 iov[3].iov_base = fsp->f_mntonname; in delete_export()
2424 iov[3].iov_len = strlen(fsp->f_mntonname) + 1; in delete_export()
2425 iov[5].iov_base = fsp->f_mntfromname; in delete_export()
2426 iov[5].iov_len = strlen(fsp->f_mntfromname) + 1; in delete_export()
2437 fsp->f_mntonname, errmsg); in delete_export()
[all …]
/freebsd/sys/dev/fdc/
H A Dfdc.c1491 struct fdc_status *fsp; in fd_ioctl() local
1535 fsp = (struct fdc_status *)data; in fd_ioctl()
1538 memcpy(fsp->status, fd->fdc->status, 7 * sizeof(u_int)); in fd_ioctl()
/freebsd/stand/libsa/
H A Dufs.c151 int ffs_sbget(void *devfd, struct fs **fsp, off_t sblock, int flags,