Searched refs:fsp (Results 1 - 11 of 11) sorted by relevance

/freebsd-10.1-release/sys/fs/nfsclient/
H A Dnfs_clport.c923 nfscl_loadfsinfo(struct nfsmount *nmp, struct nfsfsinfo *fsp) argument
926 if ((nmp->nm_wsize == 0 || fsp->fs_wtpref < nmp->nm_wsize) &&
927 fsp->fs_wtpref >= NFS_FABLKSIZE)
928 nmp->nm_wsize = (fsp->fs_wtpref + NFS_FABLKSIZE - 1) &
930 if (fsp->fs_wtmax < nmp->nm_wsize && fsp->fs_wtmax > 0) {
931 nmp->nm_wsize = fsp->fs_wtmax & ~(NFS_FABLKSIZE - 1);
933 nmp->nm_wsize = fsp->fs_wtmax;
937 if ((nmp->nm_rsize == 0 || fsp->fs_rtpref < nmp->nm_rsize) &&
938 fsp
[all...]
H A Dnfs_clrpcops.c4025 nfsrpc_statfs(vnode_t vp, struct nfsstatfs *sbp, struct nfsfsinfo *fsp, argument
4050 NULL, NULL, sbp, fsp, NULL, 0, NULL, NULL, NULL, p,
4165 nfsrpc_fsinfo(vnode_t vp, struct nfsfsinfo *fsp, struct ucred *cred, argument
4182 fsp->fs_rtmax = fxdr_unsigned(u_int32_t, *tl++);
4183 fsp->fs_rtpref = fxdr_unsigned(u_int32_t, *tl++);
4184 fsp->fs_rtmult = fxdr_unsigned(u_int32_t, *tl++);
4185 fsp->fs_wtmax = fxdr_unsigned(u_int32_t, *tl++);
4186 fsp->fs_wtpref = fxdr_unsigned(u_int32_t, *tl++);
4187 fsp->fs_wtmult = fxdr_unsigned(u_int32_t, *tl++);
4188 fsp
[all...]
/freebsd-10.1-release/usr.sbin/edquota/
H A Dedquota.c543 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-10.1-release/sys/fs/nfs/
H A Dnfs_commonsubs.c801 struct nfsfsinfo *fsp, NFSACL_T *aclp, int compare, int *retcmpp,
857 if (fsp != NULL) {
858 fsp->fs_rtmax = 8192;
859 fsp->fs_rtpref = 8192;
860 fsp->fs_maxname = NFS_MAXNAMLEN;
861 fsp->fs_wtmax = 8192;
862 fsp->fs_wtpref = 8192;
863 fsp->fs_wtmult = NFS_FABLKSIZE;
864 fsp->fs_dtpref = 8192;
865 fsp
798 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-10.1-release/sbin/swapon/
H A Dswapon.c83 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") &&
179 swfile = swap_on_off(fsp->fs_spec, 1,
180 fsp->fs_mntops);
/freebsd-10.1-release/sbin/savecore/
H A Dsavecore.c739 struct fstab *fsp; local
799 fsp = getfsent();
800 if (fsp == NULL)
802 if (strcmp(fsp->fs_vfstype, "swap") &&
803 strcmp(fsp->fs_vfstype, "dump"))
805 DoFile(savedir, fsp->fs_spec);
/freebsd-10.1-release/usr.sbin/quot/
H A Dquot.c377 struct fsizes *fp, **fsp; local
407 for (fsp = &fsizes; (fp = *fsp); fsp = &fp->fsz_next) {
415 fp->fsz_next = *fsp;
416 *fsp = fp;
/freebsd-10.1-release/usr.sbin/mountd/
H A Dmountd.c1658 struct statfs *fsp, *mntbufp; local
1726 fsp = &mntbufp[i];
1727 if (getvfsbyname(fsp->f_fstypename, &vfc) != 0) {
1729 fsp->f_fstypename);
1741 iov[1].iov_base = fsp->f_fstypename;
1742 iov[1].iov_len = strlen(fsp->f_fstypename) + 1;
1743 iov[3].iov_base = fsp->f_mntonname;
1744 iov[3].iov_len = strlen(fsp->f_mntonname) + 1;
1745 iov[5].iov_base = fsp->f_mntfromname;
1746 iov[5].iov_len = strlen(fsp
[all...]
/freebsd-10.1-release/sys/nfsclient/
H A Dnfs_vfsops.c351 struct nfsv3_fsinfo *fsp; local
366 fsp = nfsm_dissect(struct nfsv3_fsinfo *, NFSX_V3FSINFO);
367 pref = fxdr_unsigned(u_int32_t, fsp->fs_wtpref);
372 max = fxdr_unsigned(u_int32_t, fsp->fs_wtmax);
378 pref = fxdr_unsigned(u_int32_t, fsp->fs_rtpref);
382 max = fxdr_unsigned(u_int32_t, fsp->fs_rtmax);
388 pref = fxdr_unsigned(u_int32_t, fsp->fs_dtpref);
397 maxfsize = fxdr_hyper(&fsp->fs_maxfilesize);
/freebsd-10.1-release/sys/pc98/cbus/
H A Dfdc.c2416 struct fdc_status *fsp; local
2510 fsp = (struct fdc_status *)addr;
2513 memcpy(fsp->status, fd->fdc->status, 7 * sizeof(u_int));
2578 fsp = (struct fdc_status *)addr;
2581 memcpy(fsp->status, fd->fdc->status, 7 * sizeof(u_int));
/freebsd-10.1-release/sys/dev/fdc/
H A Dfdc.c1491 struct fdc_status *fsp; local
1535 fsp = (struct fdc_status *)data;
1538 memcpy(fsp->status, fd->fdc->status, 7 * sizeof(u_int));

Completed in 277 milliseconds