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

/freebsd-10-stable/sys/fs/nfsclient/
H A Dnfs_clport.c927 nfscl_loadfsinfo(struct nfsmount *nmp, struct nfsfsinfo *fsp) argument
930 if ((nmp->nm_wsize == 0 || fsp->fs_wtpref < nmp->nm_wsize) &&
931 fsp->fs_wtpref >= NFS_FABLKSIZE)
932 nmp->nm_wsize = (fsp->fs_wtpref + NFS_FABLKSIZE - 1) &
934 if (fsp->fs_wtmax < nmp->nm_wsize && fsp->fs_wtmax > 0) {
935 nmp->nm_wsize = fsp->fs_wtmax & ~(NFS_FABLKSIZE - 1);
937 nmp->nm_wsize = fsp->fs_wtmax;
941 if ((nmp->nm_rsize == 0 || fsp->fs_rtpref < nmp->nm_rsize) &&
942 fsp
[all...]
H A Dnfs_clrpcops.c4082 nfsrpc_statfs(vnode_t vp, struct nfsstatfs *sbp, struct nfsfsinfo *fsp, argument
4107 NULL, NULL, sbp, fsp, NULL, 0, NULL, NULL, NULL, p,
4222 nfsrpc_fsinfo(vnode_t vp, struct nfsfsinfo *fsp, struct ucred *cred, argument
4239 fsp->fs_rtmax = fxdr_unsigned(u_int32_t, *tl++);
4240 fsp->fs_rtpref = fxdr_unsigned(u_int32_t, *tl++);
4241 fsp->fs_rtmult = fxdr_unsigned(u_int32_t, *tl++);
4242 fsp->fs_wtmax = fxdr_unsigned(u_int32_t, *tl++);
4243 fsp->fs_wtpref = fxdr_unsigned(u_int32_t, *tl++);
4244 fsp->fs_wtmult = fxdr_unsigned(u_int32_t, *tl++);
4245 fsp
[all...]
/freebsd-10-stable/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-stable/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") &&
180 strstr(fsp->fs_mntops, "late") == NULL &&
183 swfile = swap_on_off(fsp->fs_spec, 1,
184 fsp->fs_mntops);
/freebsd-10-stable/sys/fs/nfs/
H A Dnfs_commonsubs.c814 struct nfsfsinfo *fsp, NFSACL_T *aclp, int compare, int *retcmpp,
875 if (fsp != NULL) {
876 fsp->fs_rtmax = 8192;
877 fsp->fs_rtpref = 8192;
878 fsp->fs_maxname = NFS_MAXNAMLEN;
879 fsp->fs_wtmax = 8192;
880 fsp->fs_wtpref = 8192;
881 fsp->fs_wtmult = NFS_FABLKSIZE;
882 fsp->fs_dtpref = 8192;
883 fsp
811 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-stable/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-stable/sbin/savecore/
H A Dsavecore.c759 struct fstab *fsp; local
819 fsp = getfsent();
820 if (fsp == NULL)
822 if (strcmp(fsp->fs_vfstype, "swap") &&
823 strcmp(fsp->fs_vfstype, "dump"))
825 DoFile(savedir, fsp->fs_spec);
/freebsd-10-stable/usr.sbin/mountd/
H A Dmountd.c1751 struct statfs *fsp, *mntbufp; local
1819 fsp = &mntbufp[i];
1820 if (getvfsbyname(fsp->f_fstypename, &vfc) != 0) {
1822 fsp->f_fstypename);
1830 if (!(fsp->f_flags & MNT_EXPORTED))
1840 iov[1].iov_base = fsp->f_fstypename;
1841 iov[1].iov_len = strlen(fsp->f_fstypename) + 1;
1842 iov[3].iov_base = fsp->f_mntonname;
1843 iov[3].iov_len = strlen(fsp->f_mntonname) + 1;
1844 iov[5].iov_base = fsp
[all...]
/freebsd-10-stable/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-stable/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-stable/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 220 milliseconds