/freebsd/contrib/elftoolchain/elfdump/ |
H A D | elfdump.c | 2140 uint32_t *bucket, *chain; in elf_print_svr4_hash() local 2175 bucket = &buf[2]; in elf_print_svr4_hash() 2183 for (j = bucket[i]; j > 0 && j < nchain; j = chain[j]) in elf_print_svr4_hash() 2193 for (j = bucket[i]; j > 0 && j < nchain; j = chain[j]) { in elf_print_svr4_hash() 2216 PRT("bucket[%d]:\n\t%u\n\n", i, bucket[i]); in elf_print_svr4_hash() 2230 uint64_t *bucket, *chain; in elf_print_svr4_hash64() local 2277 bucket = &buf[2]; in elf_print_svr4_hash64() 2285 for (j = bucket[i]; j > 0 && j < nchain; j = chain[j]) in elf_print_svr4_hash64() 2335 uint32_t *bucket, *chain; in elf_print_gnu_hash() local 2383 chain = bucket + nbucket; in elf_print_gnu_hash() [all …]
|
/freebsd/sys/dev/wg/ |
H A D | wg_cookie.c | 422 uint64_t bucket, tokens; in ratelimit_allow() local 440 bucket = siphash13(rl->rl_secret, &key, len) & RATELIMIT_MASK; in ratelimit_allow() 443 LIST_FOREACH(r, &rl->rl_table[bucket], r_entry) { in ratelimit_allow() 484 LIST_INSERT_HEAD(&rl->rl_table[bucket], r, r_entry); in ratelimit_allow()
|
/freebsd/lib/librss/ |
H A D | librss.h | 73 rss_bucket_type_t btype, int bucket, cpuset_t *cs);
|
/freebsd/lib/libc/db/hash/ |
H A D | hash_page.c | 514 __get_page(HTAB *hashp, char *p, u_int32_t bucket, int is_bucket, int is_disk, in __get_page() argument 528 page = BUCKET_TO_PAGE(bucket); in __get_page() 530 page = OADDR_TO_PAGE(bucket); in __get_page() 569 __put_page(HTAB *hashp, char *p, u_int32_t bucket, int is_bucket, int is_bitmap) in __put_page() argument 597 page = BUCKET_TO_PAGE(bucket); in __put_page() 599 page = OADDR_TO_PAGE(bucket); in __put_page()
|
/freebsd/sys/ofed/drivers/infiniband/core/ |
H A D | ib_fmr_pool.c | 122 struct hlist_head *bucket; in ib_fmr_cache_lookup() local 128 bucket = pool->cache_bucket + ib_fmr_hash(*page_list); in ib_fmr_cache_lookup() 130 hlist_for_each_entry(fmr, bucket, cache_node) in ib_fmr_cache_lookup()
|
/freebsd/sys/net/ |
H A D | rss_config.c | 339 rss_getcpu(u_int bucket) in rss_getcpu() argument 342 return (rss_table[bucket].rte_cpu); in rss_getcpu()
|
H A D | rss_config.h | 114 u_int rss_getcpu(u_int bucket);
|
/freebsd/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/ |
H A D | JDTrace.java | 303 Distribution.Bucket bucket; in printDistribution() local 336 bucket = d.get(i); in printDistribution() 337 v = bucket.getFrequency(); in printDistribution() 338 b = bucket.getMin(); in printDistribution() 344 } else if (bucket.getMax() == Long.MAX_VALUE) { in printDistribution()
|
/freebsd/sys/netinet/ |
H A D | tcp_lro.c | 150 tcp_lro_active_insert(struct lro_ctrl *lc, struct lro_head *bucket, in tcp_lro_active_insert() argument 155 LIST_INSERT_HEAD(bucket, le, hash_next); in tcp_lro_active_insert() 1289 struct lro_head *bucket; in tcp_lro_rx_common() local 1379 bucket = &lc->lro_hash[0]; in tcp_lro_rx_common() 1381 bucket = tcp_lro_rx_get_bucket(lc, m, pa); in tcp_lro_rx_common() 1385 LIST_FOREACH(le, bucket, hash_next) { in tcp_lro_rx_common() 1412 tcp_lro_active_insert(lc, bucket, le); in tcp_lro_rx_common()
|
/freebsd/sys/cddl/contrib/opensolaris/uts/intel/dtrace/ |
H A D | fasttrap_isa.c | 690 fasttrap_bucket_t *bucket; in fasttrap_return_common() local 695 bucket = &fasttrap_tpoints.fth_table[FASTTRAP_TPOINTS_INDEX(pid, pc)]; in fasttrap_return_common() 697 for (tp = bucket->ftb_data; tp != NULL; tp = tp->ftt_next) { in fasttrap_return_common() 927 fasttrap_bucket_t *bucket; in fasttrap_pid_probe() local 991 bucket = &fasttrap_tpoints.fth_table[FASTTRAP_TPOINTS_INDEX(pid, pc)]; in fasttrap_pid_probe() 996 for (tp = bucket->ftb_data; tp != NULL; tp = tp->ftt_next) { in fasttrap_pid_probe()
|
/freebsd/sys/cddl/contrib/opensolaris/uts/common/dtrace/ |
H A D | dtrace.c | 1889 size_t bucket, ksize; in dtrace_dynvar() local 2105 hash[bucket].dtdh_lock++; in dtrace_dynvar() 8084 for (bucket = hash->dth_tab[i]; bucket != NULL; bucket = next) { 8092 new_tab[ndx] = bucket; 8110 for (; bucket != NULL; bucket = bucket->dthb_next) { 8138 bucket->dthb_len++; 8148 for (; bucket != NULL; bucket = bucket->dthb_next) { 8163 for (; bucket != NULL; bucket = bucket->dthb_next) { 8183 for (; bucket != NULL; bucket = bucket->dthb_next) { 8188 ASSERT(bucket != NULL); [all …]
|
/freebsd/sys/contrib/openzfs/module/zstd/lib/compress/ |
H A D | zstd_ldm.c | 309 ldmEntry_t* const bucket = in ZSTD_ldm_generateSequences_internal() local 317 for (cur = bucket; cur < bucket + ldmBucketSize; ++cur) { in ZSTD_ldm_generateSequences_internal()
|
/freebsd/usr.sbin/ppp/ |
H A D | mbuf.c | 63 } *bucket[(M_MAXLEN + sizeof(struct mbuf)) / BUCKET_HASH]; variable 66 #define M_BUCKET(sz) (bucket + M_BINDEX(sz))
|
/freebsd/sys/dev/cxgbe/tom/ |
H A D | t4_listen.c | 273 int bucket = listen_hashfn(lctx->inp, td->listen_mask); in listen_hash_add() local 276 LIST_INSERT_HEAD(&td->listen_hash[bucket], lctx, link); in listen_hash_add() 288 int bucket = listen_hashfn(inp, td->listen_mask); in listen_hash_find() local 292 LIST_FOREACH(lctx, &td->listen_hash[bucket], link) { in listen_hash_find() 308 int bucket = listen_hashfn(inp, td->listen_mask); in listen_hash_del() local 312 LIST_FOREACH_SAFE(lctx, &td->listen_hash[bucket], link, l) { in listen_hash_del()
|
/freebsd/contrib/libxo/ |
H A D | configure.ac | 318 AC_MSG_CHECKING([retain hash bucket size]) 320 [ --with-retain-size=[DIR] Specify retain hash bucket size (in bits)], 327 AC_DEFINE_UNQUOTED([XO_RETAIN_SIZE], ${XO_RETAIN_SIZE}, [Retain hash bucket size])
|
/freebsd/sys/kern/ |
H A D | kern_timeout.c | 589 int bucket; in callout_cc_add() local 603 bucket = callout_get_bucket(c->c_time); in callout_cc_add() 607 LIST_INSERT_HEAD(&cc->cc_callwheel[bucket], c, c_links.le); in callout_cc_add() 608 if (cc->cc_bucket == bucket) in callout_cc_add()
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_taskdeps.cpp | 165 size_t bucket = __kmp_dephash_hash(addr, h->size); in __kmp_dephash_find() local 168 for (entry = h->buckets[bucket]; entry; entry = entry->next_in_bucket) in __kmp_dephash_find() 190 entry->next_in_bucket = h->buckets[bucket]; in __kmp_dephash_find() 191 h->buckets[bucket] = entry; in __kmp_dephash_find()
|
H A D | kmp_itt.inl | 74 size_t bucket = __kmp_itthash_hash((kmp_intptr_t)loc, KMP_MAX_FRAME_DOMAINS); local 75 for (entry = h->buckets[bucket]; entry; entry = entry->next_in_bucket) 92 entry->next_in_bucket = h->buckets[bucket]; 93 while (!KMP_COMPARE_AND_STORE_PTR(&h->buckets[bucket], 96 entry->next_in_bucket = h->buckets[bucket];
|
/freebsd/contrib/llvm-project/libcxx/include/ |
H A D | __hash_table | 863 _LIBCPP_HIDE_FROM_ABI size_type bucket(const _Key& __k) const { 865 bucket_count() > 0, "unordered container::bucket(key) called when bucket_count() == 0"); 1328 // Insert the node __nd into the container by pushing it into the right bucket, 1337 // insert_after __bucket_list_[__chash], or __first_node if bucket is null 1410 // the bucket that compares equal to __cp). Rehashing, and checking for 1412 // all we need to do is update the bucket and size(). Assumes that __cp->__hash 1502 // insert_after __bucket_list_[__chash], or __first_node if bucket is null 1858 // if __pn is not in same bucket (before begin is not in same bucket) && 1859 // if __cn->__next_ is not in same bucket (nullptr is not in same bucket) 1864 // if __cn->__next_ is not in same bucket (nullptr is in same bucket)
|
/freebsd/sys/dev/mlx5/mlx5_core/ |
H A D | mlx5_eq.c | 479 u8 bucket = vecidx - MLX5_EQ_VEC_COMP_BASE; in mlx5_create_map_eq() local 481 rss_getcpu(bucket % rss_getnumbuckets())); in mlx5_create_map_eq()
|
/freebsd/sys/dev/cxgbe/firmware/ |
H A D | t6fw_cfg_hashfilter.txt | 76 reg[0x19c28] = 0x00800000/0x01f00000 # LE Hash bucket size 8,
|
H A D | t6fw_cfg.txt | 63 reg[0x19c28] = 0x00800000/0x01f00000 # LE Hash bucket size 8,
|
/freebsd/sys/contrib/ncsw/inc/flib/ |
H A D | fsl_fman_dtsec.h | 1006 void fman_dtsec_set_bucket(struct dtsec_regs *regs, int bucket, bool enable);
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | merge.c | 402 equiv_cb(void *bucket, void *arg) in equiv_cb() argument 405 tdesc_t *mtdp = bucket; in equiv_cb()
|
/freebsd/sys/contrib/openzfs/module/nvpair/ |
H A D | nvpair.c | 482 i_nvp_t *bucket = tab[index]; in nvt_remove_nvpair() local 484 for (i_nvp_t *prev = NULL, *e = bucket; in nvt_remove_nvpair() 491 ASSERT3P(e, ==, bucket); in nvt_remove_nvpair() 538 i_nvp_t *bucket = tab[index]; in nvt_add_nvpair() local 543 new_entry->nvi_hashtable_next = bucket; in nvt_add_nvpair()
|