Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/infiniband/core/
Diwpm_util.c45 static struct hlist_head *iwpm_hash_bucket; variable
65 iwpm_hash_bucket = kcalloc(IWPM_MAPINFO_HASH_SIZE, in iwpm_init()
68 if (!iwpm_hash_bucket) { in iwpm_init()
76 kfree(iwpm_hash_bucket); in iwpm_init()
158 if (iwpm_hash_bucket) { in iwpm_create_mapinfo()
193 if (iwpm_hash_bucket) { in iwpm_remove_mapinfo()
229 &iwpm_hash_bucket[i], hlist_node) { in free_hash_bucket()
236 kfree(iwpm_hash_bucket); in free_hash_bucket()
237 iwpm_hash_bucket = NULL; in free_hash_bucket()
606 return &iwpm_hash_bucket[hash & IWPM_MAPINFO_HASH_MASK]; in get_mapinfo_hash_bucket()
[all …]