/freebsd-11-stable/sys/fs/nfsclient/ |
H A D | nfs_clvfsops.c | 110 static void nfs_decode_args(struct mount *mp, struct nfsmount *nmp, 186 newnfs_iosize(struct nfsmount *nmp) argument 191 if (nmp->nm_flag & NFSMNT_NFSV4) { 193 } else if (nmp->nm_flag & NFSMNT_NFSV3) { 194 if (nmp->nm_sotype == SOCK_DGRAM) 201 if (nmp->nm_rsize > maxio || nmp->nm_rsize == 0) 202 nmp->nm_rsize = maxio; 203 if (nmp->nm_rsize > NFS_MAXBSIZE) 204 nmp 282 struct nfsmount *nmp = VFSTONFS(mp); local 358 ncl_fsinfo(struct nfsmount *nmp, struct vnode *vp, struct ucred *cred, struct thread *td) argument 553 nfs_decode_args(struct mount *mp, struct nfsmount *nmp, struct nfs_args *argp, const char *hostname, struct ucred *cred, struct thread *td) argument 1162 struct nfsmount *nmp = VFSTONFS(mp); local 1379 struct nfsmount *nmp; local 1662 struct nfsmount *nmp; local 1750 struct nfsmount *nmp; local 1827 struct nfsmount *nmp = VFSTONFS(mp); local 1897 struct nfsmount *nmp = VFSTONFS(mp); local 1910 struct nfsmount *nmp; local 1934 nfscl_printopt(struct nfsmount *nmp, int testval, char *opt, char **buf, size_t *blen) argument 1951 nfscl_printoptval(struct nfsmount *nmp, int optval, char *opt, char **buf, size_t *blen) argument 1969 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 | 126 nfsmnt_mdssession(struct nfsmount *nmp) argument 131 mtx_lock(&nmp->nm_mtx); 132 if (TAILQ_FIRST(&nmp->nm_sess) != NULL) 133 tsep = NFSMNT_MDSSESSION(nmp); 134 mtx_unlock(&nmp->nm_mtx);
|
H A D | nfs_clport.c | 133 struct nfsmount *nmp; local 135 nmp = VFSTONFS(mntp); 174 if ((nmp->nm_flag & NFSMNT_NFSV4) && np->n_v4 != NULL && 240 if ((nfhp->nfh_len == nmp->nm_fhsize) && 241 !bcmp(nfhp->nfh_fh, nmp->nm_fh, nfhp->nfh_len)) { 252 if (nmp->nm_flag & NFSMNT_NFSV4) { 367 nfscl_warn_fileid(struct nfsmount *nmp, struct nfsvattr *oldnap, argument 384 nmp->nm_com.nmcom_hostname, 385 (uintmax_t)nmp->nm_fsid[0], 386 (uintmax_t)nmp 412 struct nfsmount *nmp; local 946 struct nfsmount *nmp; local 964 nfscl_loadsbinfo(struct nfsmount *nmp, struct nfsstatfs *sfp, void *statfs) argument 1007 nfscl_loadfsinfo(struct nfsmount *nmp, struct nfsfsinfo *fsp) argument 1057 nfscl_getmyip(struct nfsmount *nmp, struct in6_addr *paddr, int *isinet6p) argument 1320 struct nfsmount *nmp; local [all...] |
H A D | nfs_clbio.c | 126 struct nfsmount *nmp; local 135 nmp = VFSTONFS(vp->v_mount); 154 mtx_lock(&nmp->nm_mtx); 155 if ((nmp->nm_flag & NFSMNT_NFSV3) != 0 && 156 (nmp->nm_state & NFSSTA_GOTFSINFO) == 0) { 157 mtx_unlock(&nmp->nm_mtx); 159 (void)ncl_fsinfo(nmp, vp, cred, td); 161 mtx_unlock(&nmp->nm_mtx); 275 struct nfsmount *nmp; local 287 nmp 429 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 729 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 872 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 1286 struct nfsmount *nmp; local 1319 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 1391 ncl_asyncio(struct nfsmount *nmp, struct buf *bp, struct ucred *cred, struct thread *td) argument 1585 struct nfsmount *nmp; local [all...] |
H A D | nfs_clsubs.c | 184 struct nfsmount *nmp; local 189 nmp = VFSTONFS(vp->v_mount); 201 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acdirmin) 202 timeo = nmp->nm_acdirmin; 203 else if (timeo > nmp->nm_acdirmax) 204 timeo = nmp->nm_acdirmax; 206 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acregmin) 207 timeo = nmp->nm_acregmin; 208 else if (timeo > nmp->nm_acregmax) 209 timeo = nmp [all...] |
H A D | nfs_clrpcops.c | 284 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 318 if (nmp->nm_clp != NULL) 319 clidrev = nmp->nm_clp->nfsc_clientidrev; 328 if (!NFSHASPNFS(nmp) || nfscl_enablecallb == 0 || 331 error = nfsrpc_openrpc(nmp, vp, 339 error = nfsrpc_getopenlayout(nmp, vp, 361 (void) nfscl_deleg(nmp->nm_mountp, 386 nfscl_openrelease(nmp, op, error, newone); 393 expireret = nfscl_hasexpired(nmp->nm_clp, clidrev, p); 410 nfsrpc_openrpc(struct nfsmount *nmp, vnode_ argument 678 nfsrpc_doclose(struct nfsmount *nmp, struct nfsclopen *op, NFSPROC_T *p) argument 775 nfsrpc_closerpc(struct nfsrv_descript *nd, struct nfsmount *nmp, struct nfsclopen *op, struct ucred *cred, NFSPROC_T *p, int syscred) argument 819 struct nfsmount *nmp; local 856 nfsrpc_setclient(struct nfsmount *nmp, struct nfsclclient *clp, int reclaim, struct ucred *cred, NFSPROC_T *p) argument 1083 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 1129 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 1256 struct nfsmount *nmp; local 1414 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 1480 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 1573 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 1650 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 1917 struct nfsmount *nmp = VFSTONFS(vnode_mount(dvp)); local 2044 struct nfsmount *nmp; local 2283 struct nfsmount *nmp; local 2360 struct nfsmount *nmp; local 2581 struct nfsmount *nmp; local 2645 struct nfsmount *nmp; local 2781 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 3216 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 3703 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 3754 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 3922 struct nfsmount *nmp; local 3989 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 4039 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 4134 struct nfsmount *nmp; local 4212 struct nfsmount *nmp; local 4313 struct nfsmount *nmp; local 4357 nfsrpc_rellockown(struct nfsmount *nmp, struct nfscllockowner *lp, uint8_t *fh, int fhlen, struct ucred *cred, NFSPROC_T *p) argument 4396 nfsrpc_getdirpath(struct nfsmount *nmp, u_char *dirpath, struct ucred *cred, NFSPROC_T *p) argument 4464 nfsrpc_delegreturn(struct nfscldeleg *dp, struct ucred *cred, struct nfsmount *nmp, NFSPROC_T *p, int syscred) argument 4503 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 4531 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 4549 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 4571 nfsrpc_exchangeid(struct nfsmount *nmp, struct nfsclclient *clp, struct nfssockreq *nrp, uint32_t exchflags, struct nfsclds **dspp, struct ucred *cred, NFSPROC_T *p) argument 4656 nfsrpc_createsession(struct nfsmount *nmp, struct nfsclsession *sep, struct nfssockreq *nrp, uint32_t sequenceid, int mds, struct ucred *cred, NFSPROC_T *p) argument 4775 nfsrpc_destroysession(struct nfsmount *nmp, struct nfsclclient *clp, struct ucred *cred, NFSPROC_T *p) argument 4802 nfsrpc_destroyclient(struct nfsmount *nmp, struct nfsclclient *clp, struct ucred *cred, NFSPROC_T *p) argument 4830 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 4859 nfsrpc_getdeviceinfo(struct nfsmount *nmp, uint8_t *deviceid, int layouttype, uint32_t *notifybitsp, struct nfscldevinfo **ndip, struct ucred *cred, NFSPROC_T *p) argument 5019 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 5078 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 5146 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 5211 nfsrpc_fillsa(struct nfsmount *nmp, struct sockaddr_storage *ssp, struct nfsclds **dspp, NFSPROC_T *p) argument 5391 nfsrpc_reclaimcomplete(struct nfsmount *nmp, struct ucred *cred, NFSPROC_T *p) argument 5437 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 5699 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 5741 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 5861 nfscl_getsameserver(struct nfsmount *nmp, struct nfsclds *newdsp, struct nfsclds **retdspp) argument 5910 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local 6108 nfsrpc_getopenlayout(struct nfsmount *nmp, vnode_t vp, u_int8_t *nfhp, int fhlen, uint8_t *newfhp, int newfhlen, uint32_t mode, struct nfsclopen *op, uint8_t *name, int namelen, struct nfscldeleg **dpp, struct ucred *cred, NFSPROC_T *p) argument 6177 nfsrpc_openlayoutrpc(struct nfsmount *nmp, vnode_t vp, u_int8_t *nfhp, int fhlen, uint8_t *newfhp, int newfhlen, uint32_t mode, struct nfsclopen *op, uint8_t *name, int namelen, struct nfscldeleg **dpp, nfsv4stateid_t *stateidp, int usecurstateid, int layoutlen, int *retonclosep, struct nfsclflayouthead *flhp, int *laystatp, struct ucred *cred, NFSPROC_T *p) argument 6369 struct nfsmount *nmp; local 6618 struct nfsmount *nmp; local 6651 nfsrpc_layoutgetres(struct nfsmount *nmp, vnode_t vp, uint8_t *newfhp, int newfhlen, nfsv4stateid_t *stateidp, int retonclose, uint32_t *notifybit, struct nfscllayout **lypp, struct nfsclflayouthead *flhp, int laystat, int *islockedp, struct ucred *cred, NFSPROC_T *p) argument [all...] |
H A D | nfs_clstate.c | 507 struct nfsmount *nmp; local 525 nmp = VFSTONFS(vnode_mount(vp)); 527 clp = nfscl_findcl(nmp); 619 if (top == NULL || NFSHASOPENMODE(nmp)) { 721 nfscl_ownerrelease(struct nfsmount *nmp, struct nfsclowner *owp, argument 729 if (NFSHASONEOPENOWN(nmp)) 742 nfscl_openrelease(struct nfsmount *nmp, struct nfsclopen *op, int error, argument 752 if (NFSHASONEOPENOWN(nmp)) 781 struct nfsmount *nmp; local 786 nmp 939 nfscl_findcl(struct nfsmount *nmp) argument 1491 nfscl_expireopen(struct nfsclclient *clp, struct nfsclopen *op, struct nfsmount *nmp, struct ucred *cred, NFSPROC_T *p) argument 1650 nfscl_expireclient(struct nfsclclient *clp, struct nfsmount *nmp, struct ucred *cred, NFSPROC_T *p) argument 1875 nfscl_umount(struct nfsmount *nmp, NFSPROC_T *p) argument 1967 struct nfsmount *nmp; local 2287 struct nfsmount *nmp; local 2861 nfscl_dumpstate(struct nfsmount *nmp, int openowner, int opens, int lockowner, int locks) argument 3880 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 4034 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 4108 nfscl_relock(vnode_t vp, struct nfsclclient *clp, struct nfsmount *nmp, struct nfscllockowner *lp, struct nfscllock *lop, struct ucred *cred, NFSPROC_T *p) argument 4143 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 4173 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 4207 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 4245 nfscl_trydelegreturn(struct nfscldeleg *dp, struct ucred *cred, struct nfsmount *nmp, NFSPROC_T *p) argument 4273 nfscl_tryclose(struct nfsclopen *op, struct ucred *cred, struct nfsmount *nmp, NFSPROC_T *p) argument 4307 struct nfsmount *nmp; local 4341 struct nfsmount *nmp; local 4375 struct nfsmount *nmp; local 4472 struct nfsmount *nmp; local 4601 nfscl_getref(struct nfsmount *nmp) argument 4620 nfscl_relref(struct nfsmount *nmp) argument 4644 struct nfsmount *nmp; local 4671 struct nfsmount *nmp; local 4698 struct nfsmount *nmp; local 4727 struct nfsmount *nmp; local 4783 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 5075 nfscl_adddevinfo(struct nfsmount *nmp, struct nfscldevinfo *dip, struct nfsclflayout *flp) argument 5231 nfscl_layoutreturn(struct nfsmount *nmp, struct nfscllayout *lyp, struct ucred *cred, NFSPROC_T *p) argument 5252 nfscl_dolayoutcommit(struct nfsmount *nmp, struct nfscllayout *lyp, struct ucred *cred, NFSPROC_T *p) argument 5288 struct nfsmount *nmp; local [all...] |
H A D | nfs_clnode.c | 104 struct nfsmount *nmp; local 107 nmp = VFSTONFS(mntp); 157 if ((fhsize == nmp->nm_fhsize) && 158 !bcmp(fhp, nmp->nm_fh, fhsize)) {
|
H A D | nfs_clcomsubs.c | 131 nfscl_reqstart(struct nfsrv_descript *nd, int procnum, struct nfsmount *nmp, argument 143 if (NFSHASNFSV4(nmp)) { 145 if (NFSHASNFSV4N(nmp)) 147 } else if (NFSHASNFSV3(nmp)) 209 sep = nfsmnt_mdssession(nmp); 210 nfsv4_setsequence(nmp, nd, sep, 213 nfsv4_setsequence(nmp, nd, sep,
|
H A D | nfs_clvnops.c | 266 * nmp->nm_mtx : Protects the fields in the nfsmount. 270 nmp->nm_mtx 1026 struct nfsmount *nmp; local 1041 nmp = VFSTONFS(mp); 1046 while (NFSHASNFSV4(nmp) && (np->n_flag & NREMOVEINPROG)) { 1090 if (!(nmp->nm_flag & NFSMNT_NOCTO) && 1099 ((u_int)(ticks - ncticks) < (nmp->nm_nametimeo * hz) && 1126 if ((u_int)(ticks - ncticks) < (nmp->nm_negnametimeo * hz) && 1354 struct nfsmount *nmp; local 1356 nmp 1385 struct nfsmount *nmp; local 1527 struct nfsmount *nmp; local 2263 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 2323 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 2546 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local 2658 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local [all...] |
/freebsd-11-stable/sys/fs/nfs/ |
H A D | nfs_commonkrpc.c | 160 newnfs_connect(struct nfsmount *nmp, struct nfssockreq *nrp, argument 233 if (nmp != NULL && nrp->nr_sotype == SOCK_STREAM && 239 if (nmp != NULL) { 250 if (nmp != NULL) { 260 if (error != 0 && nmp != NULL && nrp->nr_sotype == SOCK_STREAM && 274 if (nmp != NULL) { 275 if ((nmp->nm_flag & NFSMNT_INT)) 277 if ((nmp->nm_flag & NFSMNT_RESVPORT)) 279 if (NFSHASSOFT(nmp)) { 280 if (nmp 455 struct nfsmount *nmp = nf->nf_mount; local 484 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-11-stable/sys/fs/nandfs/ |
H A D | nandfs_vfsops.c | 802 struct nandfsmount *nmp; local 806 STAILQ_FOREACH(nmp, &nandfsdev->nd_mounts, nm_next_mount) { 807 if (nmp->nm_mount_args.cpno == args->cpno) 816 STAILQ_FOREACH(nmp, &nandfsdev->nd_mounts, nm_next_mount) { 818 if ((nmp->nm_vfs_mountp->mnt_flag & MNT_RDONLY)==0) 821 last_cno = nmp->nm_nandfsdev->nd_super.s_last_cno; 822 if (nmp->nm_mount_args.cpno == last_cno) 951 nandfs_mount_checkpoint(struct nandfsmount *nmp) argument 962 cpno = nmp->nm_mount_args.cpno; 964 cpno = nmp 1060 struct nandfsmount *nmp = VFSTONANDFS(mp); local 1112 nandfs_syncer(struct nandfsmount *nmp) argument 1153 start_syncer(struct nandfsmount *nmp) argument 1173 stop_syncer(struct nandfsmount *nmp) argument 1190 struct nandfsmount *nmp; local 1339 struct nandfsmount *nmp = NULL; local 1444 struct nandfsmount *nmp; local 1490 struct nandfsmount *nmp; local 1539 struct nandfsmount *nmp = VFSTONANDFS(mp); local 1558 struct nandfsmount *nmp = VFSTONANDFS(mp); local 1572 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; 673 node->nn_nmp = nmp; 693 nandfs_get_node(struct nandfsmount *nmp, uint64_t ino, argument 715 error = vfs_hash_get(nmp->nm_vfs_mountp, ino, LK_EXCLUSIVE, td, &nvp, 726 nandfsdev = nmp->nm_nandfsdev; 730 VOP_LOCK(NTOV(nmp->nm_ifile_node), LK_SHARED); 731 error = nandfs_bread(nmp->nm_ifile_node, ivblocknr, NOCRED, 0, &bp); 734 VOP_UNLOCK(NTOV(nmp 854 nandfs_get_fsinfo(struct nandfsmount *nmp, struct nandfs_fsinfo *fsinfo) argument [all...] |
H A D | nandfs_vnops.c | 310 struct nandfsmount *nmp; local 327 nmp = dir_node->nn_nmp; 377 error = nandfs_get_node(nmp, ino, &node); 438 error = nandfs_get_node(nmp, ino, &node); 459 error = nandfs_get_node(nmp, ino, &node); 466 error = nandfs_get_node(nmp, ino, &node); 1388 struct nandfsmount *nmp = dir_node->nn_nmp; local 1398 error = nandfs_node_create(nmp, &node, mode); 1832 struct nandfsmount *nmp = dir_node->nn_nmp; local 1844 error = nandfs_node_create(nmp, 1883 struct nandfsmount *nmp = dir_node->nn_nmp; local 1919 struct nandfsmount *nmp = dir_node->nn_nmp; local 2092 nandfs_force_syncer(struct nandfsmount *nmp) argument 2107 struct nandfsmount *nmp = node->nn_nmp; local [all...] |
H A D | nandfs_segment.c | 979 struct nandfsmount *nmp; local 990 nmp = VFSTONANDFS(vp->v_mount); 991 fsdev = nmp->nm_nandfsdev; 996 ifile = nmp->nm_ifile_node; 1118 nandfs_segment_constructor(struct nandfsmount *nmp, int flags) argument 1127 fsdev = nmp->nm_nandfsdev; 1138 ifile = nmp->nm_ifile_node; 1146 nandfs_iterate_dirty_vnodes(nmp->nm_vfs_mountp, seginfo); 1272 struct nandfsmount *nmp; local 1286 nmp [all...] |
/freebsd-11-stable/stand/efi/libefi/ |
H A D | efichar.c | 131 utf8_to_ucs2(const char *name, efi_char **nmp, size_t *len) argument 137 int freeit = *nmp == NULL; 140 if (*nmp == NULL) 141 *nmp = malloc(sz); 142 if (*nmp == NULL) 144 nm = *nmp; 190 *nmp = NULL; 201 *nmp = NULL;
|
/freebsd-11-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-11-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-11-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-11-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);
|
/freebsd-11-stable/sys/nfs/ |
H A D | nfs_lock.c | 243 struct nfsmount *nmp; local 251 nmp = VFSTONFS(vp->v_mount); 255 nmp->nm_getinfo(vp, msg.lm_fh, &msg.lm_fh_len, &msg.lm_addr,
|
/freebsd-11-stable/sys/dev/qlxgb/ |
H A D | qla_glbl.h | 56 extern int qla_get_mbuf(qla_host_t *ha, qla_rx_buf_t *rxb, struct mbuf *nmp,
|