/freebsd-11-stable/sys/fs/nfsclient/ |
H A D | nfs_clport.c | 1007 nfscl_loadfsinfo(struct nfsmount *nmp, struct nfsfsinfo *fsp) argument 1010 if ((nmp->nm_wsize == 0 || fsp->fs_wtpref < nmp->nm_wsize) && 1011 fsp->fs_wtpref >= NFS_FABLKSIZE) 1012 nmp->nm_wsize = (fsp->fs_wtpref + NFS_FABLKSIZE - 1) & 1014 if (fsp->fs_wtmax < nmp->nm_wsize && fsp->fs_wtmax > 0) { 1015 nmp->nm_wsize = fsp->fs_wtmax & ~(NFS_FABLKSIZE - 1); 1017 nmp->nm_wsize = fsp->fs_wtmax; 1021 if ((nmp->nm_rsize == 0 || fsp->fs_rtpref < nmp->nm_rsize) && 1022 fsp [all...] |
H A D | nfs_clrpcops.c | 4128 nfsrpc_statfs(vnode_t vp, struct nfsstatfs *sbp, struct nfsfsinfo *fsp, argument 4153 NULL, NULL, sbp, fsp, NULL, 0, NULL, NULL, NULL, p, 4268 nfsrpc_fsinfo(vnode_t vp, struct nfsfsinfo *fsp, struct ucred *cred, argument 4285 fsp->fs_rtmax = fxdr_unsigned(u_int32_t, *tl++); 4286 fsp->fs_rtpref = fxdr_unsigned(u_int32_t, *tl++); 4287 fsp->fs_rtmult = fxdr_unsigned(u_int32_t, *tl++); 4288 fsp->fs_wtmax = fxdr_unsigned(u_int32_t, *tl++); 4289 fsp->fs_wtpref = fxdr_unsigned(u_int32_t, *tl++); 4290 fsp->fs_wtmult = fxdr_unsigned(u_int32_t, *tl++); 4291 fsp [all...] |
/freebsd-11-stable/usr.sbin/edquota/ |
H A D | edquota.c | 543 char *fsp, line1[BUFSIZ], line2[BUFSIZ]; local 556 if ((fsp = strtok(line1, " \t:")) == NULL) { 561 warnx("%s: %s: bad format", fsp, &fsp[strlen(fsp) + 1]); 587 warnx("%s:%s: bad format", fsp, cp); 597 warnx("%s: %s: bad format", fsp, line2); 623 warnx("%s: %s: bad format cnt %d", fsp, &cp[7], cnt); 633 if (strcmp(fsp, qup->fsname)) 663 warnx("%s: cannot change current allocation", fsp); 721 char *fsp, bunits[10], iunits[10], line1[BUFSIZ]; local [all...] |
/freebsd-11-stable/sbin/swapon/ |
H A D | swapon.c | 83 struct fstab *fsp; local 170 while ((fsp = getfsent()) != NULL) { 171 if (strcmp(fsp->fs_type, FSTAB_SW) != 0) 173 if (strstr(fsp->fs_mntops, "noauto") != NULL) 176 strstr(fsp->fs_mntops, "late") && 180 strstr(fsp->fs_mntops, "late") == NULL && 183 swfile = swap_on_off(fsp->fs_spec, 1, 184 fsp->fs_mntops);
|
/freebsd-11-stable/sys/fs/nfs/ |
H A D | nfs_commonsubs.c | 820 struct nfsfsinfo *fsp, NFSACL_T *aclp, int compare, int *retcmpp, 882 if (fsp != NULL) { 883 fsp->fs_rtmax = 8192; 884 fsp->fs_rtpref = 8192; 885 fsp->fs_maxname = NFS_MAXNAMLEN; 886 fsp->fs_wtmax = 8192; 887 fsp->fs_wtpref = 8192; 888 fsp->fs_wtmult = NFS_FABLKSIZE; 889 fsp->fs_dtpref = 8192; 890 fsp 817 nfsv4_loadattr(struct nfsrv_descript *nd, vnode_t vp, struct nfsvattr *nap, struct nfsfh **nfhpp, fhandle_t *fhp, int fhsize, struct nfsv3_pathconf *pc, struct statfs *sbp, struct nfsstatfs *sfp, struct nfsfsinfo *fsp, NFSACL_T *aclp, int compare, int *retcmpp, u_int32_t *leasep, u_int32_t *rderrp, NFSPROC_T *p, struct ucred *cred) argument [all...] |
/freebsd-11-stable/sbin/savecore/ |
H A D | savecore.c | 821 struct fstab *fsp; local 885 fsp = getfsent(); 886 if (fsp == NULL) 888 if (strcmp(fsp->fs_vfstype, "swap") && 889 strcmp(fsp->fs_vfstype, "dump")) 891 DoFile(savedir, fsp->fs_spec);
|
/freebsd-11-stable/usr.sbin/quot/ |
H A D | quot.c | 379 struct fsizes *fp, **fsp; local 409 for (fsp = &fsizes; (fp = *fsp); fsp = &fp->fsz_next) { 417 fp->fsz_next = *fsp; 418 *fsp = fp;
|
/freebsd-11-stable/usr.sbin/mountd/ |
H A D | mountd.c | 2288 delete_export(struct iovec *iov, int iovlen, struct statfs *fsp, char *errmsg) argument 2292 if (getvfsbyname(fsp->f_fstypename, &vfc) != 0) { 2294 fsp->f_fstypename); 2302 if (!(fsp->f_flags & MNT_EXPORTED)) 2312 iov[1].iov_base = fsp->f_fstypename; 2313 iov[1].iov_len = strlen(fsp->f_fstypename) + 1; 2314 iov[3].iov_base = fsp->f_mntonname; 2315 iov[3].iov_len = strlen(fsp->f_mntonname) + 1; 2316 iov[5].iov_base = fsp->f_mntfromname; 2317 iov[5].iov_len = strlen(fsp 2954 do_export_mount(struct exportlist *ep, struct statfs *fsp) argument [all...] |
/freebsd-11-stable/sys/dev/fdc/ |
H A D | fdc.c | 1703 struct fdc_status *fsp; local 1751 fsp = (struct fdc_status *)data; 1754 memcpy(fsp->status, fd->fdc->status, 7 * sizeof(u_int));
|