| /freebsd-12.1/usr.sbin/edquota/ |
| H A D | edquota.c | 545 char *fsp, line1[BUFSIZ], line2[BUFSIZ]; in readprivs() local 558 if ((fsp = strtok(line1, " \t:")) == NULL) { in readprivs() 563 warnx("%s: %s: bad format", fsp, &fsp[strlen(fsp) + 1]); in readprivs() 589 warnx("%s:%s: bad format", fsp, cp); in readprivs() 599 warnx("%s: %s: bad format", fsp, line2); in readprivs() 635 if (strcmp(fsp, qup->fsname)) in readprivs() 723 char *fsp, bunits[10], iunits[10], line1[BUFSIZ]; in readtimes() local 736 if ((fsp = strtok(line1, " \t:")) == NULL) { in readtimes() 741 warnx("%s: %s: bad format", fsp, &fsp[strlen(fsp) + 1]); in readtimes() 748 warnx("%s:%s: bad format", fsp, cp); in readtimes() [all …]
|
| /freebsd-12.1/sys/fs/nfsclient/ |
| H A D | nfs_clport.c | 894 fsp->fs_wtpref >= NFS_FABLKSIZE) in nfscl_loadfsinfo() 897 if (fsp->fs_wtmax < nmp->nm_wsize && fsp->fs_wtmax > 0) { in nfscl_loadfsinfo() 900 nmp->nm_wsize = fsp->fs_wtmax; in nfscl_loadfsinfo() 905 fsp->fs_rtpref >= NFS_FABLKSIZE) in nfscl_loadfsinfo() 908 if (fsp->fs_rtmax < nmp->nm_rsize && fsp->fs_rtmax > 0) { in nfscl_loadfsinfo() 911 nmp->nm_rsize = fsp->fs_rtmax; in nfscl_loadfsinfo() 916 && fsp->fs_dtpref >= NFS_DIRBLKSIZ) in nfscl_loadfsinfo() 919 if (fsp->fs_rtmax < nmp->nm_readdirsize && fsp->fs_rtmax > 0) { in nfscl_loadfsinfo() 922 nmp->nm_readdirsize = fsp->fs_rtmax; in nfscl_loadfsinfo() 926 if (fsp->fs_maxfilesize > 0 && in nfscl_loadfsinfo() [all …]
|
| H A D | nfs_clrpcops.c | 4226 NULL, NULL, sbp, fsp, NULL, 0, NULL, NULL, NULL, p, in nfsrpc_statfs() 4358 fsp->fs_rtmax = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo() 4359 fsp->fs_rtpref = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo() 4360 fsp->fs_rtmult = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo() 4361 fsp->fs_wtmax = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo() 4362 fsp->fs_wtpref = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo() 4363 fsp->fs_wtmult = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo() 4364 fsp->fs_dtpref = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo() 4365 fsp->fs_maxfilesize = fxdr_hyper(tl); in nfsrpc_fsinfo() 4367 fxdr_nfsv3time(tl, &fsp->fs_timedelta); in nfsrpc_fsinfo() [all …]
|
| /freebsd-12.1/sys/fs/nfs/ |
| H A D | nfs_commonsubs.c | 1242 if (fsp != NULL) { in nfsv4_loadattr() 1243 fsp->fs_rtmax = 8192; in nfsv4_loadattr() 1244 fsp->fs_rtpref = 8192; in nfsv4_loadattr() 1246 fsp->fs_wtmax = 8192; in nfsv4_loadattr() 1247 fsp->fs_wtpref = 8192; in nfsv4_loadattr() 1249 fsp->fs_dtpref = 8192; in nfsv4_loadattr() 1721 if (fsp != NULL) in nfsv4_loadattr() 1738 fsp->fs_rtpref = fsp->fs_rtmax; in nfsv4_loadattr() 1739 fsp->fs_dtpref = fsp->fs_rtpref; in nfsv4_loadattr() 1753 fsp->fs_wtpref = fsp->fs_wtmax; in nfsv4_loadattr() [all …]
|
| /freebsd-12.1/sbin/swapon/ |
| H A D | swapon.c | 86 struct fstab *fsp; in main() local 179 while ((fsp = getfsent()) != NULL) { in main() 180 if (strcmp(fsp->fs_type, FSTAB_SW) != 0) in main() 182 if (strstr(fsp->fs_mntops, "noauto") != NULL) in main() 185 strstr(fsp->fs_mntops, "late") && in main() 189 strstr(fsp->fs_mntops, "late") == NULL && in main() 192 Eflag |= (strstr(fsp->fs_mntops, "trimonce") != NULL); in main() 193 swfile = swap_on_off(fsp->fs_spec, 1, in main() 194 fsp->fs_mntops); in main()
|
| /freebsd-12.1/sys/ufs/ffs/ |
| H A D | ffs_subr.c | 215 ffs_sbget(void *devfd, struct fs **fsp, off_t altsblock, in ffs_sbget() argument 226 *fsp = NULL; in ffs_sbget() 291 *fsp = fs; in ffs_sbget() 300 readsuper(void *devfd, struct fs **fsp, off_t sblockloc, int isaltsblk, in readsuper() argument 306 error = (*readfunc)(devfd, sblockloc, (void **)fsp, SBLOCKSIZE); in readsuper() 309 fs = *fsp; in readsuper()
|
| /freebsd-12.1/usr.sbin/quot/ |
| H A D | quot.c | 380 struct fsizes *fp, **fsp; in dofsizes() local 410 for (fsp = &fsizes; (fp = *fsp); fsp = &fp->fsz_next) { in dofsizes() 418 fp->fsz_next = *fsp; in dofsizes() 419 *fsp = fp; in dofsizes()
|
| /freebsd-12.1/lib/libufs/ |
| H A D | sblock.c | 138 sbget(int devfd, struct fs **fsp, off_t sblockloc) in sbget() argument 141 return (ffs_sbget(&devfd, fsp, sblockloc, "user", use_pread)); in sbget()
|
| /freebsd-12.1/sbin/savecore/ |
| H A D | savecore.c | 934 struct fstab *fsp; in main() local 998 fsp = getfsent(); in main() 999 if (fsp == NULL) in main() 1001 if (strcmp(fsp->fs_vfstype, "swap") && in main() 1002 strcmp(fsp->fs_vfstype, "dump")) in main() 1004 DoFile(savedir, fsp->fs_spec); in main()
|
| /freebsd-12.1/usr.sbin/mountd/ |
| H A D | mountd.c | 2253 if (getvfsbyname(fsp->f_fstypename, &vfc) != 0) { in delete_export() 2255 fsp->f_fstypename); in delete_export() 2263 if (!(fsp->f_flags & MNT_EXPORTED)) in delete_export() 2273 iov[1].iov_base = fsp->f_fstypename; in delete_export() 2274 iov[1].iov_len = strlen(fsp->f_fstypename) + 1; in delete_export() 2275 iov[3].iov_base = fsp->f_mntonname; in delete_export() 2276 iov[3].iov_len = strlen(fsp->f_mntonname) + 1; in delete_export() 2277 iov[5].iov_base = fsp->f_mntfromname; in delete_export() 2278 iov[5].iov_len = strlen(fsp->f_mntfromname) + 1; in delete_export() 2289 fsp->f_mntonname, errmsg); in delete_export() [all …]
|
| /freebsd-12.1/sys/dev/fdc/ |
| H A D | fdc.c | 1504 struct fdc_status *fsp; in fd_ioctl() local 1548 fsp = (struct fdc_status *)data; in fd_ioctl() 1551 memcpy(fsp->status, fd->fdc->status, 7 * sizeof(u_int)); in fd_ioctl()
|