Home
last modified time | relevance | path

Searched refs:vp2 (Results 1 – 12 of 12) sorted by relevance

/freebsd-10-stable/sys/kern/
Dvfs_hash.c148 struct vnode *vp2; in vfs_hash_insert() local
154 LIST_FOREACH(vp2, in vfs_hash_insert()
156 if (vp2->v_hash != hash) in vfs_hash_insert()
158 if (vp2->v_mount != vp->v_mount) in vfs_hash_insert()
160 if (fn != NULL && fn(vp2, arg)) in vfs_hash_insert()
162 VI_LOCK(vp2); in vfs_hash_insert()
164 error = vget(vp2, flags | LK_INTERLOCK, td); in vfs_hash_insert()
172 *vpp = vp2; in vfs_hash_insert()
175 if (vp2 == NULL) in vfs_hash_insert()
/freebsd-10-stable/usr.bin/mail/
Dcmd3.c401 struct var *vp, *vp2; in unset() local
407 if ((vp2 = lookup(*ap)) == NULL) { in unset()
417 if (vp2 == variables[h]) { in unset()
419 vfree(vp2->v_name); in unset()
420 vfree(vp2->v_value); in unset()
421 (void)free(vp2); in unset()
424 for (vp = variables[h]; vp->v_link != vp2; vp = vp->v_link) in unset()
426 vp->v_link = vp2->v_link; in unset()
427 vfree(vp2->v_name); in unset()
428 vfree(vp2->v_value); in unset()
[all …]
/freebsd-10-stable/contrib/netbsd-tests/lib/libc/sys/
Dt_mmap.c103 testloan(void *vp, void *vp2, char pat, int docheck) in testloan() argument
139 (void)memset(vp2, pat, BUFSIZE); in testloan()
248 char *vp, *vp2; in ATF_TC_BODY() local
262 vp2 = vp; in ATF_TC_BODY()
264 testloan(vp, vp2, 'A', 0); in ATF_TC_BODY()
265 testloan(vp, vp2, 'B', 1); in ATF_TC_BODY()
272 vp2 = mmap(NULL, BUFSIZE, PROT_READ | PROT_WRITE, in ATF_TC_BODY()
276 ATF_REQUIRE(vp2 != MAP_FAILED); in ATF_TC_BODY()
278 testloan(vp, vp2, 'E', 1); in ATF_TC_BODY()
281 ATF_REQUIRE(munmap(vp2, BUFSIZE) == 0); in ATF_TC_BODY()
/freebsd-10-stable/sys/fs/fdescfs/
Dfdesc_vnops.c159 struct vnode *vp, *vp2; local
228 vp2 = fd2->fd_vnode;
229 VI_LOCK(vp2);
231 error = vget(vp2, LK_EXCLUSIVE | LK_INTERLOCK, td);
237 vp2 = NULLVP;
238 *vpp = vp2;
/freebsd-10-stable/sys/fs/fuse/
Dfuse_node.c180 struct vnode *vp2; in fuse_vnode_alloc() local
215 td, &vp2, fuse_vnode_cmp, &nodeid); in fuse_vnode_alloc()
218 if (vp2 != NULL) { in fuse_vnode_alloc()
219 *vpp = vp2; in fuse_vnode_alloc()
/freebsd-10-stable/sys/fs/smbfs/
Dsmbfs_node.c109 struct vnode *vp, *vp2; in smbfs_node_alloc() local
219 td, &vp2, smbfs_vnode_cmp, &sc); in smbfs_node_alloc()
222 if (vp2 != NULL) in smbfs_node_alloc()
223 *vpp = vp2; in smbfs_node_alloc()
/freebsd-10-stable/sys/fs/devfs/
Ddevfs_vnops.c1416 struct vnode *vp = ap->a_vp, *vp2; in devfs_revoke() local
1440 vp2 = NULL; in devfs_revoke()
1446 vp2 = de->de_vnode; in devfs_revoke()
1447 if (vp2 != NULL) { in devfs_revoke()
1449 VI_LOCK(vp2); in devfs_revoke()
1451 if (vget(vp2, LK_EXCLUSIVE | LK_INTERLOCK, in devfs_revoke()
1454 vhold(vp2); in devfs_revoke()
1455 vgone(vp2); in devfs_revoke()
1456 vdrop(vp2); in devfs_revoke()
1457 vput(vp2); in devfs_revoke()
[all …]
/freebsd-10-stable/sys/vm/
Dswap_pager.c2776 struct vnode *vp2; in swapdev_strategy() local
2780 vp2 = sp->sw_id; in swapdev_strategy()
2781 vhold(vp2); in swapdev_strategy()
2785 bufobj_wref(&vp2->v_bufobj); in swapdev_strategy()
2787 if (bp->b_bufobj != &vp2->v_bufobj) in swapdev_strategy()
2788 bp->b_bufobj = &vp2->v_bufobj; in swapdev_strategy()
2789 bp->b_vp = vp2; in swapdev_strategy()
/freebsd-10-stable/contrib/tcsh/
Dsh.hist.c1131 Char *vp2 = *vp; in dohist() local
1133 while (*++vp2) in dohist()
1134 switch (*vp2) { in dohist()
/freebsd-10-stable/sbin/ipfw/
Ddummynet.c836 compare_points(const void *vp1, const void *vp2) in compare_points() argument
839 const struct point *p2 = vp2; in compare_points()
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Basic/
Darm_neon.td380 def VST2 : WInst<"vst2", "vp2", "QUcQUsQUiQcQsQiQhQfQPcQPsUcUsUiUlcsilhfPcPs">;
558 def ST2 : WInst<"vst2", "vp2",
572 def ST1_X2 : WInst<"vst1_x2", "vp2",
/freebsd-10-stable/contrib/gcc/
Dvar-tracking.c1286 variable_part_different_p (variable_part *vp1, variable_part *vp2) in variable_part_different_p() argument
1292 for (lc2 = vp2->loc_chain; lc2; lc2 = lc2->next) in variable_part_different_p()