Searched refs:nmp (Results 1 - 25 of 38) sorted by relevance

12

/freebsd-12-stable/sys/fs/nfsclient/
H A Dnfs_clvfsops.c113 static void nfs_decode_args(struct mount *mp, struct nfsmount *nmp,
190 newnfs_iosize(struct nfsmount *nmp) argument
195 if (nmp->nm_flag & NFSMNT_NFSV4) {
197 } else if (nmp->nm_flag & NFSMNT_NFSV3) {
198 if (nmp->nm_sotype == SOCK_DGRAM)
205 if (nmp->nm_rsize > maxio || nmp->nm_rsize == 0)
206 nmp->nm_rsize = maxio;
207 if (nmp->nm_rsize > NFS_MAXBSIZE)
208 nmp
286 struct nfsmount *nmp = VFSTONFS(mp); local
362 ncl_fsinfo(struct nfsmount *nmp, struct vnode *vp, struct ucred *cred, struct thread *td) argument
557 nfs_decode_args(struct mount *mp, struct nfsmount *nmp, struct nfs_args *argp, const char *hostname, struct ucred *cred, struct thread *td) argument
1166 struct nfsmount *nmp = VFSTONFS(mp); local
1383 struct nfsmount *nmp; local
1666 struct nfsmount *nmp; local
1761 struct nfsmount *nmp; local
1838 struct nfsmount *nmp = VFSTONFS(mp); local
1908 struct nfsmount *nmp = VFSTONFS(mp); local
1921 struct nfsmount *nmp; local
1945 nfscl_printopt(struct nfsmount *nmp, int testval, char *opt, char **buf, size_t *blen) argument
1962 nfscl_printoptval(struct nfsmount *nmp, int optval, char *opt, char **buf, size_t *blen) argument
1980 nfscl_retopts(struct nfsmount *nmp, char *buffer, size_t buflen) argument
[all...]
H A Dnfs_clnfsiod.c247 struct nfsmount *nmp; local
257 while (((nmp = ncl_iodmount[myiod]) == NULL)
258 || !TAILQ_FIRST(&nmp->nm_bufq)) {
261 if (nmp)
262 nmp->nm_bufqiods--;
273 nmp = ncl_iodmount[myiod];
279 if (nmp && TAILQ_FIRST(&nmp->nm_bufq))
286 while ((bp = TAILQ_FIRST(&nmp->nm_bufq)) != NULL) {
288 TAILQ_REMOVE(&nmp
[all...]
H A Dnfs_clport.c136 struct nfsmount *nmp; local
138 nmp = VFSTONFS(mntp);
177 if ((nmp->nm_flag & NFSMNT_NFSV4) && np->n_v4 != NULL &&
243 if ((nfhp->nfh_len == nmp->nm_fhsize) &&
244 !bcmp(nfhp->nfh_fh, nmp->nm_fh, nfhp->nfh_len)) {
257 if (nmp->nm_flag & NFSMNT_NFSV4) {
372 nfscl_warn_fileid(struct nfsmount *nmp, struct nfsvattr *oldnap, argument
389 nmp->nm_com.nmcom_hostname,
390 (uintmax_t)nmp->nm_fsid[0],
391 (uintmax_t)nmp
439 struct nfsmount *nmp; local
881 struct nfsmount *nmp; local
899 nfscl_loadsbinfo(struct nfsmount *nmp, struct nfsstatfs *sfp, void *statfs) argument
942 nfscl_loadfsinfo(struct nfsmount *nmp, struct nfsfsinfo *fsp) argument
992 nfscl_getmyip(struct nfsmount *nmp, struct in6_addr *paddr, int *isinet6p) argument
1254 struct nfsmount *nmp; local
[all...]
H A Dnfs_clbio.c128 struct nfsmount *nmp; local
137 nmp = VFSTONFS(vp->v_mount);
156 mtx_lock(&nmp->nm_mtx);
157 if ((nmp->nm_flag & NFSMNT_NFSV3) != 0 &&
158 (nmp->nm_state & NFSSTA_GOTFSINFO) == 0) {
159 mtx_unlock(&nmp->nm_mtx);
161 (void)ncl_fsinfo(nmp, vp, cred, td);
163 mtx_unlock(&nmp->nm_mtx);
277 struct nfsmount *nmp; local
289 nmp
430 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local
760 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local
903 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local
1322 struct nfsmount *nmp; local
1355 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local
1427 ncl_asyncio(struct nfsmount *nmp, struct buf *bp, struct ucred *cred, struct thread *td) argument
1621 struct nfsmount *nmp; local
[all...]
H A Dnfs_clsubs.c186 struct nfsmount *nmp; local
193 nmp = VFSTONFS(vp->v_mount);
205 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acdirmin)
206 timeo = nmp->nm_acdirmin;
207 else if (timeo > nmp->nm_acdirmax)
208 timeo = nmp->nm_acdirmax;
210 if ((np->n_flag & NMODIFIED) || timeo < nmp->nm_acregmin)
211 timeo = nmp->nm_acregmin;
212 else if (timeo > nmp->nm_acregmax)
213 timeo = nmp
[all...]
H A Dnfs_clrpcops.c338 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
372 if (nmp->nm_clp != NULL)
373 clidrev = nmp->nm_clp->nfsc_clientidrev;
382 if (!NFSHASPNFS(nmp) || nfscl_enablecallb == 0 ||
385 error = nfsrpc_openrpc(nmp, vp,
393 error = nfsrpc_getopenlayout(nmp, vp,
415 (void) nfscl_deleg(nmp->nm_mountp,
440 nfscl_openrelease(nmp, op, error, newone);
447 expireret = nfscl_hasexpired(nmp->nm_clp, clidrev, p);
464 nfsrpc_openrpc(struct nfsmount *nmp, vnode_ argument
732 nfsrpc_doclose(struct nfsmount *nmp, struct nfsclopen *op, NFSPROC_T *p) argument
829 nfsrpc_closerpc(struct nfsrv_descript *nd, struct nfsmount *nmp, struct nfsclopen *op, struct ucred *cred, NFSPROC_T *p, int syscred) argument
873 struct nfsmount *nmp; local
911 nfsrpc_setclient(struct nfsmount *nmp, struct nfsclclient *clp, int reclaim, struct ucred *cred, NFSPROC_T *p) argument
1157 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
1203 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
1330 struct nfsmount *nmp; local
1488 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
1554 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
1647 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
1724 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
1991 struct nfsmount *nmp = VFSTONFS(vnode_mount(dvp)); local
2118 struct nfsmount *nmp; local
2357 struct nfsmount *nmp; local
2434 struct nfsmount *nmp; local
2655 struct nfsmount *nmp; local
2719 struct nfsmount *nmp; local
2855 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
3297 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
3795 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
3846 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
4014 struct nfsmount *nmp; local
4081 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
4131 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
4226 struct nfsmount *nmp; local
4304 struct nfsmount *nmp; local
4405 struct nfsmount *nmp; local
4453 nfsrpc_rellockown(struct nfsmount *nmp, struct nfscllockowner *lp, uint8_t *fh, int fhlen, struct ucred *cred, NFSPROC_T *p) argument
4492 nfsrpc_getdirpath(struct nfsmount *nmp, u_char *dirpath, struct ucred *cred, NFSPROC_T *p) argument
4561 nfsrpc_delegreturn(struct nfscldeleg *dp, struct ucred *cred, struct nfsmount *nmp, NFSPROC_T *p, int syscred) argument
4600 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
4628 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
4646 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
4668 nfsrpc_exchangeid(struct nfsmount *nmp, struct nfsclclient *clp, struct nfssockreq *nrp, uint32_t exchflags, struct nfsclds **dspp, struct ucred *cred, NFSPROC_T *p) argument
4753 nfsrpc_createsession(struct nfsmount *nmp, struct nfsclsession *sep, struct nfssockreq *nrp, uint32_t sequenceid, int mds, struct ucred *cred, NFSPROC_T *p) argument
4873 nfsrpc_destroysession(struct nfsmount *nmp, struct nfsclclient *clp, struct ucred *cred, NFSPROC_T *p) argument
4901 nfsrpc_destroyclient(struct nfsmount *nmp, struct nfsclclient *clp, struct ucred *cred, NFSPROC_T *p) argument
4930 nfsrpc_layoutget(struct nfsmount *nmp, uint8_t *fhp, int fhlen, int iomode, uint64_t offset, uint64_t len, uint64_t minlen, int layouttype, int layoutlen, nfsv4stateid_t *stateidp, int *retonclosep, struct nfsclflayouthead *flhp, struct ucred *cred, NFSPROC_T *p, void *stuff) argument
4961 nfsrpc_getdeviceinfo(struct nfsmount *nmp, uint8_t *deviceid, int layouttype, uint32_t *notifybitsp, struct nfscldevinfo **ndip, struct ucred *cred, NFSPROC_T *p) argument
5186 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, struct ucred *cred, NFSPROC_T *p, void *stuff) argument
5235 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, struct ucred *cred, NFSPROC_T *p, uint32_t stat, uint32_t op, char *devid) argument
5325 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
5394 nfsrpc_fillsa(struct nfsmount *nmp, struct sockaddr_in *sin, struct sockaddr_in6 *sin6, sa_family_t af, int vers, struct nfsclds **dspp, NFSPROC_T *p) argument
5588 nfsrpc_reclaimcomplete(struct nfsmount *nmp, struct ucred *cred, NFSPROC_T *p) argument
5635 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
6182 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
6254 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
6386 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
6570 nfscl_getsameserver(struct nfsmount *nmp, struct nfsclds *newdsp, struct nfsclds **retdspp, uint32_t *sequencep) argument
6619 struct nfsmount *nmp = VFSTONFS(vnode_mount(vp)); local
7080 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
7153 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 layouttype, int layoutlen, int *retonclosep, struct nfsclflayouthead *flhp, int *laystatp, struct ucred *cred, NFSPROC_T *p) argument
7345 struct nfsmount *nmp; local
7593 struct nfsmount *nmp; local
7631 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 layouttype, int laystat, int *islockedp, struct ucred *cred, NFSPROC_T *p) argument
[all...]
H A Dnfs_clstate.c511 struct nfsmount *nmp; local
529 nmp = VFSTONFS(vnode_mount(vp));
531 clp = nfscl_findcl(nmp);
623 if (top == NULL || NFSHASOPENMODE(nmp)) {
725 nfscl_ownerrelease(struct nfsmount *nmp, struct nfsclowner *owp, argument
733 if (NFSHASONEOPENOWN(nmp))
746 nfscl_openrelease(struct nfsmount *nmp, struct nfsclopen *op, int error, argument
756 if (NFSHASONEOPENOWN(nmp))
785 struct nfsmount *nmp; local
790 nmp
943 nfscl_findcl(struct nfsmount *nmp) argument
1495 nfscl_expireopen(struct nfsclclient *clp, struct nfsclopen *op, struct nfsmount *nmp, struct ucred *cred, NFSPROC_T *p) argument
1655 nfscl_expireclient(struct nfsclclient *clp, struct nfsmount *nmp, struct ucred *cred, NFSPROC_T *p) argument
1880 nfscl_umount(struct nfsmount *nmp, NFSPROC_T *p) argument
1971 struct nfsmount *nmp; local
2328 struct nfsmount *nmp; local
2929 nfscl_dumpstate(struct nfsmount *nmp, int openowner, int opens, int lockowner, int locks) argument
3995 nfscl_recalldeleg(struct nfsclclient *clp, struct nfsmount *nmp, struct nfscldeleg *dp, vnode_t vp, struct ucred *cred, NFSPROC_T *p, int called_from_renewthread, vnode_t *vpp) argument
4138 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
4212 nfscl_relock(vnode_t vp, struct nfsclclient *clp, struct nfsmount *nmp, struct nfscllockowner *lp, struct nfscllock *lop, struct ucred *cred, NFSPROC_T *p) argument
4242 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
4272 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
4306 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
4344 nfscl_trydelegreturn(struct nfscldeleg *dp, struct ucred *cred, struct nfsmount *nmp, NFSPROC_T *p) argument
4372 nfscl_tryclose(struct nfsclopen *op, struct ucred *cred, struct nfsmount *nmp, NFSPROC_T *p) argument
4406 struct nfsmount *nmp; local
4440 struct nfsmount *nmp; local
4474 struct nfsmount *nmp; local
4571 struct nfsmount *nmp; local
4700 nfscl_getref(struct nfsmount *nmp) argument
4719 nfscl_relref(struct nfsmount *nmp) argument
4743 struct nfsmount *nmp; local
4770 struct nfsmount *nmp; local
4797 struct nfsmount *nmp; local
4826 struct nfsmount *nmp; local
4882 nfscl_layout(struct nfsmount *nmp, vnode_t vp, u_int8_t *fhp, int fhlen, nfsv4stateid_t *stateidp, int layouttype, int retonclose, struct nfsclflayouthead *fhlp, struct nfscllayout **lypp, struct ucred *cred, NFSPROC_T *p) argument
5247 nfscl_adddevinfo(struct nfsmount *nmp, struct nfscldevinfo *dip, int ind, struct nfsclflayout *flp) argument
5441 nfscl_layoutreturn(struct nfsmount *nmp, struct nfscllayout *lyp, struct ucred *cred, NFSPROC_T *p) argument
5468 nfscl_dolayoutcommit(struct nfsmount *nmp, struct nfscllayout *lyp, struct ucred *cred, NFSPROC_T *p) argument
5516 struct nfsmount *nmp; local
[all...]
H A Dnfs_clnode.c106 struct nfsmount *nmp; local
109 nmp = VFSTONFS(mntp);
159 if ((fhsize == nmp->nm_fhsize) &&
160 !bcmp(fhp, nmp->nm_fh, fhsize)) {
H A Dnfs_clvnops.c266 * nmp->nm_mtx : Protects the fields in the nfsmount.
270 nmp->nm_mtx
1110 struct nfsmount *nmp; local
1125 nmp = VFSTONFS(mp);
1130 while (NFSHASNFSV4(nmp) && (np->n_flag & NREMOVEINPROG)) {
1174 if (!(nmp->nm_flag & NFSMNT_NOCTO) &&
1183 ((u_int)(ticks - ncticks) < (nmp->nm_nametimeo * hz) &&
1210 if ((u_int)(ticks - ncticks) < (nmp->nm_negnametimeo * hz) &&
1438 struct nfsmount *nmp; local
1440 nmp
1469 struct nfsmount *nmp; local
1611 struct nfsmount *nmp; local
2370 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local
2434 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local
2661 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local
2773 struct nfsmount *nmp = VFSTONFS(vp->v_mount); local
[all...]
/freebsd-12-stable/sys/fs/nfs/
H A Dnfs_commonkrpc.c166 * nmp == NULL --> indicates an upcall to userland or a NFSv4.0 callback
169 newnfs_connect(struct nfsmount *nmp, struct nfssockreq *nrp, argument
242 if (nmp != NULL && nrp->nr_sotype == SOCK_STREAM &&
248 if (nmp != NULL) {
259 if (nmp != NULL) {
269 if (error != 0 && nmp != NULL && nrp->nr_sotype == SOCK_STREAM &&
281 if (nmp != NULL) {
282 if ((nmp->nm_flag & NFSMNT_INT))
284 if ((nmp->nm_flag & NFSMNT_RESVPORT))
286 if (NFSHASSOFT(nmp)) {
509 struct nfsmount *nmp = nf->nf_mount; local
538 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
1214 newnfs_nmcancelreqs(struct nfsmount *nmp) argument
1338 newnfs_sigintr(struct nfsmount *nmp, struct thread *td) argument
1383 nfs_down(struct nfsmount *nmp, struct thread *td, const char *msg, int error, int flags) argument
1408 nfs_up(struct nfsmount *nmp, struct thread *td, const char *msg, int flags, int tprintfmsg) argument
[all...]
/freebsd-12-stable/sys/fs/nandfs/
H A Dnandfs_vfsops.c804 struct nandfsmount *nmp; local
808 STAILQ_FOREACH(nmp, &nandfsdev->nd_mounts, nm_next_mount) {
809 if (nmp->nm_mount_args.cpno == args->cpno)
818 STAILQ_FOREACH(nmp, &nandfsdev->nd_mounts, nm_next_mount) {
820 if ((nmp->nm_vfs_mountp->mnt_flag & MNT_RDONLY)==0)
823 last_cno = nmp->nm_nandfsdev->nd_super.s_last_cno;
824 if (nmp->nm_mount_args.cpno == last_cno)
953 nandfs_mount_checkpoint(struct nandfsmount *nmp) argument
964 cpno = nmp->nm_mount_args.cpno;
966 cpno = nmp
1062 struct nandfsmount *nmp = VFSTONANDFS(mp); local
1114 nandfs_syncer(struct nandfsmount *nmp) argument
1155 start_syncer(struct nandfsmount *nmp) argument
1175 stop_syncer(struct nandfsmount *nmp) argument
1192 struct nandfsmount *nmp; local
1341 struct nandfsmount *nmp = NULL; local
1446 struct nandfsmount *nmp; local
1492 struct nandfsmount *nmp; local
1541 struct nandfsmount *nmp = VFSTONANDFS(mp); local
1560 struct nandfsmount *nmp = VFSTONANDFS(mp); local
1574 struct nandfsmount *nmp = VFSTONANDFS(mp); local
[all...]
H A Dnandfs_ifile.c56 nandfs_node_create(struct nandfsmount *nmp, struct nandfs_node **node, argument
68 nandfsdev = nmp->nm_nandfsdev;
70 ifile = nmp->nm_ifile_node;
101 error = nandfs_get_node(nmp, req.entrynum, node);
112 struct nandfsmount *nmp; local
118 nmp = node->nn_nmp;
120 mdt = &nmp->nm_nandfsdev->nd_ifile_mdt;
121 ifile = nmp->nm_ifile_node;
156 struct nandfsmount *nmp; local
163 nmp
188 nandfs_get_node_entry(struct nandfsmount *nmp, struct nandfs_inode **inode, uint64_t ino, struct buf **bp) argument
[all...]
H A Dnandfs_subr.c630 nandfs_get_node_raw(struct nandfs_device *nandfsdev, struct nandfsmount *nmp, argument
641 if (nmp) {
642 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...]
H A Dnandfs_vnops.c312 struct nandfsmount *nmp; local
329 nmp = dir_node->nn_nmp;
379 error = nandfs_get_node(nmp, ino, &node);
440 error = nandfs_get_node(nmp, ino, &node);
461 error = nandfs_get_node(nmp, ino, &node);
468 error = nandfs_get_node(nmp, ino, &node);
1391 struct nandfsmount *nmp = dir_node->nn_nmp; local
1401 error = nandfs_node_create(nmp, &node, mode);
1835 struct nandfsmount *nmp = dir_node->nn_nmp; local
1847 error = nandfs_node_create(nmp,
1886 struct nandfsmount *nmp = dir_node->nn_nmp; local
1922 struct nandfsmount *nmp = dir_node->nn_nmp; local
2095 nandfs_force_syncer(struct nandfsmount *nmp) argument
2110 struct nandfsmount *nmp = node->nn_nmp; local
[all...]
H A Dnandfs_segment.c981 struct nandfsmount *nmp; local
992 nmp = VFSTONANDFS(vp->v_mount);
993 fsdev = nmp->nm_nandfsdev;
998 ifile = nmp->nm_ifile_node;
1120 nandfs_segment_constructor(struct nandfsmount *nmp, int flags) argument
1129 fsdev = nmp->nm_nandfsdev;
1140 ifile = nmp->nm_ifile_node;
1148 nandfs_iterate_dirty_vnodes(nmp->nm_vfs_mountp, seginfo);
1274 struct nandfsmount *nmp; local
1288 nmp
[all...]
/freebsd-12-stable/stand/efi/libefi/
H A Defichar.c131 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-12-stable/lib/libmp/
H A Dmpasbn.c230 * Compute qmp=nmp/dmp and rmp=nmp%dmp.
233 _mdiv(const char *msg, const MINT *nmp, const MINT *dmp, MINT *qmp, MINT *rmp, argument
244 BN_ERRCHECK(msg, BN_div(q, r, nmp->bn, dmp->bn, c));
252 mp_mdiv(const MINT *nmp, const MINT *dmp, MINT *qmp, MINT *rmp) argument
259 _mdiv("mdiv", nmp, dmp, qmp, rmp, c);
356 * Compute the square root of nmp and put the result in xmp. The
357 * remainder goes in rmp. Should satisfy: rmp=nmp-(xmp*xmp).
370 mp_msqrt(const MINT *nmp, MINT *xmp, MINT *rmp) argument
389 _mdiv("msqrt", nmp,
566 _sdiv(const char *msg, const MINT *nmp, short d, MINT *qmp, short *ro, BN_CTX *c) argument
597 mp_sdiv(const MINT *nmp, short d, MINT *qmp, short *ro) argument
[all...]
/freebsd-12-stable/contrib/ntp/libparse/
H A Dparsesolaris.c644 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 Dparsestreams.c799 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-12-stable/sys/nlm/
H A Dnlm_advlock.c134 struct nfsmount *nmp = nf->nf_nmp; local
136 if (nmp == NULL)
138 mtx_lock(&nmp->nm_mtx);
139 if (!(nmp->nm_state & NFSSTA_LOCKTIMEO)) {
140 nmp->nm_state |= NFSSTA_LOCKTIMEO;
141 mtx_unlock(&nmp->nm_mtx);
142 vfs_event_signal(&nmp->nm_mountp->mnt_stat.f_fsid,
145 mtx_unlock(&nmp->nm_mtx);
149 nlm_msg(td, nmp->nm_mountp->mnt_stat.f_mntfromname, msg, error);
156 struct nfsmount *nmp local
201 struct nfsmount *nmp; local
[all...]
/freebsd-12-stable/sys/dev/qlxge/
H A Dqls_glbl.h51 extern int qls_get_mbuf(qla_host_t *ha, qla_rx_buf_t *rxb, struct mbuf *nmp);
/freebsd-12-stable/sys/fs/nfsserver/
H A Dnfs_nfsdport.c3848 struct nfsmount *nmp; local
3883 nmp = VFSTONFS(nvp->v_mount);
3885 != 0 || nmp->nm_nam->sa_len > sizeof(
3891 nmp->nm_nam->sa_len, np->n_fhp->nfh_len);
3910 NFSBCOPY(nmp->nm_nam, &pf->dsf_sin,
3911 nmp->nm_nam->sa_len);
3957 struct nfsmount *nmp; local
4106 nmp = VFSTONFS(dvp[failpos]->v_mount);
4107 NFSLOCKMNT(nmp);
4108 if ((nmp
4285 struct nfsmount *nmp; local
4419 struct nfsmount *nmp[NFSDEV_MAXMIRRORS], *failnmp; local
4620 struct nfsmount *nmp, *newnmp; local
4852 nfsrv_readdsrpc(fhandle_t *fhp, off_t off, int len, struct ucred *cred, NFSPROC_T *p, struct nfsmount *nmp, struct mbuf **mpp, struct mbuf **mpendp) argument
4964 struct nfsmount *nmp; member in struct:nfsrvwritedsdorpc
4972 nfsrv_writedsdorpc(struct nfsmount *nmp, fhandle_t *fhp, off_t off, int len, struct nfsvattr *nap, struct mbuf *m, struct ucred *cred, NFSPROC_T *p) argument
5177 nfsrv_setattrdsdorpc(fhandle_t *fhp, struct ucred *cred, NFSPROC_T *p, struct vnode *vp, struct nfsmount *nmp, struct nfsvattr *nap, struct nfsvattr *dsnap) argument
5265 struct nfsmount *nmp; member in struct:nfsrvsetattrdsdorpc
5364 nfsrv_setacldsdorpc(fhandle_t *fhp, struct ucred *cred, NFSPROC_T *p, struct vnode *vp, struct nfsmount *nmp, struct acl *aclp) argument
5415 struct nfsmount *nmp; member in struct:nfsrvsetacldsdorpc
5510 nfsrv_getattrdsrpc(fhandle_t *fhp, struct ucred *cred, NFSPROC_T *p, struct vnode *vp, struct nfsmount *nmp, struct nfsvattr *nap) argument
5648 nfsrv_killrpcs(struct nfsmount *nmp) argument
[all...]
H A Dnfs_nfsdstate.c237 static struct nfsdevice *nfsrv_findmirroredds(struct nfsmount *nmp);
7708 struct nfsmount *nmp; local
7725 nmp = NULL;
7731 nmp = VFSTONFS(mp);
7732 NFSLOCKMNT(nmp);
7733 if ((nmp->nm_privflag & (NFSMNTP_FORCEDISM |
7735 nmp->nm_privflag |= NFSMNTP_CANCELRPCS;
7736 NFSUNLOCKMNT(nmp);
7738 NFSUNLOCKMNT(nmp);
7739 nmp
7771 nfsrv_deldsnmp(int op, struct nfsmount *nmp, NFSPROC_T *p) argument
7802 struct nfsmount *nmp; local
8510 struct nfsmount *nmp, *curnmp; local
8703 nfsrv_findmirroredds(struct nfsmount *nmp) argument
[all...]
/freebsd-12-stable/sys/nfs/
H A Dnfs_lock.c245 struct nfsmount *nmp; local
253 nmp = VFSTONFS(vp->v_mount);
257 nmp->nm_getinfo(vp, msg.lm_fh, &msg.lm_fh_len, &msg.lm_addr,
/freebsd-12-stable/sys/dev/qlxgb/
H A Dqla_glbl.h58 extern int qla_get_mbuf(qla_host_t *ha, qla_rx_buf_t *rxb, struct mbuf *nmp,

Completed in 438 milliseconds

12