/linux-master/tools/perf/util/ |
H A D | sharded_mutex.h | 26 return &sm->mutexes[hash_bits(hash, sm->cap_bits)];
|
H A D | hashmap.c | 118 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits); 167 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 191 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 211 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 226 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits);
|
H A D | hashmap.h | 15 static inline size_t hash_bits(size_t h, int bits) function 194 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \ 202 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
|
/linux-master/tools/lib/bpf/ |
H A D | hashmap.c | 118 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits); 167 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 191 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 211 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); 226 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits);
|
H A D | hashmap.h | 15 static inline size_t hash_bits(size_t h, int bits) function 194 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \ 202 ? map->buckets[hash_bits(map->hash_fn((_key), map->ctx), map->cap_bits)] \
|
/linux-master/io_uring/ |
H A D | poll.c | 123 u32 index = hash_long(req->cqe.user_data, table->hash_bits); 134 u32 index = hash_long(req->cqe.user_data, table->hash_bits); 145 u32 index = hash_long(req->cqe.user_data, table->hash_bits); 769 unsigned nr_buckets = 1U << table->hash_bits; 811 u32 index = hash_long(cd->data, table->hash_bits); 838 unsigned nr_buckets = 1U << table->hash_bits;
|
H A D | fdinfo.c | 194 for (i = 0; i < (1U << ctx->cancel_table.hash_bits); i++) {
|
H A D | io_uring.c | 278 table->hash_bits = bits; 286 int hash_bits; local 299 hash_bits = ilog2(p->cq_entries) - 5; 300 hash_bits = clamp(hash_bits, 1, 8); 301 if (io_alloc_hash_table(&ctx->cancel_table, hash_bits)) 303 if (io_alloc_hash_table(&ctx->cancel_table_locked, hash_bits))
|
/linux-master/drivers/net/ethernet/cavium/thunder/ |
H A D | nic.h | 143 u8 hash_bits; member in struct:nicvf_rss_info 493 u8 hash_bits; member in struct:rss_cfg_msg
|
H A D | nicvf_main.c | 341 mbx.rss_cfg.hash_bits = rss->hash_bits; 379 rss->hash_bits = 0; 391 rss->hash_bits = ilog2(rounddown_pow_of_two(rss->rss_size));
|
H A D | nic_main.c | 594 cpi_cfg |= (cfg->hash_bits << 20);
|
/linux-master/lib/zlib_deflate/ |
H A D | deflate.c | 256 s->hash_bits = memLevel + 7; 257 s->hash_size = 1 << s->hash_bits; 259 s->hash_shift = ((s->hash_bits+MIN_MATCH-1)/MIN_MATCH); 600 Assert(s->hash_bits >= 8 && MAX_MATCH == 258, "Code too clever");
|
H A D | defutil.h | 116 uInt hash_bits; /* log2(hash_size) */ member in struct:deflate_state 123 * hash_shift * MIN_MATCH >= hash_bits
|
/linux-master/include/linux/ |
H A D | io_uring_types.h | 76 unsigned hash_bits; member in struct:io_hash_table
|
/linux-master/drivers/md/ |
H A D | dm-cache-policy-smq.c | 577 unsigned long long hash_bits; member in struct:smq_hash_table 591 ht->hash_bits = __ffs(nr_buckets); 626 unsigned int h = hash_64(from_oblock(e->oblock), ht->hash_bits); 662 unsigned int h = hash_64(from_oblock(oblock), ht->hash_bits); 679 unsigned int h = hash_64(from_oblock(e->oblock), ht->hash_bits);
|