Home
last modified time | relevance | path

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

12

/freebsd/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.c4129 struct vnode *vp2, bool vp2_locked, int lkflags2) in vn_lock_pair() argument
4137 (vp2 == NULL && lkflags2 == 0)); in vn_lock_pair()
4140 if (vp1 == NULL && vp2 == NULL) in vn_lock_pair()
4143 if (vp1 == vp2) { in vn_lock_pair()
4190 if (vp2 != NULL) { in vn_lock_pair()
4192 (vp2->v_vnlock->lock_object.lo_flags & LK_NOSHARE) != 0) in vn_lock_pair()
4194 if (vp2_locked && VOP_ISLOCKED(vp2) != LK_EXCLUSIVE) { in vn_lock_pair()
4195 ASSERT_VOP_LOCKED(vp2, "vp2"); in vn_lock_pair()
4197 VOP_UNLOCK(vp2); in vn_lock_pair()
4198 ASSERT_VOP_UNLOCKED(vp2, in vn_lock_pair()
[all …]
/freebsd/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()
/freebsd/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 …]
/freebsd/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()
325 compare_strings(const void *vp1, const void *vp2) in compare_strings() argument
330 cp2 = *(const char * const *)vp2; in compare_strings()
501 compare_entries(const void *vp1, const void *vp2) in compare_entries() argument
506 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()
/freebsd/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 = NULLVP; in fdesc_allocvp()
231 *vpp = vp2; in fdesc_allocvp()
/freebsd/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
/freebsd/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()
/freebsd/sys/fs/devfs/
H A Ddevfs_vnops.c1629 struct vnode *vp = ap->a_vp, *vp2; in devfs_revoke() local
1654 vp2 = NULL; in devfs_revoke()
1660 vp2 = de->de_vnode; in devfs_revoke()
1661 if (vp2 != NULL) { in devfs_revoke()
1663 vs = vget_prep(vp2); in devfs_revoke()
1665 if (vget_finish(vp2, LK_EXCLUSIVE, vs) != 0) in devfs_revoke()
1667 vhold(vp2); in devfs_revoke()
1668 vgone(vp2); in devfs_revoke()
1669 vdrop(vp2); in devfs_revoke()
1670 vput(vp2); in devfs_revoke()
[all …]
/freebsd/sys/vm/
H A Dswap_pager.c3369 struct vnode *vp2; in swapdev_strategy() local
3373 vp2 = sp->sw_id; in swapdev_strategy()
3374 vhold(vp2); in swapdev_strategy()
3376 vn_lock(vp2, LK_EXCLUSIVE | LK_RETRY); in swapdev_strategy()
3379 bufobj_wref(&vp2->v_bufobj); in swapdev_strategy()
3381 vn_lock(vp2, LK_SHARED | LK_RETRY); in swapdev_strategy()
3383 if (bp->b_bufobj != &vp2->v_bufobj) in swapdev_strategy()
3384 bp->b_bufobj = &vp2->v_bufobj; in swapdev_strategy()
3385 bp->b_vp = vp2; in swapdev_strategy()
3388 VOP_UNLOCK(vp2); in swapdev_strategy()
/freebsd/sys/contrib/device-tree/src/arm64/rockchip/
H A Drk3368-evb-act8846.dts46 vp2-supply = <&vcc_sys>;
/freebsd/crypto/openssl/test/
H A Dparams_api_test.c477 void *vp, *vpn = NULL, *vp2; in test_param_construct() local
611 if (!TEST_true(OSSL_PARAM_get_octet_ptr(cp, (const void **)&vp2, &k)) in test_param_construct()
613 || (tstid <= 1 && !TEST_ptr_eq(vp2, vp))) in test_param_construct()
/freebsd/sys/contrib/device-tree/src/arm/rockchip/
H A Drk3288-evb-act8846.dts77 vp2-supply = <&vcc_sys>;
H A Drk3288-rock2-som.dtsi93 vp2-supply = <&vcc_sys>;
H A Drk3288-firefly-reload-core.dtsi104 vp2-supply = <&vcc_sys>;
H A Drk3188-radxarock.dts192 vp2-supply = <&vsys>;
H A Drk3288-miqi.dts180 vp2-supply = <&vcc_sys>;
H A Drk3288-firefly.dtsi255 vp2-supply = <&vcc_sys>;
H A Drk3188-bqedison2qc.dts310 vp2-supply = <&vsys>;
/freebsd/contrib/tcsh/
H A Dsh.hist.c1137 Char *vp2 = *vp; in dohist() local
1139 while (*++vp2) in dohist()
1140 switch (*vp2) { in dohist()
/freebsd/sys/contrib/device-tree/src/arm64/ti/
H A Dk3-am65-main.dtsi1022 <0x0 0x04a0b000 0x0 0x1000>; /* vp2 */
1024 "ovr1", "ovr2", "vp1", "vp2";
1033 clock-names = "fck", "vp1", "vp2";
1036 * Set vp2 clk (DPI_1_IN_CLK) mux to PLL4 via
/freebsd/sys/contrib/device-tree/src/mips/ingenic/
H A Dci20.dts309 vp2-supply = <&vcc_33v>;
/freebsd/sbin/ipfw/
H A Ddummynet.c854 compare_points(const void *vp1, const void *vp2) in compare_points() argument
857 const struct point *p2 = vp2; in compare_points()

12