/freebsd-10.0-release/sys/nfsclient/ |
H A D | nfs_krpc.c | 167 nfs_init_rtt(struct nfsmount *nmp) argument 172 nmp->nm_timers[i].rt_srtt = hz; 173 nmp->nm_timers[i].rt_deviate = 0; 174 nmp->nm_timers[i].rt_rtxcur = hz; 183 nfs_connect(struct nfsmount *nmp) argument 208 td->td_ucred = nmp->nm_mountp->mnt_cred; 209 saddr = nmp->nm_nam; 212 if (nmp->nm_flag & NFSMNT_NFSV3) 214 else if (nmp->nm_flag & NFSMNT_NFSV4) 217 if (nmp 326 nfs_disconnect(struct nfsmount *nmp) argument 343 nfs_safedisconnect(struct nfsmount *nmp) argument 350 nfs_getauth(struct nfsmount *nmp, struct ucred *cred) argument 396 struct nfsmount *nmp = nf->nf_mount; local 435 struct nfsmount *nmp; local 685 nfs_nmcancelreqs(struct nfsmount *nmp) argument 792 nfs_sigintr(struct nfsmount *nmp, struct thread *td) argument 836 nfs_down(struct nfsmount *nmp, struct thread *td, const char *msg, int error, int flags) argument 862 nfs_up(struct nfsmount *nmp, struct thread *td, const char *msg, int flags, int tprintfmsg) argument [all...] |
H A D | nfs_vfsops.c | 117 static void nfs_decode_args(struct mount *mp, struct nfsmount *nmp, 202 nfs_iosize(struct nfsmount *nmp) argument 212 iosize = imax(nmp->nm_rsize, nmp->nm_wsize); 275 struct nfsmount *nmp = VFSTONFS(mp); local 276 int error = 0, v3 = (nmp->nm_flag & NFSMNT_NFSV3), retattr; 288 error = nfs_nget(mp, (nfsfh_t *)nmp->nm_fh, nmp->nm_fhsize, &np, LK_EXCLUSIVE); 294 mtx_lock(&nmp->nm_mtx); 295 if (v3 && (nmp 348 nfs_fsinfo(struct nfsmount *nmp, struct vnode *vp, struct ucred *cred, struct thread *td) argument 590 nfs_decode_args(struct mount *mp, struct nfsmount *nmp, struct nfs_args *argp, const char *hostname) argument 1114 struct nfsmount *nmp = VFSTONFS(mp); local 1237 struct nfsmount *nmp; local 1364 struct nfsmount *nmp; local 1414 struct nfsmount *nmp; local 1492 struct nfsmount *nmp = VFSTONFS(mp); local 1562 struct nfsmount *nmp; local [all...] |
H A D | nfs_nfsiod.c | 244 struct nfsmount *nmp; local 254 while (((nmp = nfs_iodmount[myiod]) == NULL) 255 || !TAILQ_FIRST(&nmp->nm_bufq)) { 258 if (nmp) 259 nmp->nm_bufqiods--; 270 nmp = nfs_iodmount[myiod]; 276 if (nmp && TAILQ_FIRST(&nmp->nm_bufq)) 283 while ((bp = TAILQ_FIRST(&nmp->nm_bufq)) != NULL) { 287 TAILQ_REMOVE(&nmp [all...] |
H A D | nfs_bio.c | 88 struct nfsmount *nmp; local 97 nmp = VFSTONFS(vp->v_mount); 116 mtx_lock(&nmp->nm_mtx); 117 if ((nmp->nm_flag & NFSMNT_NFSV3) != 0 && 118 (nmp->nm_state & NFSSTA_GOTFSINFO) == 0) { 119 mtx_unlock(&nmp->nm_mtx); 121 (void)nfs_fsinfo(nmp, vp, cred, td); 123 mtx_unlock(&nmp->nm_mtx); 167 error = (nmp->nm_rpcops->nr_readrpc)(vp, &uio, cred); 249 struct nfsmount *nmp; local 361 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 429 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 723 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 866 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 1236 struct nfsmount *nmp; local 1269 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 1336 nfs_asyncio(struct nfsmount *nmp, struct buf *bp, struct ucred *cred, struct thread *td) argument 1488 struct nfsmount *nmp = VFSTONFS(bp->b_vp->v_mount); local 1523 struct nfsmount *nmp; local [all...] |
H A D | nfs_subs.c | 676 struct nfsmount *nmp; local 681 nmp = VFSTONFS(vp->v_mount); 695 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acdirmin) 696 timeo = nmp->nm_acdirmin; 697 else if (timeo > nmp->nm_acdirmax) 698 timeo = nmp->nm_acdirmax; 700 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acregmin) 701 timeo = nmp->nm_acregmin; 702 else if (timeo > nmp->nm_acregmax) 703 timeo = nmp [all...] |
H A D | nfs_vnops.c | 274 * nmp->nm_mtx : Protects the fields in the nfsmount. 278 nmp->nm_mtx 933 struct nfsmount *nmp; local 949 nmp = VFSTONFS(mp); 990 if (!(nmp->nm_flag & NFSMNT_NOCTO) && 998 if ((u_int)(ticks - ncticks) < (nmp->nm_nametimeo * hz) && 1025 if ((u_int)(ticks - ncticks) < (nmp->nm_negnametimeo * hz) && 1287 struct nfsmount *nmp; local 1296 nmp = VFSTONFS(vp->v_mount); 1298 mtx_lock(&nmp 1362 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 2279 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 2480 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 2889 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 2980 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local [all...] |
/freebsd-10.0-release/sys/fs/nfsclient/ |
H A D | nfs_clvfsops.c | 106 static void nfs_decode_args(struct mount *mp, struct nfsmount *nmp, 182 newnfs_iosize(struct nfsmount *nmp) argument 187 if (nmp->nm_flag & NFSMNT_NFSV4) { 189 } else if (nmp->nm_flag & NFSMNT_NFSV3) { 190 if (nmp->nm_sotype == SOCK_DGRAM) 197 if (nmp->nm_rsize > maxio || nmp->nm_rsize == 0) 198 nmp->nm_rsize = maxio; 199 if (nmp->nm_rsize > MAXBSIZE) 200 nmp 276 struct nfsmount *nmp = VFSTONFS(mp); local 352 ncl_fsinfo(struct nfsmount *nmp, struct vnode *vp, struct ucred *cred, struct thread *td) argument 552 nfs_decode_args(struct mount *mp, struct nfsmount *nmp, struct nfs_args *argp, const char *hostname, struct ucred *cred, struct thread *td) argument 1012 struct nfsmount *nmp = VFSTONFS(mp); local 1198 struct nfsmount *nmp; local 1475 struct nfsmount *nmp; local 1541 struct nfsmount *nmp; local 1618 struct nfsmount *nmp = VFSTONFS(mp); local 1688 struct nfsmount *nmp = VFSTONFS(mp); local 1701 struct nfsmount *nmp; local 1725 nfscl_printopt(struct nfsmount *nmp, int testval, char *opt, char **buf, size_t *blen) argument 1742 nfscl_printoptval(struct nfsmount *nmp, int optval, char *opt, char **buf, size_t *blen) argument 1760 nfscl_retopts(struct nfsmount *nmp, char *buffer, size_t buflen) argument [all...] |
H A D | nfs_clnfsiod.c | 246 struct nfsmount *nmp; local 256 while (((nmp = ncl_iodmount[myiod]) == NULL) 257 || !TAILQ_FIRST(&nmp->nm_bufq)) { 260 if (nmp) 261 nmp->nm_bufqiods--; 272 nmp = ncl_iodmount[myiod]; 278 if (nmp && TAILQ_FIRST(&nmp->nm_bufq)) 285 while ((bp = TAILQ_FIRST(&nmp->nm_bufq)) != NULL) { 287 TAILQ_REMOVE(&nmp [all...] |
H A D | nfs_clbio.c | 94 struct nfsmount *nmp; local 103 nmp = VFSTONFS(vp->v_mount); 122 mtx_lock(&nmp->nm_mtx); 123 if ((nmp->nm_flag & NFSMNT_NFSV3) != 0 && 124 (nmp->nm_state & NFSSTA_GOTFSINFO) == 0) { 125 mtx_unlock(&nmp->nm_mtx); 127 (void)ncl_fsinfo(nmp, vp, cred, td); 129 mtx_unlock(&nmp->nm_mtx); 255 struct nfsmount *nmp; local 267 nmp 433 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 732 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 875 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 1291 struct nfsmount *nmp; local 1324 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 1402 ncl_asyncio(struct nfsmount *nmp, struct buf *bp, struct ucred *cred, struct thread *td) argument 1596 struct nfsmount *nmp; local [all...] |
H A D | nfs_clrpcops.c | 257 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 291 if (nmp->nm_clp != NULL) 292 clidrev = nmp->nm_clp->nfsc_clientidrev; 297 error = nfsrpc_openrpc(nmp, vp, np->n_v4->n4_data, 318 (void) nfscl_deleg(nmp->nm_mountp, 350 expireret = nfscl_hasexpired(nmp->nm_clp, clidrev, p); 367 nfsrpc_openrpc(struct nfsmount *nmp, vnode_t vp, u_int8_t *nfhp, int fhlen, argument 383 nfscl_reqstart(nd, NFSPROC_OPEN, nmp, nfhp, fhlen, NULL, NULL); 388 *tl++ = NFSMNT_MDSSESSION(nmp)->nfsess_clientid.lval[0]; 389 *tl = NFSMNT_MDSSESSION(nmp) 631 nfsrpc_doclose(struct nfsmount *nmp, struct nfsclopen *op, NFSPROC_T *p) argument 728 nfsrpc_closerpc(struct nfsrv_descript *nd, struct nfsmount *nmp, struct nfsclopen *op, struct ucred *cred, NFSPROC_T *p, int syscred) argument 772 struct nfsmount *nmp; local 809 nfsrpc_setclient(struct nfsmount *nmp, struct nfsclclient *clp, int reclaim, struct ucred *cred, NFSPROC_T *p) argument 1014 nfsrpc_getattrnovp(struct nfsmount *nmp, u_int8_t *fhp, int fhlen, int syscred, struct ucred *cred, NFSPROC_T *p, struct nfsvattr *nap, u_int64_t *xidp, uint32_t *leasep) argument 1060 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 1180 struct nfsmount *nmp; local 1329 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 1389 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 1482 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 1559 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 1826 struct nfsmount *nmp = VFSTONFS(vnode_mount(dvp)); local 1947 struct nfsmount *nmp; local 2170 struct nfsmount *nmp; local 2247 struct nfsmount *nmp; local 2468 struct nfsmount *nmp; local 2642 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 3078 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 3566 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 3617 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 3785 struct nfsmount *nmp; local 3851 nfsrpc_locku(struct nfsrv_descript *nd, struct nfsmount *nmp, struct nfscllockowner *lp, u_int64_t off, u_int64_t len, u_int32_t type, struct ucred *cred, NFSPROC_T *p, int syscred) argument 3902 nfsrpc_lock(struct nfsrv_descript *nd, struct nfsmount *nmp, vnode_t vp, u_int8_t *nfhp, int fhlen, struct nfscllockowner *lp, int newone, int reclaim, u_int64_t off, u_int64_t len, short type, struct ucred *cred, NFSPROC_T *p, int syscred) argument 3996 struct nfsmount *nmp; local 4074 struct nfsmount *nmp; local 4175 struct nfsmount *nmp; local 4208 nfsrpc_rellockown(struct nfsmount *nmp, struct nfscllockowner *lp, uint8_t *fh, int fhlen, struct ucred *cred, NFSPROC_T *p) argument 4245 nfsrpc_getdirpath(struct nfsmount *nmp, u_char *dirpath, struct ucred *cred, NFSPROC_T *p) argument 4313 nfsrpc_delegreturn(struct nfscldeleg *dp, struct ucred *cred, struct nfsmount *nmp, NFSPROC_T *p, int syscred) argument 4352 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 4380 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 4398 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 4420 nfsrpc_exchangeid(struct nfsmount *nmp, struct nfsclclient *clp, struct nfssockreq *nrp, uint32_t exchflags, struct nfsclds **dspp, struct ucred *cred, NFSPROC_T *p) argument 4505 nfsrpc_createsession(struct nfsmount *nmp, struct nfsclsession *sep, struct nfssockreq *nrp, uint32_t sequenceid, int mds, struct ucred *cred, NFSPROC_T *p) argument 4600 nfsrpc_destroysession(struct nfsmount *nmp, struct nfsclclient *clp, struct ucred *cred, NFSPROC_T *p) argument 4625 nfsrpc_destroyclient(struct nfsmount *nmp, struct nfsclclient *clp, struct ucred *cred, NFSPROC_T *p) argument 4651 nfsrpc_layoutget(struct nfsmount *nmp, uint8_t *fhp, int fhlen, int iomode, uint64_t offset, uint64_t len, uint64_t minlen, int layoutlen, nfsv4stateid_t *stateidp, int *retonclosep, struct nfsclflayouthead *flhp, struct ucred *cred, NFSPROC_T *p, void *stuff) argument 4807 nfsrpc_getdeviceinfo(struct nfsmount *nmp, uint8_t *deviceid, int layouttype, uint32_t *notifybitsp, struct nfscldevinfo **ndip, struct ucred *cred, NFSPROC_T *p) argument 4967 nfsrpc_layoutcommit(struct nfsmount *nmp, uint8_t *fh, int fhlen, int reclaim, uint64_t off, uint64_t len, uint64_t lastbyte, nfsv4stateid_t *stateidp, int layouttype, int layoutupdatecnt, uint8_t *layp, struct ucred *cred, NFSPROC_T *p, void *stuff) argument 5026 nfsrpc_layoutreturn(struct nfsmount *nmp, uint8_t *fh, int fhlen, int reclaim, int layouttype, uint32_t iomode, int layoutreturn, uint64_t offset, uint64_t len, nfsv4stateid_t *stateidp, int layoutcnt, uint32_t *layp, struct ucred *cred, NFSPROC_T *p, void *stuff) argument 5094 nfsrpc_getlayout(struct nfsmount *nmp, vnode_t vp, struct nfsfh *nfhp, int iomode, uint32_t *notifybitsp, nfsv4stateid_t *stateidp, uint64_t off, struct nfscllayout **lypp, struct ucred *cred, NFSPROC_T *p) argument 5180 nfsrpc_fillsa(struct nfsmount *nmp, struct sockaddr_storage *ssp, struct nfsclds **dspp, NFSPROC_T *p) argument 5353 nfsrpc_reclaimcomplete(struct nfsmount *nmp, struct ucred *cred, NFSPROC_T *p) argument 5399 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 5632 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 5674 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 5794 nfscl_getsameserver(struct nfsmount *nmp, struct nfsclds *newdsp, struct nfsclds **retdspp) argument 5843 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local [all...] |
H A D | nfs_clport.c | 120 struct nfsmount *nmp; local 122 nmp = VFSTONFS(mntp); 161 if ((nmp->nm_flag & NFSMNT_NFSV4) && np->n_v4 != NULL && 225 if ((nfhp->nfh_len == nmp->nm_fhsize) && 226 !bcmp(nfhp->nfh_fh, nmp->nm_fh, nfhp->nfh_len)) { 237 if (nmp->nm_flag & NFSMNT_NFSV4) { 362 struct nfsmount *nmp; local 382 nmp = VFSTONFS(vp->v_mount); 404 if (NFSHASNFSV4(nmp) && NFSHASHASSETFSID(nmp) 862 struct nfsmount *nmp; local 880 nfscl_loadsbinfo(struct nfsmount *nmp, struct nfsstatfs *sfp, void *statfs) argument 923 nfscl_loadfsinfo(struct nfsmount *nmp, struct nfsfsinfo *fsp) argument 971 nfscl_getmyip(struct nfsmount *nmp, int *isinet6p) argument [all...] |
H A D | nfs_clsubs.c | 195 struct nfsmount *nmp; local 200 nmp = VFSTONFS(vp->v_mount); 215 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acdirmin) 216 timeo = nmp->nm_acdirmin; 217 else if (timeo > nmp->nm_acdirmax) 218 timeo = nmp->nm_acdirmax; 220 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acregmin) 221 timeo = nmp->nm_acregmin; 222 else if (timeo > nmp->nm_acregmax) 223 timeo = nmp [all...] |
H A D | nfs_clstate.c | 734 struct nfsmount *nmp; local 739 nmp = VFSTONFS(mp); 763 clp = nmp->nm_clp; 782 nfscl_fillclid(nmp->nm_clval, uuid, clp->nfsc_id, 785 nmp->nm_clp = clp; 786 clp->nfsc_nmp = nmp; 849 error = nfsrpc_setclient(nmp, clp, 0, cred, p); 882 nfscl_findcl(struct nfsmount *nmp) argument 886 clp = nmp->nm_clp; 1432 struct nfsmount *nmp, struc 1431 nfscl_expireopen(struct nfsclclient *clp, struct nfsclopen *op, struct nfsmount *nmp, struct ucred *cred, NFSPROC_T *p) argument 1582 nfscl_expireclient(struct nfsclclient *clp, struct nfsmount *nmp, struct ucred *cred, NFSPROC_T *p) argument 1792 nfscl_umount(struct nfsmount *nmp, NFSPROC_T *p) argument 1884 struct nfsmount *nmp; local 2206 struct nfsmount *nmp; local 2780 nfscl_dumpstate(struct nfsmount *nmp, int openowner, int opens, int lockowner, int locks) argument 3778 nfscl_recalldeleg(struct nfsclclient *clp, struct nfsmount *nmp, struct nfscldeleg *dp, vnode_t vp, struct ucred *cred, NFSPROC_T *p, int called_from_renewthread) argument 3933 nfscl_moveopen(vnode_t vp, struct nfsclclient *clp, struct nfsmount *nmp, struct nfsclopen *lop, struct nfsclowner *owp, struct nfscldeleg *dp, struct ucred *cred, NFSPROC_T *p) argument 4009 nfscl_relock(vnode_t vp, struct nfsclclient *clp, struct nfsmount *nmp, struct nfscllockowner *lp, struct nfscllock *lop, struct ucred *cred, NFSPROC_T *p) argument 4044 nfsrpc_reopen(struct nfsmount *nmp, u_int8_t *fhp, int fhlen, u_int32_t mode, struct nfsclopen *op, struct nfscldeleg **dpp, struct ucred *cred, NFSPROC_T *p) argument 4074 nfscl_tryopen(struct nfsmount *nmp, vnode_t vp, u_int8_t *fhp, int fhlen, u_int8_t *newfhp, int newfhlen, u_int32_t mode, struct nfsclopen *op, u_int8_t *name, int namelen, struct nfscldeleg **ndpp, int reclaim, u_int32_t delegtype, struct ucred *cred, NFSPROC_T *p) argument 4108 nfscl_trylock(struct nfsmount *nmp, vnode_t vp, u_int8_t *fhp, int fhlen, struct nfscllockowner *nlp, int newone, int reclaim, u_int64_t off, u_int64_t len, short type, struct ucred *cred, NFSPROC_T *p) argument 4146 nfscl_trydelegreturn(struct nfscldeleg *dp, struct ucred *cred, struct nfsmount *nmp, NFSPROC_T *p) argument 4174 nfscl_tryclose(struct nfsclopen *op, struct ucred *cred, struct nfsmount *nmp, NFSPROC_T *p) argument 4208 struct nfsmount *nmp; local 4242 struct nfsmount *nmp; local 4276 struct nfsmount *nmp; local 4373 struct nfsmount *nmp; local 4502 nfscl_getref(struct nfsmount *nmp) argument 4521 nfscl_relref(struct nfsmount *nmp) argument 4545 struct nfsmount *nmp; local 4572 struct nfsmount *nmp; local 4599 struct nfsmount *nmp; local 4628 struct nfsmount *nmp; local 4679 nfscl_layout(struct nfsmount *nmp, vnode_t vp, u_int8_t *fhp, int fhlen, nfsv4stateid_t *stateidp, int retonclose, struct nfsclflayouthead *fhlp, struct nfscllayout **lypp, struct ucred *cred, NFSPROC_T *p) argument 4968 nfscl_adddevinfo(struct nfsmount *nmp, struct nfscldevinfo *dip, struct nfsclflayout *flp) argument 5124 nfscl_layoutreturn(struct nfsmount *nmp, struct nfscllayout *lyp, struct ucred *cred, NFSPROC_T *p) argument 5145 nfscl_dolayoutcommit(struct nfsmount *nmp, struct nfscllayout *lyp, struct ucred *cred, NFSPROC_T *p) argument 5181 struct nfsmount *nmp; local [all...] |
H A D | nfs_clnode.c | 104 struct nfsmount *nmp; local 107 nmp = VFSTONFS(mntp); 154 if ((fhsize == nmp->nm_fhsize) && 155 !bcmp(fhp, nmp->nm_fh, fhsize)) {
|
/freebsd-10.0-release/sys/fs/nfs/ |
H A D | nfs_commonkrpc.c | 159 newnfs_connect(struct nfsmount *nmp, struct nfssockreq *nrp, argument 233 if (nmp != NULL) { 244 if (nmp != NULL) { 264 if (nmp != NULL) { 265 if ((nmp->nm_flag & NFSMNT_INT)) 267 if ((nmp->nm_flag & NFSMNT_RESVPORT)) 269 if (NFSHASSOFT(nmp)) { 270 if (nmp->nm_sotype == SOCK_DGRAM) 279 retries = nmp->nm_retry; 282 if (NFSHASNFSV4N(nmp)) { 443 struct nfsmount *nmp = nf->nf_mount; local 472 newnfs_request(struct nfsrv_descript *nd, struct nfsmount *nmp, struct nfsclient *clp, struct nfssockreq *nrp, vnode_t vp, struct thread *td, struct ucred *cred, u_int32_t prog, u_int32_t vers, u_char *retsum, int toplevel, u_int64_t *xidp, struct nfsclsession *sep) argument 1012 newnfs_nmcancelreqs(struct nfsmount *nmp) argument 1118 newnfs_sigintr(struct nfsmount *nmp, struct thread *td) argument 1163 nfs_down(struct nfsmount *nmp, struct thread *td, const char *msg, int error, int flags) argument 1188 nfs_up(struct nfsmount *nmp, struct thread *td, const char *msg, int flags, int tprintfmsg) argument [all...] |
/freebsd-10.0-release/sys/fs/nandfs/ |
H A D | nandfs_vfsops.c | 791 struct nandfsmount *nmp; local 795 STAILQ_FOREACH(nmp, &nandfsdev->nd_mounts, nm_next_mount) { 796 if (nmp->nm_mount_args.cpno == args->cpno) 805 STAILQ_FOREACH(nmp, &nandfsdev->nd_mounts, nm_next_mount) { 807 if ((nmp->nm_vfs_mountp->mnt_flag & MNT_RDONLY)==0) 810 last_cno = nmp->nm_nandfsdev->nd_super.s_last_cno; 811 if (nmp->nm_mount_args.cpno == last_cno) 943 nandfs_mount_checkpoint(struct nandfsmount *nmp) argument 954 cpno = nmp->nm_mount_args.cpno; 956 cpno = nmp 1052 struct nandfsmount *nmp = VFSTONANDFS(mp); local 1104 nandfs_syncer(struct nandfsmount *nmp) argument 1145 start_syncer(struct nandfsmount *nmp) argument 1165 stop_syncer(struct nandfsmount *nmp) argument 1182 struct nandfsmount *nmp; local 1331 struct nandfsmount *nmp = NULL; local 1435 struct nandfsmount *nmp; local 1481 struct nandfsmount *nmp; local 1530 struct nandfsmount *nmp = VFSTONANDFS(mp); local 1549 struct nandfsmount *nmp = VFSTONANDFS(mp); local 1563 struct nandfsmount *nmp = VFSTONANDFS(mp); local [all...] |
H A D | nandfs_ifile.c | 54 nandfs_node_create(struct nandfsmount *nmp, struct nandfs_node **node, argument 66 nandfsdev = nmp->nm_nandfsdev; 68 ifile = nmp->nm_ifile_node; 99 error = nandfs_get_node(nmp, req.entrynum, node); 110 struct nandfsmount *nmp; local 116 nmp = node->nn_nmp; 118 mdt = &nmp->nm_nandfsdev->nd_ifile_mdt; 119 ifile = nmp->nm_ifile_node; 154 struct nandfsmount *nmp; local 161 nmp 186 nandfs_get_node_entry(struct nandfsmount *nmp, struct nandfs_inode **inode, uint64_t ino, struct buf **bp) argument [all...] |
H A D | nandfs_subr.c | 628 nandfs_get_node_raw(struct nandfs_device *nandfsdev, struct nandfsmount *nmp, argument 639 if (nmp) { 640 mp = nmp->nm_vfs_mountp; 675 node->nn_nmp = nmp; 695 nandfs_get_node(struct nandfsmount *nmp, uint64_t ino, argument 717 error = vfs_hash_get(nmp->nm_vfs_mountp, ino, LK_EXCLUSIVE, td, &nvp, 728 nandfsdev = nmp->nm_nandfsdev; 732 VOP_LOCK(NTOV(nmp->nm_ifile_node), LK_SHARED); 733 error = nandfs_bread(nmp->nm_ifile_node, ivblocknr, NOCRED, 0, &bp); 736 VOP_UNLOCK(NTOV(nmp 856 nandfs_get_fsinfo(struct nandfsmount *nmp, struct nandfs_fsinfo *fsinfo) argument [all...] |
/freebsd-10.0-release/lib/libmp/ |
H A D | mpasbn.c | 224 * Compute qmp=nmp/dmp and rmp=nmp%dmp. 227 _mdiv(const char *msg, const MINT *nmp, const MINT *dmp, MINT *qmp, MINT *rmp, argument 234 BN_ERRCHECK(msg, BN_div(&q, &r, nmp->bn, dmp->bn, c)); 242 mp_mdiv(const MINT *nmp, const MINT *dmp, MINT *qmp, MINT *rmp) argument 249 _mdiv("mdiv", nmp, dmp, qmp, rmp, c); 346 * Compute the square root of nmp and put the result in xmp. The 347 * remainder goes in rmp. Should satisfy: rmp=nmp-(xmp*xmp). 360 mp_msqrt(const MINT *nmp, MINT *xmp, MINT *rmp) argument 379 _mdiv("msqrt", nmp, 548 _sdiv(const char *msg, const MINT *nmp, short d, MINT *qmp, short *ro, BN_CTX *c) argument 575 mp_sdiv(const MINT *nmp, short d, MINT *qmp, short *ro) argument [all...] |
/freebsd-10.0-release/contrib/ntp/libparse/ |
H A D | parsesolaris.c | 642 register mblk_t *nmp; local 681 nmp = (mblk_t *)NULL; 682 if (canputnext(parse->parse_queue) && (nmp = allocb(sizeof(parsetime_t), BPRI_MED))) 684 bcopy((caddr_t)&parse->parse_io.parse_dtime, (caddr_t)nmp->b_rptr, sizeof(parsetime_t)); 685 nmp->b_wptr += sizeof(parsetime_t); 686 putnext(parse->parse_queue, nmp); 689 if (nmp) freemsg(nmp); 702 nmp = (mblk_t *)NULL; 703 if (canputnext(parse->parse_queue) && (nmp 728 register mblk_t *nmp; local [all...] |
H A D | parsestreams.c | 799 register mblk_t *nmp; local 836 nmp = (mblk_t *)NULL; 837 if (canput(parse->parse_queue->q_next) && (nmp = allocb(sizeof(parsetime_t), BPRI_MED))) 839 bcopy((caddr_t)&parse->parse_io.parse_dtime, (caddr_t)nmp->b_rptr, sizeof(parsetime_t)); 840 nmp->b_wptr += sizeof(parsetime_t); 841 putnext(parse->parse_queue, nmp); 844 if (nmp) freemsg(nmp); 857 nmp = (mblk_t *)NULL; 858 if (canput(parse->parse_queue->q_next) && (nmp 882 register mblk_t *nmp; local [all...] |
/freebsd-10.0-release/sys/nlm/ |
H A D | nlm_advlock.c | 132 struct nfsmount *nmp = nf->nf_nmp; local 134 if (nmp == NULL) 136 mtx_lock(&nmp->nm_mtx); 137 if (!(nmp->nm_state & NFSSTA_LOCKTIMEO)) { 138 nmp->nm_state |= NFSSTA_LOCKTIMEO; 139 mtx_unlock(&nmp->nm_mtx); 140 vfs_event_signal(&nmp->nm_mountp->mnt_stat.f_fsid, 143 mtx_unlock(&nmp->nm_mtx); 147 nlm_msg(td, nmp->nm_mountp->mnt_stat.f_mntfromname, msg, error); 154 struct nfsmount *nmp local 199 struct nfsmount *nmp; local [all...] |
/freebsd-10.0-release/lib/libefi/ |
H A D | libefi.c | 101 libefi_utf8_to_ucs2(char *name, size_t *szp, u_short **nmp) argument 109 *nmp = nm = malloc(sz);
|
/freebsd-10.0-release/sys/dev/qlxgbe/ |
H A D | ql_glbl.h | 48 extern int ql_get_mbuf(qla_host_t *ha, qla_rx_buf_t *rxb, struct mbuf *nmp);
|
/freebsd-10.0-release/sys/dev/qlxge/ |
H A D | qls_glbl.h | 49 extern int qls_get_mbuf(qla_host_t *ha, qla_rx_buf_t *rxb, struct mbuf *nmp);
|