Home
last modified time | relevance | path

Searched refs:nmp (Results 1 – 14 of 14) sorted by relevance

/openbsd/src/sys/nfs/
Dnfs_vfsops.c117 struct nfsmount *nmp = VFSTONFS(mp); in nfs_statfs() local
122 info.nmi_v3 = (nmp->nm_flag & NFSMNT_NFSV3); in nfs_statfs()
130 if (info.nmi_v3 && (nmp->nm_flag & NFSMNT_GOTFSINFO) == 0) in nfs_statfs()
131 (void)nfs_fsinfo(nmp, vp, cred, p); in nfs_statfs()
152 sbp->f_iosize = min(nmp->nm_rsize, nmp->nm_wsize); in nfs_statfs()
188 nfs_fsinfo(struct nfsmount *nmp, struct vnode *vp, struct ucred *cred, in nfs_fsinfo() argument
216 if (pref < nmp->nm_wsize) in nfs_fsinfo()
217 nmp->nm_wsize = (pref + NFS_FABLKSIZE - 1) & in nfs_fsinfo()
220 if (max < nmp->nm_wsize) { in nfs_fsinfo()
221 nmp->nm_wsize = max & ~(NFS_FABLKSIZE - 1); in nfs_fsinfo()
[all …]
Dnfs_socket.c145 nfs_init_rtt(struct nfsmount *nmp) in nfs_init_rtt() argument
150 nmp->nm_srtt[i] = NFS_INITRTT; in nfs_init_rtt()
152 nmp->nm_sdrtt[i] = 0; in nfs_init_rtt()
197 nfs_estimate_rto(struct nfsmount *nmp, u_int32_t procnum) in nfs_estimate_rto() argument
206 rto = ((nmp->nm_srtt[index] + 3) >> 2) + in nfs_estimate_rto()
207 ((nmp->nm_sdrtt[index] + 1) >> 1); in nfs_estimate_rto()
211 rto = ((nmp->nm_srtt[index] + 7) >> 3) + in nfs_estimate_rto()
212 (nmp->nm_sdrtt[index] + 1); in nfs_estimate_rto()
215 rto = nmp->nm_timeo; in nfs_estimate_rto()
234 nfs_connect(struct nfsmount *nmp, struct nfsreq *rep) in nfs_connect() argument
[all …]
Dnfs_aiod.c74 struct nfsmount *nmp; in nfs_aiod() local
108 nmp = aiod->nad_mnt; in nfs_aiod()
109 if (nmp) { in nfs_aiod()
135 while ((bp = TAILQ_FIRST(&nmp->nm_bufq)) != NULL) { in nfs_aiod()
137 TAILQ_REMOVE(&nmp->nm_bufq, bp, b_freelist); in nfs_aiod()
138 nmp->nm_bufqlen--; in nfs_aiod()
142 KASSERT(nmp->nm_naiods > 0); in nfs_aiod()
143 nmp->nm_naiods--; in nfs_aiod()
Dnfs_node.c74 nfs_ninit(struct nfsmount *nmp) in nfs_ninit() argument
76 RBT_INIT(nfs_nodetree, &nmp->nm_ntree); in nfs_ninit()
87 struct nfsmount *nmp; in nfs_nget() local
92 nmp = VFSTONFS(mnt); in nfs_nget()
97 np = RBT_FIND(nfs_nodetree, &nmp->nm_ntree, &find); in nfs_nget()
126 if (RBT_FIND(nfs_nodetree, &nmp->nm_ntree, &find) != NULL) { in nfs_nget()
147 np2 = RBT_INSERT(nfs_nodetree, &nmp->nm_ntree, np); in nfs_nget()
211 struct nfsmount *nmp; in nfs_reclaim() local
229 nmp = VFSTONFS(vp->v_mount); in nfs_reclaim()
230 RBT_REMOVE(nfs_nodetree, &nmp->nm_ntree, np); in nfs_reclaim()
Dnfs_bio.c73 struct nfsmount *nmp = VFSTONFS(vp->v_mount); in nfs_bioread() local
88 if ((nmp->nm_flag & (NFSMNT_NFSV3 | NFSMNT_GOTFSINFO)) == NFSMNT_NFSV3) in nfs_bioread()
89 (void)nfs_fsinfo(nmp, vp, cred, p); in nfs_bioread()
90 biosize = nmp->nm_rsize; in nfs_bioread()
145 if (nfs_numasync > 0 && nmp->nm_readahead > 0) { in nfs_bioread()
146 for (nra = 0; nra < nmp->nm_readahead && in nfs_bioread()
253 struct nfsmount *nmp = VFSTONFS(vp->v_mount); in nfs_write() local
270 if ((nmp->nm_flag & (NFSMNT_NFSV3 | NFSMNT_GOTFSINFO)) == NFSMNT_NFSV3) in nfs_write()
271 (void)nfs_fsinfo(nmp, vp, cred, p); in nfs_write()
309 biosize = nmp->nm_rsize; in nfs_write()
[all …]
Dnfs_vnops.c810 struct nfsmount *nmp; in nfs_lookup() local
831 nmp = VFSTONFS(dvp->v_mount); in nfs_lookup()
1189 struct nfsmount *nmp; in nfs_readrpc() local
1197 nmp = VFSTONFS(vp->v_mount); in nfs_readrpc()
1203 len = (tsiz > nmp->nm_rsize) ? nmp->nm_rsize : tsiz; in nfs_readrpc()
1239 if (nfsm_strsiz(&info, &retlen, nmp->nm_rsize) != 0) in nfs_readrpc()
1265 struct nfsmount *nmp = VFSTONFS(vp->v_mount); in nfs_writerpc() local
1282 len = (tsiz > nmp->nm_wsize) ? nmp->nm_wsize : tsiz; in nfs_writerpc()
1353 if ((nmp->nm_flag & NFSMNT_HASWRITEVERF) == 0) { in nfs_writerpc()
1354 bcopy(tl, nmp->nm_verf, in nfs_writerpc()
[all …]
Dnfs_subs.c1104 struct nfsmount *nmp = VFSTONFS(vp->v_mount); in nfs_attrtimeo() local
1109 maxto = nmp->nm_acdirmax; in nfs_attrtimeo()
1110 minto = nmp->nm_acdirmin; in nfs_attrtimeo()
1112 maxto = nmp->nm_acregmax; in nfs_attrtimeo()
1113 minto = nmp->nm_acregmin; in nfs_attrtimeo()
/openbsd/src/regress/usr.bin/diff/
Dt9.1415 register struct mount *mp, *nmp;
418 for (mp = mountlist.cqh_first; mp != (void *)&mountlist; mp = nmp) {
423 nmp = mp->mnt_list.cqe_next;
439 nmp = mp->mnt_list.cqe_next;
549 register struct mount *mp, *nmp;
557 mp = mountlist.cqh_first; mp != (void *)&mountlist; mp = nmp) {
558 nmp = mp->mnt_list.cqe_next;
Dt9.2509 register struct mount *mp, *nmp;
513 TAILQ_FOREACH_REVERSE_SAFE(mp, &mountlist, mnt_list, nmp) {
655 register struct mount *mp *nmp;
666 TAILQ_FOREACH_REVERSE_SAFE(mp, &mountlist, mnt_list, nmp) {
/openbsd/src/sys/kern/
Dvfs_subr.c1761 struct mount *mp, *nmp; in vfs_unmountall() local
1766 TAILQ_FOREACH_REVERSE_SAFE(mp, &mountlist, mntlist, mnt_list, nmp) { in vfs_unmountall()
Dvfs_syscalls.c409 struct mount *nmp; in dounmount() local
420 SLIST_FOREACH(nmp, &mplist, mnt_dounmount) { in dounmount()
422 mp->mnt_vnodecovered->v_mount != nmp) in dounmount()
/openbsd/src/sys/dev/pci/
Dif_ixgb.c1435 struct mbuf *nmp) in ixgb_get_buf() argument
1437 struct mbuf *mp = nmp; in ixgb_get_buf()
/openbsd/src/gnu/usr.bin/gcc/gcc/config/arm/
Darm.c5865 Mnode * nmp; local
5876 for (mp = minipool_vector_head; mp != NULL; mp = nmp)
5922 nmp = mp->next;
/openbsd/src/gnu/gcc/gcc/config/arm/
Darm.c7779 Mnode * nmp; in dump_minipool() local
7799 for (mp = minipool_vector_head; mp != NULL; mp = nmp) in dump_minipool()
7844 nmp = mp->next; in dump_minipool()