Home
last modified time | relevance | path

Searched refs:hash (Results 1 – 25 of 462) sorted by last modified time

12345678910>>...19

/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_mroute.c1444 uint_t hash; in del_mfc() local
1458 MFCB_REFHOLD(&ipst->ips_mfcs[hash]); in del_mfc()
1476 MFCB_REFRELE(&ipst->ips_mfcs[hash]); in del_mfc()
1507 MFCB_REFRELE(&ipst->ips_mfcs[hash]); in del_mfc()
1673 uint_t hash; in ip_mforward() local
1692 hash = MFCHASH(src, dst); in ip_mforward()
1814 "g 0x%x\n", hash, in ip_mforward()
1819 ipst->ips_mfcs[hash].mfcb_mfc = mfc_rt; in ip_mforward()
1921 uint_t hash; in expire_upcalls() local
1940 MFCB_REFHOLD(&ipst->ips_mfcs[hash]); in expire_upcalls()
[all …]
/illumos-gate/usr/src/uts/common/io/mac/
H A Dmac_sched.c1710 uint_t hash; in mac_rx_srs_long_fanout() local
1846 hash = HASH_ADDR(src_val, dst_val, in mac_rx_srs_long_fanout()
1848 *indx = COMPUTE_INDEX(hash, in mac_rx_srs_long_fanout()
1906 uint_t hash; in mac_rx_srs_fanout() local
2147 indx = COMPUTE_INDEX(hash, in mac_rx_srs_fanout()
3796 uint64_t hash; in mac_tx_fanout_mode() local
3807 hash = HASH_HINT(fanout_hint); in mac_tx_fanout_mode()
3853 last_hash = hash; in mac_tx_fanout_mode()
3943 uint_t indx, hash; in mac_tx_bw_mode() local
3945 hash = HASH_HINT(fanout_hint); in mac_tx_bw_mode()
[all …]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dlibsmb.h440 unsigned char hash[SMBAUTH_HASH_SZ]; member
/illumos-gate/usr/src/common/nvpair/
H A Dnvpair.c337 uint64_t hash = nvt_hash(name); in nvt_lookup_name_type() local
338 uint64_t index = hash & (priv->nvp_nbuckets - 1); in nvt_lookup_name_type()
383 uint32_t hash = nvt_hash(NVP_NAME(&e->nvi_nvp)); in nvt_resize() local
384 uint32_t index = hash & new_mask; in nvt_resize()
471 uint64_t hash = nvt_hash(name); in nvt_remove_nvpair() local
472 uint64_t index = hash & (priv->nvp_nbuckets - 1); in nvt_remove_nvpair()
526 uint64_t hash = nvt_hash(name); in nvt_add_nvpair() local
527 uint64_t index = hash & (priv->nvp_nbuckets - 1); in nvt_add_nvpair()
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c1337 uint64_t hash = object ^ (offset % (ZTEST_RANGE_LOCKS + 1)); in ztest_range_lock() local
1338 rll_t *rll = &zd->zd_range_lock[hash & (ZTEST_RANGE_LOCKS - 1)]; in ztest_range_lock()
/illumos-gate/usr/src/uts/common/rpc/
H A Dclnt_cots.c3168 uint_t hash; in clnt_dispatch_notify() local
3205 hash = call_hash(xid, clnt_cots_hash_size); in clnt_dispatch_notify()
3206 chtp = &cots_call_ht[hash]; in clnt_dispatch_notify()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dsa.c422 tb->lot_hash = hash; in sa_add_layout_entry()
452 for (; findtb && findtb->lot_hash == hash; in sa_add_layout_entry()
464 sa_find_layout(objset_t *os, uint64_t hash, sa_attr_type_t *attrs, in sa_find_layout() argument
473 tbsearch.lot_hash = hash; in sa_find_layout()
477 for (; tb && tb->lot_hash == hash; in sa_find_layout()
487 avl_numnodes(&sa->sa_layout_num_tree), hash, B_TRUE, tx); in sa_find_layout()
649 uint64_t hash; in sa_build_layouts() local
726 for (i = 0, len_idx = 0, hash = -1ULL; i != attr_count; i++) { in sa_build_layouts()
740 sa_find_layout(hdl->sa_os, hash, attrs_start, in sa_build_layouts()
746 hash = -1ULL; in sa_build_layouts()
[all …]
/illumos-gate/usr/src/lib/libc/port/threads/
H A Dsynch.c1932 uint_t hash = LOCK_HASH(mp); in register_lock() local
1954 for (rlp = table[hash]; rlp != NULL; rlp = rlp->robust_next) { in register_lock()
1966 for (rlpp = &table[hash]; in register_lock()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dndbm.c240 unsigned long hash; in dbm_forder() local
242 hash = dcalchash(key); in dbm_forder()
414 if ((hash&bit) == 0) in dbm_hashinc()
415 return (hash|bit); in dbm_hashinc()
416 hash &= ~bit; in dbm_hashinc()
431 dbm_access(db, hash); in dbm_firsthash()
448 hash = dbm_hashinc(db, hash); in dbm_firsthash()
449 if (hash == 0) in dbm_firsthash()
546 unsigned long hash; in dbm_do_nextkey() local
708 hash = dbm_hashinc(db, hash); in dbm_do_nextkey()
[all …]
/illumos-gate/usr/src/cmd/sgs/libld/common/
H A Dplace.c727 os_desc_hash_t *hash; in os_desc_hash() local
734 if ((hash = sgp->sg_hashtab) != NULL && hash->osh_hashtab != NULL) { in os_desc_hash()
735 if (nitems < hash->osh_size) { in os_desc_hash()
742 hash->osh_hashtab[idx] = osp; in os_desc_hash()
751 libld_free(hash->osh_hashtab); in os_desc_hash()
766 if (hash == NULL) { in os_desc_hash()
774 if ((hash->osh_hashtab = in os_desc_hash()
782 hash->osh_size = new_size; in os_desc_hash()
787 hash->osh_hashtab[idx] = osp; in os_desc_hash()
823 os_desc_hash_t *hash; in ld_place_section() local
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dkmem.c786 uintptr_t *hash; in kmem_hash_walk_init() local
815 kmhw->kmhw_table = hash = mdb_alloc(hsize, UM_SLEEP); in kmem_hash_walk_init()
816 if (mdb_vread(hash, hsize, haddr) == -1) { in kmem_hash_walk_init()
818 mdb_free(hash, hsize); in kmem_hash_walk_init()
/illumos-gate/usr/src/cmd/ldapcachemgr/
H A Dcachemgr_getldap.c306 unsigned long hash; in getldap_cache_op() local
353 hash = getldap_hash(from) % CACHE_HASH_MAX; in getldap_cache_op()
355 idx = hashTbl[hash]; in getldap_cache_op()
385 hashTbl[hash] = newp; in getldap_cache_op()
397 hash = getldap_hash(from) % CACHE_HASH_MAX; in getldap_cache_op()
399 idx = hashTbl[hash]; in getldap_cache_op()
/illumos-gate/usr/src/cmd/csh/
H A Dsh.h541 #define hash(a, b) ((a) * HSHMUL + (b) & HSHMASK) macro
/illumos-gate/usr/src/cmd/cmd-crypto/elfsign/
H A Delfsign.c501 uchar_t hash[SIG_MAX_LENGTH]; in do_sign() local
588 bzero(hash, sizeof (hash)); in do_sign()
589 if (elfsign_hash(cmd_info.ess, hash, &hash_len) != ELFSIGN_SUCCESS) { in do_sign()
598 hash, hash_len, sig, &sig_len)) { in do_sign()
649 bzero(hash, hash_len); in do_sign()
/illumos-gate/usr/src/boot/libsa/zfs/
H A Dzfsimpl.c2647 #define ZAP_HASH_IDX(hash, n) (((n) == 0) ? 0 : ((hash) >> (64 - (n)))) argument
2669 zap_leaf_lookup(zap_leaf_t *zl, uint64_t hash, const char *name, in zap_leaf_lookup() argument
2681 hash >> (64 - zl->l_phys->l_hdr.lh_prefix_len)) in zap_leaf_lookup()
2685 for (chunkp = LEAF_HASH_ENTPTR(zl, hash); in zap_leaf_lookup()
2691 if (le->le_hash != hash) in zap_leaf_lookup()
2719 uint64_t hash; in fzap_lookup() local
2733 hash = zap_hash(zh->zap_salt, name); in fzap_lookup()
2734 rc = zap_deref_leaf(&z, hash, &zl); in fzap_lookup()
2738 rc = zap_leaf_lookup(zl, hash, name, integer_size, num_integers, value); in fzap_lookup()
/illumos-gate/usr/src/boot/efi/include/IndustryStandard/
H A DTpm20.h714 UINT32 hash : 1; member
989 TPMI_ALG_HASH hash; member
1508 TPMI_ALG_HASH hash; member
1514 TPMI_ALG_HASH hash; member
1520 TPMI_ALG_HASH hash; member
/illumos-gate/exception_lists/
H A Dcstyle556 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/dbm.c
557 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/extern.h
558 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/hash_bigkey.c
559 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/hash_func.c
560 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/hash_log2.c
561 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/hash_page.c
562 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/hash.c
563 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/hash.h
564 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/hsearch.c
565 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/page.h
[all …]
H A Dhdrchk147 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/extern.h
148 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/hash.h
149 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/page.h
150 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/search.h
H A Dcopyright336 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/hash_bigkey.c
337 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/hash_func.c
338 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/hash_log2.c
339 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/hash_page.c
340 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/hash.c
341 usr/src/lib/krb5/plugins/kdb/db2/libdb2/hash/hsearch.c
/illumos-gate/usr/src/uts/intel/io/amdzen/
H A Dzen_umc.c1367 boolean_t hash = B_FALSE; in zen_umc_read_dram_rule_df_23() local
1470 hash = B_TRUE; in zen_umc_read_dram_rule_df_23()
1474 hash = B_TRUE; in zen_umc_read_dram_rule_df_23()
1478 hash = B_TRUE; in zen_umc_read_dram_rule_df_23()
1494 if (hash) { in zen_umc_read_dram_rule_df_23()
/illumos-gate/usr/src/uts/common/nfs/
H A Dnfs4.h166 uint32_t (*hash)(void *),
/illumos-gate/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kutil.c1950 smb_hash_uint64(smb_hash_t *hash, uint64_t val) in smb_hash_uint64() argument
1952 uint64_t k = val >> hash->rshift; in smb_hash_uint64()
1968 smb_hash_t *hash = kmem_alloc(sizeof (*hash), KM_SLEEP); in smb_hash_create() local
1974 hash->rshift = highbit(elemsz); in smb_hash_create()
1975 hash->num_buckets = num_buckets; in smb_hash_create()
1981 return (hash); in smb_hash_create()
1985 smb_hash_destroy(smb_hash_t *hash) in smb_hash_destroy() argument
1989 for (i = 0; i < hash->num_buckets; i++) in smb_hash_destroy()
1990 smb_llist_destructor(&hash->buckets[i].b_list); in smb_hash_destroy()
1992 kmem_free(hash->buckets, hash->num_buckets * sizeof (smb_bucket_t)); in smb_hash_destroy()
[all …]
H A Dsmb2_durable.c1567 smb_hash_t *hash; in smb2_durable_timers() local
1573 hash = sv->sv_persistid_ht; in smb2_durable_timers()
1576 for (i = 0; i < hash->num_buckets; i++) { in smb2_durable_timers()
1577 bucket = &hash->buckets[i].b_list; in smb2_durable_timers()
1710 smb_hash_t *hash; in smb2_dh_shutdown() local
1715 hash = sv->sv_persistid_ht; in smb2_dh_shutdown()
1717 for (i = 0; i < hash->num_buckets; i++) { in smb2_dh_shutdown()
1718 bucket = &hash->buckets[i].b_list; in smb2_dh_shutdown()
1754 for (i = 0; i < hash->num_buckets; i++) { in smb2_dh_shutdown()
1755 bucket = &hash->buckets[i].b_list; in smb2_dh_shutdown()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_subr.c2441 ulong_t hash, len, i; in rtablehash() local
2446 for (hash = 0, i = 0; i < len; i++) { in rtablehash()
2447 hash += key[i]; in rtablehash()
2448 hash += (hash << 10); in rtablehash()
2449 hash ^= (hash >> 6); in rtablehash()
2451 hash += (hash << 3); in rtablehash()
2452 hash ^= (hash >> 11); in rtablehash()
2453 hash += (hash << 15); in rtablehash()
2454 return (hash & rtablemask); in rtablehash()
H A Dnfs_auth.c287 hash(struct netbuf *a) in hash() function
906 tree = exi->exi_cache[hash(&addr)]; in nfsauth_cache_get()

12345678910>>...19