Lines Matching refs:hash_table
65 struct hlist_head *head = &detail->hash_table[hash]; in sunrpc_cache_find_rcu()
104 struct hlist_head *head = &detail->hash_table[hash]; in sunrpc_cache_add_entry()
235 hlist_add_head(&tmp->cache_list, &detail->hash_table[hash]); in sunrpc_cache_update()
471 hlist_empty(¤t_detail->hash_table[current_index])) in cache_clean()
482 head = ¤t_detail->hash_table[current_index]; in cache_clean()
557 head = &detail->hash_table[i]; in cache_purge()
1361 hlist_for_each_entry_rcu(ch, &cd->hash_table[hash], cache_list) in __cache_seq_start()
1369 hlist_empty(&cd->hash_table[hash])); in __cache_seq_start()
1374 hlist_first_rcu(&cd->hash_table[hash])), in __cache_seq_start()
1397 hlist_empty(&cd->hash_table[hash])) { in cache_seq_next()
1405 hlist_first_rcu(&cd->hash_table[hash])), in cache_seq_next()
1747 cd->hash_table = kcalloc(cd->hash_size, sizeof(struct hlist_head), in cache_create_net()
1749 if (cd->hash_table == NULL) { in cache_create_net()
1755 INIT_HLIST_HEAD(&cd->hash_table[i]); in cache_create_net()
1763 kfree(cd->hash_table); in cache_destroy_net()