Searched defs:hv (Results 1 - 25 of 25) sorted by relevance

/illumos-gate/usr/src/lib/libpkg/common/
H A Dnhash.c57 int hv = 0; local
67 hv += ((int)*cp++);
72 return (hv % hsz);
/illumos-gate/usr/src/cmd/mandoc/
H A Dmandoc_xr.c70 uint32_t hv; local
89 hv = ohash_interval(xr->hashkey, &pend);
90 slot = ohash_lookup_memory(xr_hash, xr->hashkey, tsz, hv);
H A Dcompat_ohash.c36 uint32_t hv; member in struct:_ohash_record
109 i = h->t[j].hv % ns;
110 incr = ((h->t[j].hv % (ns - 2)) & ~1) + 1;
116 n[i].hv = h->t[j].hv;
233 uint32_t hv)
242 i = hv % h->size;
243 incr = ((hv % (h->size-2)) & ~1) + 1;
251 } else if (h->t[i].hv == hv
232 ohash_lookup_interval(struct ohash *h, const char *start, const char *end, uint32_t hv) argument
280 ohash_lookup_memory(struct ohash *h, const char *k, size_t size, uint32_t hv) argument
333 uint32_t hv; local
[all...]
/illumos-gate/usr/src/lib/libm/common/complex/
H A Dcpowf.c58 int ix, iy, hx, hy, hv, hu, iu, iv, j; local
67 hv = THE_WORD(v);
71 iv = hv & 0x7fffffff;
H A Dcpow.c156 int ix, iy, hx, lx, hy, ly, hv, hu, iu, iv, lu, lv; local
169 hv = ((int *) &v)[HIWORD];
174 iv = hv & 0x7fffffff;
H A Dcpowl.c111 int ix, iy, hx, hy, hv, hu, iu, iv, i, j, k; local
120 hv = HI_XWORD(v);
124 iv = hv & 0x7fffffff;
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipnat.c372 u_int hv; local
388 for (hv = 0; hv < nsp->ns_hostmap_sz; hv++) {
389 hmp = maptable[hv];
397 printhostmap(&hm, hv);
/illumos-gate/usr/src/cmd/sendmail/src/
H A Dratectrl.c227 unsigned int hv; local
235 hv = 0xABC3D20F;
278 hv = (hv << 5) ^ (hv >> 23) ^ *p;
279 hv = (hv ^ (hv >> 16));
285 hv += (c<<11) ^ (c>>1);
286 hv
[all...]
H A Dmilter.c2717 char *buf, *hv; local
2740 hv = h->h_value;
2742 hv = h->h_value + 1;
2744 len_t = len_f + strlen(hv) + 1;
2756 len_v = dequote_internal_chars(hv, buf + len_n + 1,
/illumos-gate/usr/src/uts/common/inet/ipf/
H A Dip_htable.c302 u_int hv; local
313 hv = IPE_HASH_FN(sum4((uint32_t *)ipe->ipe_addr.in6_addr8),
325 hv = IPE_HASH_FN(ipe->ipe_addr.in4_addr, ipe->ipe_mask.in4_addr,
331 ipe->ipe_next = iph->iph_table[hv];
332 ipe->ipe_pnext = iph->iph_table + hv;
334 if (iph->iph_table[hv] != NULL)
335 iph->iph_table[hv]->ipe_pnext = &ipe->ipe_next;
336 iph->iph_table[hv] = ipe;
525 u_int hv; local
531 hv
564 u_int hv; local
[all...]
H A Dip_nat6.c143 u_int hv; local
150 hv = NAT_HASH_FN6(&j, 0, ifs->ifs_ipf_rdrrules_sz);
151 np = ifs->ifs_rdr_rules + hv;
156 n->in_hv = hv;
176 u_int hv; local
183 hv = NAT_HASH_FN6(&j, 0, ifs->ifs_ipf_natrules_sz);
184 np = ifs->ifs_nat_rules + hv;
189 n->in_hv = hv;
215 u_int hv; local
217 hv
1487 u_int hv; local
1661 u_int hv; local
1741 u_int hv; local
2096 u_32_t hv, nmsk; local
2379 u_32_t hv, rmsk; local
[all...]
H A Dip_state.c809 u_int hv; local
835 hv = is->is_hv % ifs->ifs_fr_statesize;
836 is->is_hv = hv;
855 if (ifs->ifs_ips_table[hv] != NULL)
856 ifs->ifs_ips_table[hv]->is_phnext = &is->is_hnext;
859 is->is_phnext = ifs->ifs_ips_table + hv;
860 is->is_hnext = ifs->ifs_ips_table[hv];
861 ifs->ifs_ips_table[hv] = is;
862 ifs->ifs_ips_stats.iss_bucketlen[hv]++;
1120 u_int pass, hv; local
2379 u_int hv; local
2672 u_int hv, hvm, pr, v, tryagain; local
4032 u_int hv; local
[all...]
H A Dip_nat.c315 u_int hv; local
322 hv = NAT_HASH_FN(j, 0, ifs->ifs_ipf_rdrrules_sz);
323 np = ifs->ifs_rdr_rules + hv;
328 n->in_hv = hv;
348 u_int hv; local
355 hv = NAT_HASH_FN(j, 0, ifs->ifs_ipf_natrules_sz);
356 np = ifs->ifs_nat_rules + hv;
361 n->in_hv = hv;
421 u_int hv; local
423 hv
3276 u_int hv; local
3448 u_int hv; local
3530 u_int hv; local
3938 u_32_t hv, msk, nmsk; local
4264 u_32_t hv, msk, rmsk; local
[all...]
/illumos-gate/usr/src/lib/libc/port/i18n/
H A Dgettext_util.c317 uint32_t hv, hidx; local
345 hv = get_hashid(ms, NULL);
346 hidx = search_msg(p, ms, hv, m);
364 hv = get_hashid(ms, NULL);
365 hidx = search_msg(p, ms, hv, m);
/illumos-gate/usr/src/uts/common/crypto/core/
H A Dkcf_mech_tabs.c149 mod_hash_val_t hv; local
153 if (mod_hash_find(kcf_mech_hash, (mod_hash_key_t)mechname, &hv) == 0) {
154 mt = *(crypto_mech_type_t *)hv;
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dengine.c1369 char *hf, *hv; local
1377 if (dec_arg2(g->a_buf, g->a_len, &hf, &hv) == MI_SUCCESS)
1378 return (*fi_header)(g->a_ctx, hf, hv);
/illumos-gate/usr/src/uts/common/fs/sockfs/
H A Dnl7chttp.c729 uint32_t hv; /* hash value */ local
732 hv = *hash;
830 CHASH(hv, ca);
845 *hash = hv;
H A Dnl7curi.c254 #define URI_HASH(hv, cp, ep) { \
262 CHASH(hv, _c); \
1936 uint32_t hv = 0; local
2000 CHASH(hv, c);
2013 uri->hvalue = hv;
/illumos-gate/usr/src/uts/common/os/
H A Dlabelsys.c210 mod_hash_val_t hv; local
214 if (mod_hash_find(hash, (mod_hash_key_t)name, &hv) == 0) {
215 tpc = (tsol_tpc_t *)hv;
570 mod_hash_val_t hv; local
581 &hv) == 0) {
582 tsol_tpc_t *found_tpc = (tsol_tpc_t *)hv;
605 mod_hash_val_t hv; local
609 if (mod_hash_find(tpc_name_hash, (mod_hash_key_t)tname, &hv) == 0) {
610 tpc = (tsol_tpc_t *)hv;
H A Dsunmdi.c2943 mod_hash_val_t hv; local
2981 if (mod_hash_find(mdi_pathmap_bypath, (mod_hash_key_t)path, &hv) == 0) {
2982 path_instance = (uint_t)(intptr_t)hv;
3047 mod_hash_val_t hv; local
3052 (mod_hash_key_t)(intptr_t)path_instance, &hv) == 0)
3053 path = (char *)hv;
3069 mod_hash_val_t hv; local
3074 (mod_hash_key_t)(intptr_t)path_instance, &hv) == 0)
3075 path = (char *)hv;
8160 mod_hash_val_t hv; local
[all...]
H A Dzone.c3030 mod_hash_val_t hv; local
3036 (mod_hash_key_t)(uintptr_t)zoneid, &hv) == 0)
3037 zone = (zone_t *)hv;
3044 mod_hash_val_t hv; local
3054 if (mod_hash_find(zonehashbylabel, (mod_hash_key_t)label, &hv) == 0)
3055 zone = (zone_t *)hv;
3062 mod_hash_val_t hv; local
3067 if (mod_hash_find(zonehashbyname, (mod_hash_key_t)name, &hv) == 0)
3068 zone = (zone_t *)hv;
H A Dsunddi.c6424 mod_hash_val_t hv; local
6428 (mod_hash_key_t)str, &hv) == 0))
6429 id = (int)(intptr_t)hv;
6439 mod_hash_val_t hv; local
6443 (mod_hash_key_t)(uintptr_t)id, &hv) == 0))
6444 str = (char *)hv;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddbuf.c224 uint64_t hv = dbuf_hash(os, obj, level, blkid); local
225 uint64_t idx = hv & h->hash_table_mask;
275 uint64_t hv = dbuf_hash(os, obj, level, blkid); local
276 uint64_t idx = hv & h->hash_table_mask;
307 uint64_t hv = dbuf_hash(db->db_objset, db->db.db_object, local
309 uint64_t idx = hv & h->hash_table_mask;
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/
H A Dscsi_vhci.c4946 mod_hash_val_t hv; local
5017 (mod_hash_key_t)target_port_dup, &hv) == 0) {
5018 pid = (int)(intptr_t)hv; /* mapping exists */
5971 mod_hash_val_t hv; local
5975 (mod_hash_key_t)(uintptr_t)pid, &hv) != 0) {
5988 target_port = (char *)hv;
/illumos-gate/usr/src/uts/common/io/myri10ge/drv/
H A Dmyri10ge.c985 int i, hv, lv; local
1002 hv = 0;
1005 hv = myri10ge_digit(*ptr); ptr++;
1008 mgp->mac_addr[i] = (hv << 4) | lv;

Completed in 173 milliseconds