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

/freebsd-9.3-release/sbin/swapon/
H A Dswapon.c68 struct fstab *fsp; local
152 while ((fsp = getfsent()) != NULL) {
153 if (strcmp(fsp->fs_type, FSTAB_SW))
155 if (strstr(fsp->fs_mntops, "noauto"))
157 if (swap_on_off(fsp->fs_spec, 1)) {
164 fsp->fs_spec);
/freebsd-9.3-release/sys/fs/nfsclient/
H A Dnfs_clport.c929 nfscl_loadfsinfo(struct nfsmount *nmp, struct nfsfsinfo *fsp) argument
932 if ((nmp->nm_wsize == 0 || fsp->fs_wtpref < nmp->nm_wsize) &&
933 fsp->fs_wtpref >= NFS_FABLKSIZE)
934 nmp->nm_wsize = (fsp->fs_wtpref + NFS_FABLKSIZE - 1) &
936 if (fsp->fs_wtmax < nmp->nm_wsize && fsp->fs_wtmax > 0) {
937 nmp->nm_wsize = fsp->fs_wtmax & ~(NFS_FABLKSIZE - 1);
939 nmp->nm_wsize = fsp->fs_wtmax;
943 if ((nmp->nm_rsize == 0 || fsp->fs_rtpref < nmp->nm_rsize) &&
944 fsp
[all...]
H A Dnfs_clrpcops.c3868 nfsrpc_statfs(vnode_t vp, struct nfsstatfs *sbp, struct nfsfsinfo *fsp, argument
3893 NULL, NULL, sbp, fsp, NULL, 0, NULL, NULL, NULL, p,
4008 nfsrpc_fsinfo(vnode_t vp, struct nfsfsinfo *fsp, struct ucred *cred, argument
4025 fsp->fs_rtmax = fxdr_unsigned(u_int32_t, *tl++);
4026 fsp->fs_rtpref = fxdr_unsigned(u_int32_t, *tl++);
4027 fsp->fs_rtmult = fxdr_unsigned(u_int32_t, *tl++);
4028 fsp->fs_wtmax = fxdr_unsigned(u_int32_t, *tl++);
4029 fsp->fs_wtpref = fxdr_unsigned(u_int32_t, *tl++);
4030 fsp->fs_wtmult = fxdr_unsigned(u_int32_t, *tl++);
4031 fsp
[all...]
/freebsd-9.3-release/usr.sbin/edquota/
H A Dedquota.c545 char *fsp, line1[BUFSIZ], line2[BUFSIZ]; local
558 if ((fsp = strtok(line1, " \t:")) == NULL) {
563 warnx("%s: %s: bad format", fsp, &fsp[strlen(fsp) + 1]);
589 warnx("%s:%s: bad format", fsp, cp);
599 warnx("%s: %s: bad format", fsp, line2);
625 warnx("%s: %s: bad format cnt %d", fsp, &cp[7], cnt);
635 if (strcmp(fsp, qup->fsname))
665 warnx("%s: cannot change current allocation", fsp);
723 char *fsp, bunits[10], iunits[10], line1[BUFSIZ]; local
[all...]
/freebsd-9.3-release/sys/fs/nfs/
H A Dnfs_commonsubs.c782 struct nfsfsinfo *fsp, NFSACL_T *aclp, int compare, int *retcmpp,
838 if (fsp != NULL) {
839 fsp->fs_rtmax = 8192;
840 fsp->fs_rtpref = 8192;
841 fsp->fs_maxname = NFS_MAXNAMLEN;
842 fsp->fs_wtmax = 8192;
843 fsp->fs_wtpref = 8192;
844 fsp->fs_wtmult = NFS_FABLKSIZE;
845 fsp->fs_dtpref = 8192;
846 fsp
779 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-9.3-release/sbin/savecore/
H A Dsavecore.c648 struct fstab *fsp; local
697 fsp = getfsent();
698 if (fsp == NULL)
700 if (strcmp(fsp->fs_vfstype, "swap") &&
701 strcmp(fsp->fs_vfstype, "dump"))
703 DoFile(savedir, fsp->fs_spec);
/freebsd-9.3-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-9.3-release/usr.sbin/mountd/
H A Dmountd.c1658 struct statfs *fsp, *mntbufp; local
1729 fsp = &mntbufp[i];
1730 if (getvfsbyname(fsp->f_fstypename, &vfc) != 0) {
1732 fsp->f_fstypename);
1744 iov[1].iov_base = fsp->f_fstypename;
1745 iov[1].iov_len = strlen(fsp->f_fstypename) + 1;
1746 iov[3].iov_base = fsp->f_mntonname;
1747 iov[3].iov_len = strlen(fsp->f_mntonname) + 1;
1748 iov[5].iov_base = fsp->f_mntfromname;
1749 iov[5].iov_len = strlen(fsp
[all...]
/freebsd-9.3-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-9.3-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-9.3-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));
/freebsd-9.3-release/contrib/nvi/perl_api/
H A Dperl.xs520 SCR *fsp;

Completed in 146 milliseconds