| /freebsd-14.2/usr.sbin/edquota/ |
| H A D | edquota.c | 543 char *fsp, line1[BUFSIZ], line2[BUFSIZ]; in readprivs() local 556 if ((fsp = strtok(line1, " \t:")) == NULL) { in readprivs() 561 warnx("%s: %s: bad format", fsp, &fsp[strlen(fsp) + 1]); in readprivs() 587 warnx("%s:%s: bad format", fsp, cp); in readprivs() 597 warnx("%s: %s: bad format", fsp, line2); in readprivs() 633 if (strcmp(fsp, qup->fsname)) in readprivs() 721 char *fsp, bunits[10], iunits[10], line1[BUFSIZ]; in readtimes() local 734 if ((fsp = strtok(line1, " \t:")) == NULL) { in readtimes() 739 warnx("%s: %s: bad format", fsp, &fsp[strlen(fsp) + 1]); in readtimes() 746 warnx("%s:%s: bad format", fsp, cp); in readtimes() [all …]
|
| /freebsd-14.2/sys/fs/nfsclient/ |
| H A D | nfs_clport.c | 970 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 D | nfs_clrpcops.c | 4874 NULL, NULL, sbp, fsp, NULL, 0, NULL, leasep, NULL, in nfsrpc_statfs() 5017 fsp->fs_rtmax = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo() 5018 fsp->fs_rtpref = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo() 5019 fsp->fs_rtmult = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo() 5020 fsp->fs_wtmax = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo() 5021 fsp->fs_wtpref = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo() 5022 fsp->fs_wtmult = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo() 5023 fsp->fs_dtpref = fxdr_unsigned(u_int32_t, *tl++); in nfsrpc_fsinfo() 5024 fsp->fs_maxfilesize = fxdr_hyper(tl); in nfsrpc_fsinfo() 5026 fxdr_nfsv3time(tl, &fsp->fs_timedelta); in nfsrpc_fsinfo() [all …]
|
| /freebsd-14.2/lib/libufs/ |
| H A D | sblock.c | 197 sbget(int devfd, struct fs **fsp, off_t sblockloc, int flags) in sbget() argument 201 error = ffs_sbget(&devfd, fsp, sblockloc, flags, "user", use_pread); in sbget() 213 sbsearch(int devfd, struct fs **fsp, int flags) in sbsearch() argument 217 error = ffs_sbsearch(&devfd, fsp, flags, "user", use_pread); in sbsearch()
|
| /freebsd-14.2/sbin/swapon/ |
| H A D | swapon.c | 85 struct fstab *fsp; in main() local 184 while ((fsp = getfsent()) != NULL) { in main() 185 if (strcmp(fsp->fs_type, FSTAB_SW) != 0) in main() 187 if (strstr(fsp->fs_mntops, "noauto") != NULL) in main() 190 strstr(fsp->fs_mntops, "late") && in main() 194 strstr(fsp->fs_mntops, "late") == NULL && in main() 197 Eflag |= (strstr(fsp->fs_mntops, "trimonce") != NULL); in main() 198 swfile = swap_on_off(fsp->fs_spec, 1, in main() 199 fsp->fs_mntops); in main()
|
| /freebsd-14.2/sys/fs/nfs/ |
| H A D | nfs_commonsubs.c | 1343 if (fsp != NULL) { in nfsv4_loadattr() 1344 fsp->fs_rtmax = 8192; in nfsv4_loadattr() 1345 fsp->fs_rtpref = 8192; in nfsv4_loadattr() 1347 fsp->fs_wtmax = 8192; in nfsv4_loadattr() 1348 fsp->fs_wtpref = 8192; in nfsv4_loadattr() 1350 fsp->fs_dtpref = 8192; in nfsv4_loadattr() 1824 if (fsp != NULL) in nfsv4_loadattr() 1841 fsp->fs_rtpref = fsp->fs_rtmax; in nfsv4_loadattr() 1842 fsp->fs_dtpref = fsp->fs_rtpref; in nfsv4_loadattr() 1856 fsp->fs_wtpref = fsp->fs_wtmax; in nfsv4_loadattr() [all …]
|
| /freebsd-14.2/sys/ufs/ffs/ |
| H A D | ffs_subr.c | 152 ffs_sbget(void *devfd, struct fs **fsp, off_t sblock, int flags, in ffs_sbget() argument 165 *fsp = NULL; in ffs_sbget() 178 *fsp = fs; in ffs_sbget() 242 *fsp = fs; in ffs_sbget() 251 readsuper(void *devfd, struct fs **fsp, off_t sblockloc, int flags, in readsuper() argument 258 error = (*readfunc)(devfd, sblockloc, (void **)fsp, SBLOCKSIZE); in readsuper() 261 fs = *fsp; in readsuper() 639 ffs_sbsearch(void *devfd, struct fs **fsp, int reqflags, in ffs_sbsearch() argument 660 error = ffs_sbget(devfd, fsp, UFS_STDSB, flags, filltype, readfunc); in ffs_sbsearch() 676 if (ffs_sbget(devfd, fsp, UFS_STDSB, flags, filltype, readfunc) == 0) in ffs_sbsearch() [all …]
|
| /freebsd-14.2/usr.sbin/quot/ |
| H A D | quot.c | 378 struct fsizes *fp, **fsp; in dofsizes() local 408 for (fsp = &fsizes; (fp = *fsp); fsp = &fp->fsz_next) { in dofsizes() 416 fp->fsz_next = *fsp; in dofsizes() 417 *fsp = fp; in dofsizes()
|
| /freebsd-14.2/sbin/savecore/ |
| H A D | savecore.c | 1335 struct fstab *fsp; in enum_dumpdevs() local 1352 fsp = getfsent(); in enum_dumpdevs() 1353 if (fsp == NULL) in enum_dumpdevs() 1355 if (strcmp(fsp->fs_vfstype, "swap") != 0 && in enum_dumpdevs() 1356 strcmp(fsp->fs_vfstype, "dump") != 0) in enum_dumpdevs() 1366 argv[argc] = strdup(fsp->fs_spec); in enum_dumpdevs()
|
| /freebsd-14.2/usr.sbin/mountd/ |
| H A D | mountd.c | 2414 if (getvfsbyname(fsp->f_fstypename, &vfc) != 0) { in delete_export() 2416 fsp->f_fstypename); in delete_export() 2424 if (!(fsp->f_flags & MNT_EXPORTED)) in delete_export() 2434 iov[1].iov_base = fsp->f_fstypename; in delete_export() 2435 iov[1].iov_len = strlen(fsp->f_fstypename) + 1; in delete_export() 2436 iov[3].iov_base = fsp->f_mntonname; in delete_export() 2437 iov[3].iov_len = strlen(fsp->f_mntonname) + 1; in delete_export() 2438 iov[5].iov_base = fsp->f_mntfromname; in delete_export() 2439 iov[5].iov_len = strlen(fsp->f_mntfromname) + 1; in delete_export() 2450 fsp->f_mntonname, errmsg); in delete_export() [all …]
|
| /freebsd-14.2/sys/dev/fdc/ |
| H A D | fdc.c | 1493 struct fdc_status *fsp; in fd_ioctl() local 1537 fsp = (struct fdc_status *)data; in fd_ioctl() 1540 memcpy(fsp->status, fd->fdc->status, 7 * sizeof(u_int)); in fd_ioctl()
|
| /freebsd-14.2/stand/libsa/ |
| H A D | ufs.c | 151 int ffs_sbget(void *devfd, struct fs **fsp, off_t sblock, int flags,
|