Home
last modified time | relevance | path

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

/netbsd/src/usr.sbin/npf/npfctl/
Dnpf_var.c132 npfvar_add_elements(npfvar_t *vp, npfvar_t *vp2) in npfvar_add_elements() argument
134 if (vp2 == NULL) in npfvar_add_elements()
137 return vp2; in npfvar_add_elements()
140 if (vp2->v_elements) { in npfvar_add_elements()
141 vp->v_elements = vp2->v_elements; in npfvar_add_elements()
143 } else if (vp2->v_elements) { in npfvar_add_elements()
144 vp->v_last->e_next = vp2->v_elements; in npfvar_add_elements()
146 if (vp2->v_elements) { in npfvar_add_elements()
147 vp->v_last = vp2->v_last; in npfvar_add_elements()
148 vp->v_count += vp2->v_count; in npfvar_add_elements()
[all …]
/netbsd/src/sys/ufs/lfs/
Dlfs_bio.c117 static int lfs_reservebuf(struct lfs *, struct vnode *vp, struct vnode *vp2,
119 static int lfs_reserveavail(struct lfs *, struct vnode *vp, struct vnode *vp2,
154 struct vnode *vp2, int n, int bytes) in lfs_reservebuf() argument
207 struct vnode *vp2, int fsb) in lfs_reserveavail() argument
265 lfs_reserve(struct lfs *fs, struct vnode *vp, struct vnode *vp2, int fsb) in lfs_reserve() argument
270 if (vp2) { in lfs_reserve()
281 KASSERT(vp2 == NULL || fsb < 0 || VOP_ISLOCKED(vp2)); in lfs_reserve()
282 KASSERT(vp2 == NULL || vp2 != fs->lfs_unlockvp); in lfs_reserve()
295 error = lfs_reserveavail(fs, vp, vp2, fsb); in lfs_reserve()
302 error = lfs_reservebuf(fs, vp, vp2, fsb, lfs_fsbtob(fs, fsb)); in lfs_reserve()
[all …]
/netbsd/src/tests/lib/libc/sys/
Dt_mmap.c101 testloan(void *vp, void *vp2, char pat, int docheck) in testloan() argument
137 (void)memset(vp2, pat, BUFSIZE); in testloan()
250 char *vp, *vp2; in ATF_TC_BODY() local
264 vp2 = vp; in ATF_TC_BODY()
266 testloan(vp, vp2, 'A', 0); in ATF_TC_BODY()
267 testloan(vp, vp2, 'B', 1); in ATF_TC_BODY()
274 vp2 = mmap(NULL, BUFSIZE, PROT_READ | PROT_WRITE, in ATF_TC_BODY()
278 ATF_REQUIRE(vp2 != MAP_FAILED); in ATF_TC_BODY()
280 testloan(vp, vp2, 'E', 1); in ATF_TC_BODY()
283 ATF_REQUIRE(munmap(vp2, BUFSIZE) == 0); in ATF_TC_BODY()
/netbsd/src/usr.bin/mail/
Dcmd3.c737 struct var *vp, *vp2; in unset() local
743 if ((vp2 = lookup(*ap)) == NULL) { in unset()
753 if (vp2 == variables[h]) { in unset()
755 v_free(vp2->v_name); in unset()
756 v_free(vp2->v_value); in unset()
757 free(vp2); in unset()
760 for (vp = variables[h]; vp->v_link != vp2; vp = vp->v_link) in unset()
762 vp->v_link = vp2->v_link; in unset()
763 v_free(vp2->v_name); in unset()
764 v_free(vp2->v_value); in unset()
[all …]
/netbsd/src/external/bsd/mdocml/dist/
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()
Dmansearch.c402 manpage_compare(const void *vp1, const void *vp2) in manpage_compare() argument
410 mp2 = vp2; in manpage_compare()
/netbsd/src/sys/fs/puffs/
Dpuffs_sys.h344 #define PUFFS_MSG_ENQUEUEWAIT2_NOERROR(pmp, park, vp1, vp2) \ argument
347 puffs_msg_wait2(pmp, park, vp1, vp2); \
356 #define PUFFS_MSG_ENQUEUEWAIT2(pmp, park, vp1, vp2, var) \ argument
359 var = puffs_msg_wait2(pmp, park, vp1, vp2); \
/netbsd/src/sys/miscfs/specfs/
Dspec_vnops.c378 vnode_t *vp2; in spec_node_init() local
394 for (vp2 = *vpp; vp2 != NULL; vp2 = vp2->v_specnext) { in spec_node_init()
395 KASSERT(vp2->v_specnode != NULL); in spec_node_init()
396 if (rdev == vp2->v_rdev && vp->v_type == vp2->v_type) { in spec_node_init()
400 if (vp2 == NULL) { in spec_node_init()
414 sn->sn_dev = vp2->v_specnode->sn_dev; in spec_node_init()
/netbsd/src/games/fortune/strfile/
Dstrfile.c138 static int cmp_str(const void *vp1, const void *vp2);
380 cmp_str(const void *vp1, const void *vp2) in cmp_str() argument
387 p2 = (const STR *)vp2; in cmp_str()
/netbsd/src/sys/dev/
Dfss.c704 struct vnode *vp, *vp2; in fss_create_files() local
791 error = vn_open(NULL, pb2, 0, FREAD|FWRITE, 0, &vp2, NULL, NULL); in fss_create_files()
796 VOP_UNLOCK(vp2); in fss_create_files()
798 sc->sc_bs_vp = vp2; in fss_create_files()
800 if (vp2->v_type != VREG && vp2->v_type != VCHR) { in fss_create_files()
801 vrele(vp2); in fss_create_files()
/netbsd/src/share/examples/refuse/virtdir/
Dvirtdir.c43 compare(const void *vp1, const void *vp2) in compare() argument
46 const virt_dirent_t *tp2 = (const virt_dirent_t *) vp2; in compare()
/netbsd/src/external/bsd/iscsi/dist/src/initiator/
Dvirtdir.c43 compare(const void *vp1, const void *vp2) in compare() argument
46 const virt_dirent_t *tp2 = (const virt_dirent_t *) vp2; in compare()
/netbsd/src/sys/kern/
Dsubr_percpu.c195 percpu_zero_cb(void *vp, void *vp2, struct cpu_info *ci) in percpu_zero_cb() argument
197 size_t sz = (uintptr_t)vp2; in percpu_zero_cb()
/netbsd/src/bin/ksh/
Dvar.c884 struct tbl *vp2; in makenv() local
889 vp2 = mytsearch(&l2->vars, vp->name, h); in makenv()
890 if (vp2 != NULL) in makenv()
891 vp2->flag &= ~EXPORT; in makenv()
/netbsd/src/crypto/external/bsd/openssl/dist/test/
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()
/netbsd/src/external/bsd/tmux/dist/
Dutf8.c292 utf8_table_cmp(const void *vp1, const void *vp2) in utf8_table_cmp() argument
294 const wchar_t *wc1 = vp1, *wc2 = vp2; in utf8_table_cmp()
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dtree-ssa-sccvn.cc173 vn_phi_eq (const_vn_phi_t const vp1, const_vn_phi_t const vp2);
192 vn_phi_hasher::equal (const vn_phi_s *vp1, const vn_phi_s *vp2) in equal() argument
194 return vp1 == vp2 || vn_phi_eq (vp1, vp2); in equal()
4451 vn_phi_eq (const_vn_phi_t const vp1, const_vn_phi_t const vp2) in vn_phi_eq() argument
4453 if (vp1->hashcode != vp2->hashcode) in vn_phi_eq()
4456 if (vp1->block != vp2->block) in vn_phi_eq()
4458 if (EDGE_COUNT (vp1->block->preds) != EDGE_COUNT (vp2->block->preds)) in vn_phi_eq()
4471 || vp2->block->loop_father->header == vp2->block) in vn_phi_eq()
4476 if (!types_compatible_p (vp1->type, vp2->type)) in vn_phi_eq()
4482 = get_immediate_dominator (CDI_DOMINATORS, vp2->block); in vn_phi_eq()
[all …]
Dtree-loop-distribution.cc2812 offset_cmp (const void *vp1, const void *vp2) in offset_cmp() argument
2815 struct partition *p2 = *(struct partition *const *) vp2; in offset_cmp()
Dvar-tracking.cc4930 variable_part_different_p (variable_part *vp1, variable_part *vp2) in variable_part_different_p() argument
4936 for (lc2 = vp2->loc_chain; lc2; lc2 = lc2->next) in variable_part_different_p()
/netbsd/src/sys/dev/tprof/
Dtprof.c456 tprof_init_percpu_counters_offset(void *vp, void *vp2, struct cpu_info *ci) in tprof_init_percpu_counters_offset() argument
459 u_int counter = (uintptr_t)vp2; in tprof_init_percpu_counters_offset()
/netbsd/src/external/bsd/ipf/dist/perl/
DServices1115 1808 oracle-vp2 Oracle-VP2
/netbsd/src/etc/
Dservices4128 oracle-vp2 1808/tcp # Oracle-VP2 [Craig_Fowler] …
4129 oracle-vp2 1808/udp # Oracle-VP2 [Craig_Fowler] …