Home
last modified time | relevance | path

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

/NextBSD/lib/libopenbsd/
HDohash.c29 uint32_t hv; member
102 i = h->t[j].hv % ns; in ohash_resize()
103 incr = ((h->t[j].hv % (ns - 2)) & ~1) + 1; in ohash_resize()
109 n[i].hv = h->t[j].hv; in ohash_resize()
226 uint32_t hv) in ohash_lookup_interval() argument
235 i = hv % h->size; in ohash_lookup_interval()
236 incr = ((hv % (h->size-2)) & ~1) + 1; in ohash_lookup_interval()
244 } else if (h->t[i].hv == hv && in ohash_lookup_interval()
249 h->t[empty].hv = hv; in ohash_lookup_interval()
268 h->t[i].hv = hv; in ohash_lookup_interval()
[all …]
/NextBSD/contrib/mdocml/
HDcompat_ohash.c36 uint32_t hv; member
109 i = h->t[j].hv % ns; in ohash_resize()
110 incr = ((h->t[j].hv % (ns - 2)) & ~1) + 1; in ohash_resize()
116 n[i].hv = h->t[j].hv; in ohash_resize()
233 uint32_t hv) in ohash_lookup_interval() argument
242 i = hv % h->size; in ohash_lookup_interval()
243 incr = ((hv % (h->size-2)) & ~1) + 1; in ohash_lookup_interval()
251 } else if (h->t[i].hv == hv && in ohash_lookup_interval()
256 h->t[empty].hv = hv; in ohash_lookup_interval()
275 h->t[i].hv = hv; in ohash_lookup_interval()
[all …]
/NextBSD/sys/contrib/ipfilter/netinet/
HDip_state.c1070 u_int hv; local
1087 hv = is->is_hv % softs->ipf_state_size;
1089 is->is_hv = hv;
1133 if (softs->ipf_state_table[hv] != NULL)
1134 softs->ipf_state_table[hv]->is_phnext = &is->is_hnext;
1137 is->is_phnext = softs->ipf_state_table + hv;
1138 is->is_hnext = softs->ipf_state_table[hv];
1139 softs->ipf_state_table[hv] = is;
1140 softs->ipf_state_stats.iss_bucketlen[hv]++;
1379 u_int pass, hv; local
[all …]
HDip_sync.c705 u_int hv; local
708 hv = sp->sm_num & (softs->ipf_sync_state_tab_sz - 1);
762 sl->sl_pnext = softs->syncstatetab + hv;
763 sl->sl_next = softs->syncstatetab[hv];
764 if (softs->syncstatetab[hv] != NULL)
765 softs->syncstatetab[hv]->sl_pnext = &sl->sl_next;
766 softs->syncstatetab[hv] = sl;
788 for (sl = softs->syncstatetab[hv]; (sl != NULL);
941 u_int hv = 0; local
977 sl->sl_pnext = softs->syncnattab + hv;
[all …]
HDip_nat6.c223 u_int hv; local
230 hv = NAT_HASH_FN6(&j, 0, softn->ipf_nat_rdrrules_sz);
236 hv = NAT_HASH_FN6(&j, 0, softn->ipf_nat_rdrrules_sz);
239 hv = 0;
244 np = softn->ipf_nat_rdr_rules + hv;
249 n->in_hv[0] = hv;
272 u_int hv; local
279 hv = NAT_HASH_FN6(&j, 0, softn->ipf_nat_maprules_sz);
282 hv = 0;
287 np = softn->ipf_nat_map_rules + hv;
[all …]
HDip_htable.c915 u_int hv; local
932 hv = IPE_V4_HASH_FN(ipe->ipe_addr.in4_addr,
942 hv = IPE_V6_HASH_FN(ipe->ipe_addr.i6,
953 ipe->ipe_hnext = iph->iph_table[hv];
954 ipe->ipe_phnext = iph->iph_table + hv;
956 if (iph->iph_table[hv] != NULL)
957 iph->iph_table[hv]->ipe_phnext = &ipe->ipe_hnext;
958 iph->iph_table[hv] = ipe;
1048 u_int hv; local
1064 hv = IPE_V4_HASH_FN(ipe.ipe_addr.in4_addr,
[all …]
HDip_nat.c650 u_int hv; local
664 hv = rhv % softn->ipf_nat_rdrrules_sz;
665 np = softn->ipf_nat_rdr_rules + hv;
670 n->in_hv[0] = hv;
692 u_int hv; local
706 hv = rhv % softn->ipf_nat_maprules_sz;
707 np = softn->ipf_nat_map_rules + hv;
792 u_int hv, rhv; local
794 hv = (src.s_addr ^ dst.s_addr);
795 hv += src.s_addr;
[all …]
/NextBSD/contrib/ipfilter/lib/
HDprinthostmap.c14 printhostmap(hmp, hv) in printhostmap() argument
16 u_int hv;
29 PRINTF(" hv = %u", hv);
HDprinthashnode.c21 u_int hv; local
27 hv = IPE_V4_HASH_FN(ipe.ipe_addr.i6[0], ipe.ipe_mask.i6[0],
38 PRINTF("\t%d\tAddress: %s", hv,
/NextBSD/usr.sbin/inetd/
HDinetd.c2212 int hv = 0xABC3D20F; in cpmip() local
2247 hv = (hv << 5) ^ (hv >> 23) ^ *p; in cpmip()
2249 hv = (hv ^ (hv >> 16)); in cpmip()
2252 CHash *ch = &CHashAry[(hv + i) & CPMHMASK]; in cpmip()
2344 int hv; in search_conn() local
2359 hv = hashval((char *)&((struct sockaddr_in *)&ss)->sin_addr, in search_conn()
2364 hv = hashval((char *)&((struct sockaddr_in6 *)&ss)->sin6_addr, in search_conn()
2380 LIST_FOREACH(conn, &sep->se_conn[hv], co_link) { in search_conn()
2400 LIST_INSERT_HEAD(&sep->se_conn[hv], conn, co_link); in search_conn()
2528 int hv; in search_proc() local
[all …]
/NextBSD/contrib/gcc/
HDsimplify-rtx.c943 HOST_WIDE_INT hv, lv; in simplify_const_unary_operation() local
947 lv = INTVAL (op), hv = HWI_SIGN_EXTEND (lv); in simplify_const_unary_operation()
949 lv = CONST_DOUBLE_LOW (op), hv = CONST_DOUBLE_HIGH (op); in simplify_const_unary_operation()
951 REAL_VALUE_FROM_INT (d, lv, hv, mode); in simplify_const_unary_operation()
959 HOST_WIDE_INT hv, lv; in simplify_const_unary_operation() local
963 lv = INTVAL (op), hv = HWI_SIGN_EXTEND (lv); in simplify_const_unary_operation()
965 lv = CONST_DOUBLE_LOW (op), hv = CONST_DOUBLE_HIGH (op); in simplify_const_unary_operation()
971 if (hv < 0) in simplify_const_unary_operation()
977 hv = 0, lv &= GET_MODE_MASK (op_mode); in simplify_const_unary_operation()
979 REAL_VALUE_FROM_UNSIGNED_INT (d, lv, hv, mode); in simplify_const_unary_operation()
[all …]
HDfold-const.c304 unsigned HOST_WIDE_INT *lv, HOST_WIDE_INT *hv, in add_double_with_sign() argument
314 *hv = h; in add_double_with_sign()
329 unsigned HOST_WIDE_INT *lv, HOST_WIDE_INT *hv) in neg_double() argument
334 *hv = - h1; in neg_double()
335 return (*hv & h1) < 0; in neg_double()
340 *hv = ~h1; in neg_double()
354 unsigned HOST_WIDE_INT *lv, HOST_WIDE_INT *hv, in mul_double_with_sign() argument
386 decode (prod, lv, hv); in mul_double_with_sign()
405 return (*hv < 0 ? ~(toplow & tophigh) : toplow | tophigh) != 0; in mul_double_with_sign()
417 unsigned HOST_WIDE_INT *lv, HOST_WIDE_INT *hv, int arith) in lshift_double() argument
[all …]
HDexplow.c108 HOST_WIDE_INT hv; in plus_constant() local
110 add_double (l1, h1, l2, h2, &lv, &hv); in plus_constant()
112 return immed_double_const (lv, hv, VOIDmode); in plus_constant()
HDtree.h4327 #define add_double(l1,h1,l2,h2,lv,hv) \ argument
4328 add_double_with_sign (l1, h1, l2, h2, lv, hv, false)
4335 #define mul_double(l1,h1,l2,h2,lv,hv) \ argument
4336 mul_double_with_sign (l1, h1, l2, h2, lv, hv, false)
/NextBSD/sys/gnu/dts/arm/
HDtegra114-tn7.dts102 regulator-name = "va-lcd-hv";
174 regulator-name = "vd-ts-hv";
182 regulator-name = "va-cam2-hv";
188 regulator-name = "va-sns-hv";
194 regulator-name = "va-cam1-hv";
/NextBSD/sys/dev/txp/
HDif_txp.c818 struct txp_hostvar *hv; in txp_int_task() local
826 hv = sc->sc_hostvar; in txp_int_task()
852 if (hv->hv_rx_buf_write_idx == hv->hv_rx_buf_read_idx) in txp_int_task()
995 struct txp_hostvar *hv; in txp_rxbuf_reclaim() local
1004 hv = sc->sc_hostvar; in txp_rxbuf_reclaim()
1005 cons = TXP_OFFSET2IDX(le32toh(hv->hv_rx_buf_read_idx)); in txp_rxbuf_reclaim()
1052 hv->hv_rx_buf_write_idx = htole32(TXP_IDX2OFFSET(prod)); in txp_rxbuf_reclaim()
2235 struct txp_hostvar *hv; in txp_ext_command() local
2243 hv = sc->sc_hostvar; in txp_ext_command()
2296 if (le32toh(hv->hv_resp_read_idx) != in txp_ext_command()
[all …]
/NextBSD/contrib/ntp/lib/isc/
HDsymtab.c210 unsigned int hv; in grow_table() local
215 hv = hash(elt->key, symtab->case_sensitive); in grow_table()
216 APPEND(newtable[hv % newsize], elt, link); in grow_table()
/NextBSD/contrib/ipfilter/tools/
HDipnat.c636 u_int hv; local
648 for (hv = 0; hv < nsp->ns_hostmap_sz; hv++) {
649 hmp = maptable[hv];
657 printhostmap(&hm, hv);
/NextBSD/contrib/ntp/ntpd/
HDntp_leapsec.c1053 unsigned char hv[ISC_SHA1_DIGESTLENGTH]; member
1085 mac->hv[wi*4 + di] = in do_leap_hash()
1141 isc_sha1_final(&mdctx, ldig.hv); in leapsec_validate()
/NextBSD/contrib/gcclibs/libcpp/
HDfiles.c327 hashval_t hv = htab_hash_string (path); in find_file_in_dir() local
331 if (htab_find_with_hash (pfile->nonexistent_file_hash, path, hv) != NULL) in find_file_in_dir()
357 copy, hv, INSERT); in find_file_in_dir()
/NextBSD/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
HDdbuf.c131 uint64_t hv = DBUF_HASH(os, obj, level, blkid); in dbuf_find() local
132 uint64_t idx = hv & h->hash_table_mask; in dbuf_find()
182 uint64_t hv = DBUF_HASH(os, obj, level, blkid); in dbuf_hash_insert() local
183 uint64_t idx = hv & h->hash_table_mask; in dbuf_hash_insert()
214 uint64_t hv = DBUF_HASH(db->db_objset, db->db.db_object, in dbuf_hash_remove() local
216 uint64_t idx = hv & h->hash_table_mask; in dbuf_hash_remove()
/NextBSD/contrib/binutils/bfd/
HDelflink.c499 struct elf_link_hash_entry *hv = h; in bfd_elf_record_link_assignment() local
501 hv = (struct elf_link_hash_entry *) hv->root.u.i.link; in bfd_elf_record_link_assignment()
502 while (hv->root.type == bfd_link_hash_indirect in bfd_elf_record_link_assignment()
503 || hv->root.type == bfd_link_hash_warning); in bfd_elf_record_link_assignment()
505 hv->root.type = bfd_link_hash_indirect; in bfd_elf_record_link_assignment()
506 hv->root.u.i.link = (struct bfd_link_hash_entry *) h; in bfd_elf_record_link_assignment()
507 (*bed->elf_backend_copy_indirect_symbol) (info, h, hv); in bfd_elf_record_link_assignment()
/NextBSD/sys/netpfil/pf/
HDpf.c449 u_int32_t hv = (intptr_t)s / sizeof(*s); in pf_state_hash() local
451 hv ^= crc32(&s->src, sizeof(s->src)); in pf_state_hash()
452 hv ^= crc32(&s->dst, sizeof(s->dst)); in pf_state_hash()
453 if (hv == 0) in pf_state_hash()
454 hv = 1; in pf_state_hash()
455 return (hv); in pf_state_hash()
/NextBSD/
HDObsoleteFiles.inc5438 OLD_FILES+=usr/libdata/perl/5.00503/mach/CORE/hv.h
/NextBSD/contrib/ncurses/
HDNEWS9150 + provides missing inlines for mvw[hv]line in cursesw.h of the C++