Home
last modified time | relevance | path

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

12

/src/sys/kern/
H A Dvfs_hash.c155 struct vnode *vp2; in vfs_hash_insert() local
162 LIST_FOREACH(vp2, in vfs_hash_insert()
164 if (vp2->v_hash != hash) in vfs_hash_insert()
166 if (vp2->v_mount != vp->v_mount) in vfs_hash_insert()
168 if (fn != NULL && fn(vp2, arg)) in vfs_hash_insert()
170 vs = vget_prep(vp2); in vfs_hash_insert()
172 error = vget_finish(vp2, flags, vs); in vfs_hash_insert()
181 *vpp = vp2; in vfs_hash_insert()
184 if (vp2 == NULL) in vfs_hash_insert()
H A Dvfs_vnops.c4363 struct vnode *vp2, bool vp2_locked, int lkflags2) in vn_lock_pair() argument
4371 (vp2 == NULL && lkflags2 == 0)); in vn_lock_pair()
4374 if (vp1 == NULL && vp2 == NULL) in vn_lock_pair()
4377 if (vp1 == vp2) { in vn_lock_pair()
4424 if (vp2 != NULL) { in vn_lock_pair()
4426 (vp2->v_vnlock->lock_object.lo_flags & LK_NOSHARE) != 0) in vn_lock_pair()
4428 if (vp2_locked && VOP_ISLOCKED(vp2) != LK_EXCLUSIVE) { in vn_lock_pair()
4429 ASSERT_VOP_LOCKED(vp2, "vp2"); in vn_lock_pair()
4431 VOP_UNLOCK(vp2); in vn_lock_pair()
4432 ASSERT_VOP_UNLOCKED(vp2, in vn_lock_pair()
[all …]
/src/contrib/netbsd-tests/lib/libc/sys/
H A 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()
/src/usr.bin/mail/
H A Dcmd3.c403 struct var *vp, *vp2; in unset() local
409 if ((vp2 = lookup(*ap)) == NULL) { in unset()
419 if (vp2 == variables[h]) { in unset()
421 vfree(vp2->v_name); in unset()
422 vfree(vp2->v_value); in unset()
423 (void)free(vp2); in unset()
426 for (vp = variables[h]; vp->v_link != vp2; vp = vp->v_link) in unset()
428 vp->v_link = vp2->v_link; in unset()
429 vfree(vp2->v_name); in unset()
430 vfree(vp2->v_value); in unset()
[all …]
/src/contrib/mandoc/
H A Ddba.c313 compare_names(const void *vp1, const void *vp2) in compare_names() argument
319 cp2 = *(const char * const *)vp2; in compare_names()
326 compare_strings(const void *vp1, const void *vp2) in compare_strings() argument
331 cp2 = *(const char * const *)vp2; in compare_strings()
502 compare_entries(const void *vp1, const void *vp2) in compare_entries() argument
507 ep2 = *(const struct macro_entry * const *)vp2; in compare_entries()
H A Dmansearch.c405 manpage_compare(const void *vp1, const void *vp2) in manpage_compare() argument
413 mp2 = vp2; in manpage_compare()
/src/sys/fs/fdescfs/
H A Dfdesc_vnops.c145 struct vnode *vp, *vp2; in fdesc_allocvp() local
221 vp2 = fd2->fd_vnode; in fdesc_allocvp()
222 vgs = vget_prep(vp2); in fdesc_allocvp()
224 error = vget_finish(vp2, LK_EXCLUSIVE, vgs); in fdesc_allocvp()
230 vp2 = NULL; in fdesc_allocvp()
231 *vpp = vp2; in fdesc_allocvp()
/src/sys/contrib/device-tree/Bindings/regulator/
H A Dact8865-regulator.txt17 - vp2-supply: The input supply for DCDC_REG2
23 - vp2-supply: The input supply for REG2
31 - vp2-supply: The input supply for DCDC_REG2
H A Dact8945a-regulator.txt12 - vp2-supply: The input supply for REG_DCDC2
/src/sys/fs/smbfs/
H A Dsmbfs_node.c109 struct vnode *vp, *vp2; in smbfs_node_alloc() local
220 td, &vp2, smbfs_vnode_cmp, &sc); in smbfs_node_alloc()
223 if (vp2 != NULL) in smbfs_node_alloc()
224 *vpp = vp2; in smbfs_node_alloc()
/src/sys/fs/fuse/
H A Dfuse_node.c211 struct vnode *vp2; in fuse_vnode_alloc() local
276 td, &vp2, fuse_vnode_cmp, &nodeid); in fuse_vnode_alloc()
283 if (vp2 != NULL) { in fuse_vnode_alloc()
284 *vpp = vp2; in fuse_vnode_alloc()
/src/sys/fs/devfs/
H A Ddevfs_vnops.c1669 struct vnode *vp = ap->a_vp, *vp2; in devfs_revoke() local
1694 vp2 = NULL; in devfs_revoke()
1700 vp2 = de->de_vnode; in devfs_revoke()
1701 if (vp2 != NULL) { in devfs_revoke()
1703 vs = vget_prep(vp2); in devfs_revoke()
1705 if (vget_finish(vp2, LK_EXCLUSIVE, vs) != 0) in devfs_revoke()
1707 vhold(vp2); in devfs_revoke()
1708 vgone(vp2); in devfs_revoke()
1709 vdrop(vp2); in devfs_revoke()
1710 vput(vp2); in devfs_revoke()
[all …]
/src/sys/vm/
H A Dswap_pager.c3359 struct vnode *vp2; in swapdev_strategy() local
3363 vp2 = sp->sw_id; in swapdev_strategy()
3364 vhold(vp2); in swapdev_strategy()
3366 vn_lock(vp2, LK_EXCLUSIVE | LK_RETRY); in swapdev_strategy()
3369 bufobj_wref(&vp2->v_bufobj); in swapdev_strategy()
3371 vn_lock(vp2, LK_SHARED | LK_RETRY); in swapdev_strategy()
3373 if (bp->b_bufobj != &vp2->v_bufobj) in swapdev_strategy()
3374 bp->b_bufobj = &vp2->v_bufobj; in swapdev_strategy()
3375 bp->b_vp = vp2; in swapdev_strategy()
3378 VOP_UNLOCK(vp2); in swapdev_strategy()
/src/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3568-wolfvision-pf5-display.dtsi113 &vp2 {
H A Drk3368-evb-act8846.dts46 vp2-supply = <&vcc_sys>;
H A Drk3588-mnt-reform2.dts331 &vp2 {
H A Drk3588-coolpi-cm5-genbook.dts440 &vp2 {
/src/sys/contrib/device-tree/src/arm/rockchip/
H A Drk3288-evb-act8846.dts77 vp2-supply = <&vcc_sys>;
H A Drk3288-firefly-reload-core.dtsi104 vp2-supply = <&vcc_sys>;
H A Drk3288-rock2-som.dtsi93 vp2-supply = <&vcc_sys>;
H A Drk3188-radxarock.dts192 vp2-supply = <&vsys>;
H A Drk3288-miqi.dts180 vp2-supply = <&vcc_sys>;
/src/crypto/openssl/test/
H A Dparams_api_test.c609 void *vp, *vpn = NULL, *vp2; in test_param_construct() local
743 if (!TEST_true(OSSL_PARAM_get_octet_ptr(cp, (const void **)&vp2, &k)) in test_param_construct()
745 || (tstid <= 1 && !TEST_ptr_eq(vp2, vp))) in test_param_construct()
/src/contrib/tcsh/
H A Dsh.hist.c1137 Char *vp2 = *vp; in dohist() local
1139 while (*++vp2) in dohist()
1140 switch (*vp2) { in dohist()
/src/sys/contrib/device-tree/src/arm64/ti/
H A Dk3-am65-main.dtsi1005 <0x0 0x04a0b000 0x0 0x1000>, /* vp2 */
1008 "ovr1", "ovr2", "vp1", "vp2", "common1";
1017 clock-names = "fck", "vp1", "vp2";
1020 * Set vp2 clk (DPI_1_IN_CLK) mux to PLL4 via

12