Home
last modified time | relevance | path

Searched refs:nvp (Results 1 – 22 of 22) sorted by relevance

/openbsd/sys/ufs/ufs/
H A Dufs_vfsops.c72 struct vnode *nvp; in ufs_root() local
75 if ((error = VFS_VGET(mp, ROOTINO, &nvp)) != 0) in ufs_root()
77 *vpp = nvp; in ufs_root()
132 struct vnode *nvp; in ufs_fhtovp() local
135 if ((error = VFS_VGET(mp, ufhp->ufid_ino, &nvp)) != 0) { in ufs_fhtovp()
139 ip = VTOI(nvp); in ufs_fhtovp()
141 vput(nvp); in ufs_fhtovp()
145 *vpp = nvp; in ufs_fhtovp()
/openbsd/sys/miscfs/fuse/
H A Dfuse_vfsops.c182 struct vnode *nvp; in fusefs_root() local
185 if ((error = VFS_VGET(mp, FUSE_ROOTINO, &nvp)) != 0) in fusefs_root()
188 nvp->v_type = VDIR; in fusefs_root()
190 *vpp = nvp; in fusefs_root()
271 struct vnode *nvp; in fusefs_vget() local
294 nvp->v_data = ip; in fusefs_vget()
295 ip->ufs_ino.i_vnode = nvp; in fusefs_vget()
304 vrele(nvp); in fusefs_vget()
315 nvp->v_flag |= VROOT; in fusefs_vget()
323 vrele(nvp); in fusefs_vget()
[all …]
/openbsd/sys/ufs/ext2fs/
H A Dext2fs_subr.c151 struct vnode *vp, *nvp; in ext2fs_vinit() local
163 nvp = checkalias(vp, letoh32(ip->i_e2din->e2di_rdev), mp); in ext2fs_vinit()
164 if (nvp != NULL) { in ext2fs_vinit()
170 nvp->v_data = vp->v_data; in ext2fs_vinit()
179 vp = nvp; in ext2fs_vinit()
H A Dext2fs_vfsops.c972 struct vnode *nvp; in ext2fs_fhtovp() local
983 if ((error = VFS_VGET(mp, ufhp->ufid_ino, &nvp)) != 0) { in ext2fs_fhtovp()
987 ip = VTOI(nvp); in ext2fs_fhtovp()
990 vput(nvp); in ext2fs_fhtovp()
994 *vpp = nvp; in ext2fs_fhtovp()
/openbsd/sys/nfs/
H A Dnfs_node.c89 struct vnode *vp, *nvp; in nfs_nget() local
115 error = getnewvnode(VT_NFS, mnt, &nfs_vops, &nvp); in nfs_nget()
121 nvp->v_flag |= VLARVAL; in nfs_nget()
128 vgone(nvp); in nfs_nget()
132 vp = nvp; in nfs_nget()
H A Dnfs_subs.c948 struct vnode *nvp; in nfs_loadattrcache() local
1000 nvp = checkalias(vp, (dev_t)rdev, vp->v_mount); in nfs_loadattrcache()
1001 if (nvp) { in nfs_loadattrcache()
1008 nvp->v_data = vp->v_data; in nfs_loadattrcache()
1016 np->n_vnode = nvp; in nfs_loadattrcache()
1017 *vpp = vp = nvp; in nfs_loadattrcache()
H A Dnfs_serv.c2574 struct vnode *vp, *nvp; in nfsrv_readdirplus() local
2744 if (VFS_VGET(vp->v_mount, dp->d_fileno, &nvp)) in nfsrv_readdirplus()
2748 nvp->v_mount->mnt_stat.f_fsid; in nfsrv_readdirplus()
2749 if (VFS_VPTOFH(nvp, &nfhp->fh_fid)) { in nfsrv_readdirplus()
2750 vput(nvp); in nfsrv_readdirplus()
2753 if (VOP_GETATTR(nvp, vap, cred, procp)) { in nfsrv_readdirplus()
2754 vput(nvp); in nfsrv_readdirplus()
2757 vput(nvp); in nfsrv_readdirplus()
/openbsd/sys/msdosfs/
H A Dmsdosfs_denode.c188 struct vnode *nvp; in deget() local
227 error = getnewvnode(VT_MSDOSFS, pmp->pm_mountp, &msdosfs_vops, &nvp); in deget()
234 nvp->v_data = ldep; in deget()
235 ldep->de_vnode = nvp; in deget()
249 vn_lock(nvp, LK_EXCLUSIVE | LK_RETRY); in deget()
253 vput (nvp); in deget()
277 nvp->v_flag |= VROOT; /* should be further down XXX */ in deget()
322 nvp->v_type = VDIR; in deget()
334 nvp->v_type = VREG; in deget()
/openbsd/sys/kern/
H A Dvfs_subr.c519 struct vnode *nvp; in getdevvp() local
531 vp = nvp; in getdevvp()
535 vp = nvp; in getdevvp()
558 if (nvp->v_type != VBLK && nvp->v_type != VCHR) in checkalias()
586 nvp->v_rdev = nvp_rdev; in checkalias()
589 nvp->v_speclockf = NULL; in checkalias()
590 nvp->v_specbitmap = NULL; in checkalias()
622 vp->v_op = nvp->v_op; in checkalias()
623 vp->v_tag = nvp->v_tag; in checkalias()
624 nvp->v_type = VNON; in checkalias()
[all …]
H A Dvfs_syscalls.c473 struct vnode *vp, *nvp; in dounmount_leaf() local
489 TAILQ_FOREACH_SAFE(vp , &mp->mnt_vnodelist, v_mntvnodes, nvp) { in dounmount_leaf()
/openbsd/sys/ufs/ffs/
H A Dffs_subr.c257 struct vnode *vp, *nvp; in ffs_vinit() local
266 if ((nvp = checkalias(vp, DIP(ip, rdev), mntp)) != NULL) { in ffs_vinit()
272 nvp->v_data = vp->v_data; in ffs_vinit()
283 vp = nvp; in ffs_vinit()
/openbsd/sys/isofs/cd9660/
H A Dcd9660_vfsops.c644 struct vnode *nvp; in cd9660_fhtovp() local
652 if ((error = VFS_VGET(mp, ifhp->ifid_ino, &nvp)) != 0) { in cd9660_fhtovp()
656 ip = VTOI(nvp); in cd9660_fhtovp()
658 vput(nvp); in cd9660_fhtovp()
662 *vpp = nvp; in cd9660_fhtovp()
696 struct vnode *vp, *nvp; in cd9660_vget_internal() local
861 if ((nvp = checkalias(vp, ip->inode.iso_rdev, mp)) != NULL) { in cd9660_vget_internal()
866 nvp->v_data = vp->v_data; in cd9660_vget_internal()
874 vp = nvp; in cd9660_vget_internal()
/openbsd/sys/isofs/udf/
H A Dudf_vfsops.c551 struct vnode *vp, *nvp; in udf_vget() local
678 if ((nvp = checkalias(vp, up->u_dev, ump->um_mountp)) != NULL) { in udf_vget()
684 nvp->v_data = vp->v_data; in udf_vget()
692 vp = nvp; in udf_vget()
712 struct vnode *nvp; in udf_fhtovp() local
717 if ((error = VFS_VGET(mp, ifhp->ifid_ino, &nvp)) != 0) { in udf_fhtovp()
722 *vpp = nvp; in udf_fhtovp()
/openbsd/usr.sbin/config/
H A Dsem.c515 resolve(struct nvlist **nvp, const char *name, const char *what, in resolve() argument
528 if ((nv = *nvp) == NULL) { in resolve()
539 *nvp = nv = newnv(NULL, NULL, NULL, d, NULL); in resolve()
597 lresolve(struct nvlist **nvp, const char *name, const char *what, in lresolve() argument
602 while ((err = resolve(nvp, name, what, dflt, part)) == 0 && in lresolve()
603 (*nvp)->nv_next != NULL) in lresolve()
604 nvp = &(*nvp)->nv_next; in lresolve()
/openbsd/sys/ntfs/
H A Dntfs_subr.c841 struct vnode *nvp; in ntfs_ntlookupfile() local
963 &nvp); in ntfs_ntlookupfile()
967 nfp = VTOF(nvp); in ntfs_ntlookupfile()
970 *vpp = nvp; in ntfs_ntlookupfile()
985 nvp->v_type = f_type; in ntfs_ntlookupfile()
998 vput(nvp); in ntfs_ntlookupfile()
1004 *vpp = nvp; in ntfs_ntlookupfile()
H A Dntfs_vfsops.c524 struct vnode *nvp; in ntfs_root() local
529 error = VFS_VGET(mp, (ino_t)NTFS_ROOTINO, &nvp); in ntfs_root()
535 *vpp = nvp; in ntfs_root()
/openbsd/bin/csh/
H A Dglob.c208 expbrace(Char ***nvp, Char ***elp, int size) in expbrace() argument
212 vl = nv = *nvp; in expbrace()
267 *nvp = nv; in expbrace()
/openbsd/gnu/usr.bin/perl/
H A Dperl.h8866 #define NV_NAN_QS_BYTE(nvp) (((U8*)(nvp))[NV_NAN_QS_BYTE_OFFSET]) argument
8894 #define NV_NAN_QS_TEST(nvp) (NV_NAN_QS_BYTE(nvp) & NV_NAN_QS_BIT) argument
8898 #define NV_NAN_IS_QUIET(nvp) \ argument
8900 #define NV_NAN_IS_SIGNALING(nvp) \ argument
8902 #define NV_NAN_SET_QUIET(nvp) \ argument
8904 (NV_NAN_QS_BYTE(nvp) |= NV_NAN_QS_BIT) : \
8905 (NV_NAN_QS_BYTE(nvp) &= ~NV_NAN_QS_BIT))
8906 #define NV_NAN_SET_SIGNALING(nvp) \ argument
8908 (NV_NAN_QS_BYTE(nvp) &= ~NV_NAN_QS_BIT) : \
8909 (NV_NAN_QS_BYTE(nvp) |= NV_NAN_QS_BIT))
[all …]
H A Dsv.c11508 #define HEXTRACT_OUTPUT_HI(ix) (*v++ = nvp[ix] >> 4)
11509 #define HEXTRACT_OUTPUT_LO(ix) (*v++ = nvp[ix] & 0xF)
11578 const U8* nvp = (const U8*)(&nv); local
11588 const U8* nvp = (const U8*)(&nv);
11600 const U8* nvp = (const U8*)(&nv);
11610 const U8* nvp = (const U8*)(&nv);
11648 const U8* nvp = (const U8*)(&nv);
11655 const U8* nvp = (const U8*)(&nv);
11662 const U8* nvp = (const U8*)(&nv);
11674 const U8* nvp = (const U8*)(&nv);
/openbsd/sys/tmpfs/
H A Dtmpfs_subr.c274 struct vnode *vp, *nvp; in tmpfs_vnode_get() local
324 if ((nvp = checkalias(vp, node->tn_spec.tn_dev.tn_rdev, mp))) { in tmpfs_vnode_get()
325 nvp->v_data = vp->v_data; in tmpfs_vnode_get()
330 vp = nvp; in tmpfs_vnode_get()
/openbsd/gnu/usr.bin/perl/ext/POSIX/
H A DPOSIX.xs1213 static void S_setpayload(NV* nvp, NV_PAYLOAD_TYPE payload, bool signaling) in S_setpayload() argument
1222 *nvp = NV_NAN; in S_setpayload()
1270 ((U8 *)(nvp))[i] &= ~m[i]; /* For NaNs with non-zero payload bits. */ in S_setpayload()
1271 ((U8 *)(nvp))[i] |= b; in S_setpayload()
1275 UVxf ")\n", i, ((U8 *)(nvp))[i], i, m[i], s, b, u); in S_setpayload()
1281 NV_NAN_SET_SIGNALING(nvp); in S_setpayload()
1286 memset((char *)nvp + 10, '\0', LONG_DOUBLESIZE - 10); /* x86 long double */ in S_setpayload()
1298 PerlIO_printf(Perl_debug_log, "%02x ", ((U8 *)(nvp))[i]); in S_setpayload()
/openbsd/etc/
H A Dprotocols18 nvp 11 NVP-II # Network Voice Protocol