Home
last modified time | relevance | path

Searched refs:hash_bits (Results 1 – 8 of 8) sorted by relevance

/linux/tools/lib/bpf/
H A Dhashmap.c118 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits); in hashmap_grow()
167 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_insert()
191 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_insert()
211 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_find()
226 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_delete()
/linux/tools/perf/util/
H A Dhashmap.c118 h = hash_bits(map->hash_fn(cur->key, map->ctx), new_cap_bits); in hashmap_grow()
167 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_insert()
191 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_insert()
211 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_find()
226 h = hash_bits(map->hash_fn(key, map->ctx), map->cap_bits); in hashmap_delete()
H A Dsharded_mutex.h26 return &sm->mutexes[hash_bits(hash, sm->cap_bits)]; in sharded_mutex__get_mutex()
/linux/io_uring/
H A Dpoll.c124 u32 index = hash_long(req->cqe.user_data, table->hash_bits); in io_poll_req_insert()
737 unsigned nr_buckets = 1U << ctx->cancel_table.hash_bits; in io_poll_remove_all()
763 u32 index = hash_long(cd->data, ctx->cancel_table.hash_bits); in io_poll_find()
783 unsigned nr_buckets = 1U << ctx->cancel_table.hash_bits; in io_poll_file_find()
/linux/drivers/net/ethernet/cavium/thunder/
H A Dnic.h143 u8 hash_bits; member
493 u8 hash_bits; member
H A Dnic_main.c594 cpi_cfg |= (cfg->hash_bits << 20); in nic_config_rss()
/linux/net/ipv4/
H A Dfib_semantics.c356 unsigned int hash_bits = net->ipv4.fib_info_hash_bits; in fib_info_laddrhash_bucket() local
359 slot = hash_32(net_hash_mix(net) ^ (__force u32)val, hash_bits); in fib_info_laddrhash_bucket()
361 return &net->ipv4.fib_info_hash[(1 << hash_bits) + slot]; in fib_info_laddrhash_bucket()
364 static struct hlist_head *fib_info_hash_alloc(unsigned int hash_bits) in fib_info_hash_alloc() argument
367 return kvzalloc_objs(struct hlist_head, (1 << hash_bits) * 2); in fib_info_hash_alloc()
2272 unsigned int hash_bits = 4; in fib4_semantics_init()
2274 net->ipv4.fib_info_hash = fib_info_hash_alloc(hash_bits); in fib4_semantics_init()
2278 net->ipv4.fib_info_hash_bits = hash_bits; in fib4_semantics_init()
2269 unsigned int hash_bits = 4; fib4_semantics_init() local
/linux/lib/zlib_deflate/
H A Ddefutil.h116 uInt hash_bits; /* log2(hash_size) */ member