/freebsd-10-stable/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...] |
/freebsd-10-stable/sys/ia64/include/ |
H A D | pcpu.h | 95 __pcpu_type(pc_ ## name) *nmp; \ 98 "=r"(nmp) : "i"(__pcpu_offset(pc_ ## name))); \ 99 *nmp += val; \ 104 ({ __pcpu_type(pc_ ## name) *nmp; \ 108 "=r"(nmp) : "i"(__pcpu_offset(pc_ ## name))); \ 109 res = *nmp; \ 117 ({ __pcpu_type(pc_ ## name) *nmp; \ 119 "=r"(nmp) : "i"(__pcpu_offset(pc_ ## name))); \ 120 nmp; \ 125 __pcpu_type(pc_ ## name) *nmp; \ [all...] |
/freebsd-10-stable/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 > NFS_MAXBSIZE) 200 nmp 278 struct nfsmount *nmp = VFSTONFS(mp); local 354 ncl_fsinfo(struct nfsmount *nmp, struct vnode *vp, struct ucred *cred, struct thread *td) argument 554 nfs_decode_args(struct mount *mp, struct nfsmount *nmp, struct nfs_args *argp, const char *hostname, struct ucred *cred, struct thread *td) argument 1063 struct nfsmount *nmp = VFSTONFS(mp); local 1263 struct nfsmount *nmp; local 1548 struct nfsmount *nmp; local 1618 struct nfsmount *nmp; local 1695 struct nfsmount *nmp = VFSTONFS(mp); local 1765 struct nfsmount *nmp = VFSTONFS(mp); local 1778 struct nfsmount *nmp; local 1802 nfscl_printopt(struct nfsmount *nmp, int testval, char *opt, char **buf, size_t *blen) argument 1819 nfscl_printoptval(struct nfsmount *nmp, int optval, char *opt, char **buf, size_t *blen) argument 1837 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 | nfsmount.h | 121 nfsmnt_mdssession(struct nfsmount *nmp) argument 126 mtx_lock(&nmp->nm_mtx); 127 if (TAILQ_FIRST(&nmp->nm_sess) != NULL) 128 tsep = NFSMNT_MDSSESSION(nmp); 129 mtx_unlock(&nmp->nm_mtx);
|
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 1287 struct nfsmount *nmp; local 1320 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 1398 ncl_asyncio(struct nfsmount *nmp, struct buf *bp, struct ucred *cred, struct thread *td) argument 1592 struct nfsmount *nmp; local [all...] |
H A D | nfs_clrpcops.c | 263 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 297 if (nmp->nm_clp != NULL) 298 clidrev = nmp->nm_clp->nfsc_clientidrev; 303 error = nfsrpc_openrpc(nmp, vp, np->n_v4->n4_data, 324 (void) nfscl_deleg(nmp->nm_mountp, 349 nfscl_openrelease(nmp, op, error, newone); 356 expireret = nfscl_hasexpired(nmp->nm_clp, clidrev, p); 373 nfsrpc_openrpc(struct nfsmount *nmp, vnode_t vp, u_int8_t *nfhp, int fhlen, argument 390 nfscl_reqstart(nd, NFSPROC_OPEN, nmp, nfhp, fhlen, NULL, NULL); 395 tsep = nfsmnt_mdssession(nmp); 639 nfsrpc_doclose(struct nfsmount *nmp, struct nfsclopen *op, NFSPROC_T *p) argument 736 nfsrpc_closerpc(struct nfsrv_descript *nd, struct nfsmount *nmp, struct nfsclopen *op, struct ucred *cred, NFSPROC_T *p, int syscred) argument 780 struct nfsmount *nmp; local 817 nfsrpc_setclient(struct nfsmount *nmp, struct nfsclclient *clp, int reclaim, struct ucred *cred, NFSPROC_T *p) argument 1043 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 1089 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 1216 struct nfsmount *nmp; local 1374 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 1440 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 1533 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 1610 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 1877 struct nfsmount *nmp = VFSTONFS(vnode_mount(dvp)); local 1998 struct nfsmount *nmp; local 2237 struct nfsmount *nmp; local 2314 struct nfsmount *nmp; local 2535 struct nfsmount *nmp; local 2599 struct nfsmount *nmp; local 2735 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 3170 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 3657 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 3708 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 3876 struct nfsmount *nmp; local 3943 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 3993 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 4088 struct nfsmount *nmp; local 4166 struct nfsmount *nmp; local 4267 struct nfsmount *nmp; local 4311 nfsrpc_rellockown(struct nfsmount *nmp, struct nfscllockowner *lp, uint8_t *fh, int fhlen, struct ucred *cred, NFSPROC_T *p) argument 4350 nfsrpc_getdirpath(struct nfsmount *nmp, u_char *dirpath, struct ucred *cred, NFSPROC_T *p) argument 4418 nfsrpc_delegreturn(struct nfscldeleg *dp, struct ucred *cred, struct nfsmount *nmp, NFSPROC_T *p, int syscred) argument 4457 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 4485 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 4503 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 4525 nfsrpc_exchangeid(struct nfsmount *nmp, struct nfsclclient *clp, struct nfssockreq *nrp, uint32_t exchflags, struct nfsclds **dspp, struct ucred *cred, NFSPROC_T *p) argument 4610 nfsrpc_createsession(struct nfsmount *nmp, struct nfsclsession *sep, struct nfssockreq *nrp, uint32_t sequenceid, int mds, struct ucred *cred, NFSPROC_T *p) argument 4729 nfsrpc_destroysession(struct nfsmount *nmp, struct nfsclclient *clp, struct ucred *cred, NFSPROC_T *p) argument 4756 nfsrpc_destroyclient(struct nfsmount *nmp, struct nfsclclient *clp, struct ucred *cred, NFSPROC_T *p) argument 4784 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 4940 nfsrpc_getdeviceinfo(struct nfsmount *nmp, uint8_t *deviceid, int layouttype, uint32_t *notifybitsp, struct nfscldevinfo **ndip, struct ucred *cred, NFSPROC_T *p) argument 5100 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 5159 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 5227 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 5315 nfsrpc_fillsa(struct nfsmount *nmp, struct sockaddr_storage *ssp, struct nfsclds **dspp, NFSPROC_T *p) argument 5495 nfsrpc_reclaimcomplete(struct nfsmount *nmp, struct ucred *cred, NFSPROC_T *p) argument 5541 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 5803 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 5845 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 5965 nfscl_getsameserver(struct nfsmount *nmp, struct nfsclds *newdsp, struct nfsclds **retdspp) argument 6014 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local [all...] |
H A D | nfs_clport.c | 119 struct nfsmount *nmp; local 121 nmp = VFSTONFS(mntp); 160 if ((nmp->nm_flag & NFSMNT_NFSV4) && np->n_v4 != NULL && 224 if ((nfhp->nfh_len == nmp->nm_fhsize) && 225 !bcmp(nfhp->nfh_fh, nmp->nm_fh, nfhp->nfh_len)) { 236 if (nmp->nm_flag & NFSMNT_NFSV4) { 364 struct nfsmount *nmp; local 384 nmp = VFSTONFS(vp->v_mount); 406 if (NFSHASNFSV4(nmp) && NFSHASHASSETFSID(nmp) 866 struct nfsmount *nmp; local 884 nfscl_loadsbinfo(struct nfsmount *nmp, struct nfsstatfs *sfp, void *statfs) argument 927 nfscl_loadfsinfo(struct nfsmount *nmp, struct nfsfsinfo *fsp) argument 975 nfscl_getmyip(struct nfsmount *nmp, int *isinet6p) argument [all...] |
H A D | nfs_clsubs.c | 183 struct nfsmount *nmp; local 188 nmp = VFSTONFS(vp->v_mount); 200 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acdirmin) 201 timeo = nmp->nm_acdirmin; 202 else if (timeo > nmp->nm_acdirmax) 203 timeo = nmp->nm_acdirmax; 205 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acregmin) 206 timeo = nmp->nm_acregmin; 207 else if (timeo > nmp->nm_acregmax) 208 timeo = nmp [all...] |
H A D | nfs_clstate.c | 509 struct nfsmount *nmp; local 527 nmp = VFSTONFS(vnode_mount(vp)); 529 clp = nfscl_findcl(nmp); 621 if (top == NULL || NFSHASOPENMODE(nmp)) { 723 nfscl_ownerrelease(struct nfsmount *nmp, struct nfsclowner *owp, argument 731 if (NFSHASONEOPENOWN(nmp)) 744 nfscl_openrelease(struct nfsmount *nmp, struct nfsclopen *op, int error, argument 754 if (NFSHASONEOPENOWN(nmp)) 783 struct nfsmount *nmp; local 788 nmp 941 nfscl_findcl(struct nfsmount *nmp) argument 1493 nfscl_expireopen(struct nfsclclient *clp, struct nfsclopen *op, struct nfsmount *nmp, struct ucred *cred, NFSPROC_T *p) argument 1652 nfscl_expireclient(struct nfsclclient *clp, struct nfsmount *nmp, struct ucred *cred, NFSPROC_T *p) argument 1877 nfscl_umount(struct nfsmount *nmp, NFSPROC_T *p) argument 1969 struct nfsmount *nmp; local 2289 struct nfsmount *nmp; local 2863 nfscl_dumpstate(struct nfsmount *nmp, int openowner, int opens, int lockowner, int locks) argument 3882 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 4036 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 4110 nfscl_relock(vnode_t vp, struct nfsclclient *clp, struct nfsmount *nmp, struct nfscllockowner *lp, struct nfscllock *lop, struct ucred *cred, NFSPROC_T *p) argument 4145 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 4175 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 4209 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 4247 nfscl_trydelegreturn(struct nfscldeleg *dp, struct ucred *cred, struct nfsmount *nmp, NFSPROC_T *p) argument 4275 nfscl_tryclose(struct nfsclopen *op, struct ucred *cred, struct nfsmount *nmp, NFSPROC_T *p) argument 4309 struct nfsmount *nmp; local 4343 struct nfsmount *nmp; local 4377 struct nfsmount *nmp; local 4474 struct nfsmount *nmp; local 4603 nfscl_getref(struct nfsmount *nmp) argument 4622 nfscl_relref(struct nfsmount *nmp) argument 4646 struct nfsmount *nmp; local 4673 struct nfsmount *nmp; local 4700 struct nfsmount *nmp; local 4729 struct nfsmount *nmp; local 4785 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 5078 nfscl_adddevinfo(struct nfsmount *nmp, struct nfscldevinfo *dip, struct nfsclflayout *flp) argument 5234 nfscl_layoutreturn(struct nfsmount *nmp, struct nfscllayout *lyp, struct ucred *cred, NFSPROC_T *p) argument 5255 nfscl_dolayoutcommit(struct nfsmount *nmp, struct nfscllayout *lyp, struct ucred *cred, NFSPROC_T *p) argument 5291 struct nfsmount *nmp; local [all...] |
H A D | nfs_clnode.c | 106 struct nfsmount *nmp; local 109 nmp = VFSTONFS(mntp); 156 if ((fhsize == nmp->nm_fhsize) && 157 !bcmp(fhp, nmp->nm_fh, fhsize)) {
|
/freebsd-10-stable/sys/fs/nfs/ |
H A D | nfs_commonkrpc.c | 161 newnfs_connect(struct nfsmount *nmp, struct nfssockreq *nrp, argument 234 if (nmp != NULL && nrp->nr_sotype == SOCK_STREAM && 240 if (nmp != NULL) { 251 if (nmp != NULL) { 261 if (error != 0 && nmp != NULL && nrp->nr_sotype == SOCK_STREAM && 275 if (nmp != NULL) { 276 if ((nmp->nm_flag & NFSMNT_INT)) 278 if ((nmp->nm_flag & NFSMNT_RESVPORT)) 280 if (NFSHASSOFT(nmp)) { 281 if (nmp 456 struct nfsmount *nmp = nf->nf_mount; local 485 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 *dssep) argument 1126 newnfs_nmcancelreqs(struct nfsmount *nmp) argument 1252 newnfs_sigintr(struct nfsmount *nmp, struct thread *td) argument 1297 nfs_down(struct nfsmount *nmp, struct thread *td, const char *msg, int error, int flags) argument 1322 nfs_up(struct nfsmount *nmp, struct thread *td, const char *msg, int flags, int tprintfmsg) argument [all...] |
/freebsd-10-stable/sys/fs/nandfs/ |
H A D | nandfs_vfsops.c | 793 struct nandfsmount *nmp; local 797 STAILQ_FOREACH(nmp, &nandfsdev->nd_mounts, nm_next_mount) { 798 if (nmp->nm_mount_args.cpno == args->cpno) 807 STAILQ_FOREACH(nmp, &nandfsdev->nd_mounts, nm_next_mount) { 809 if ((nmp->nm_vfs_mountp->mnt_flag & MNT_RDONLY)==0) 812 last_cno = nmp->nm_nandfsdev->nd_super.s_last_cno; 813 if (nmp->nm_mount_args.cpno == last_cno) 945 nandfs_mount_checkpoint(struct nandfsmount *nmp) argument 956 cpno = nmp->nm_mount_args.cpno; 958 cpno = nmp 1054 struct nandfsmount *nmp = VFSTONANDFS(mp); local 1106 nandfs_syncer(struct nandfsmount *nmp) argument 1147 start_syncer(struct nandfsmount *nmp) argument 1167 stop_syncer(struct nandfsmount *nmp) argument 1184 struct nandfsmount *nmp; local 1333 struct nandfsmount *nmp = NULL; local 1438 struct nandfsmount *nmp; local 1484 struct nandfsmount *nmp; local 1533 struct nandfsmount *nmp = VFSTONANDFS(mp); local 1552 struct nandfsmount *nmp = VFSTONANDFS(mp); local 1566 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-stable/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-stable/contrib/ntp/libparse/ |
H A D | parsesolaris.c | 644 register mblk_t *nmp; local 683 nmp = (mblk_t *)NULL; 684 if (canputnext(parse->parse_queue) && (nmp = allocb(sizeof(parsetime_t), BPRI_MED))) 686 bcopy((caddr_t)&parse->parse_io.parse_dtime, (caddr_t)nmp->b_rptr, sizeof(parsetime_t)); 687 nmp->b_wptr += sizeof(parsetime_t); 688 putnext(parse->parse_queue, nmp); 691 if (nmp) freemsg(nmp); 704 nmp = (mblk_t *)NULL; 705 if (canputnext(parse->parse_queue) && (nmp 730 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-stable/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-stable/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-stable/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);
|