Lines Matching refs:hash_table
63 struct hlist_head *head = &detail->hash_table[hash]; in sunrpc_cache_find_rcu()
102 struct hlist_head *head = &detail->hash_table[hash]; in sunrpc_cache_add_entry()
231 hlist_add_head(&tmp->cache_list, &detail->hash_table[hash]); in sunrpc_cache_update()
455 hlist_empty(¤t_detail->hash_table[current_index])) in cache_clean()
470 head = ¤t_detail->hash_table[current_index]; in cache_clean()
543 head = &detail->hash_table[i]; in cache_purge()
1337 hlist_for_each_entry_rcu(ch, &cd->hash_table[hash], cache_list) in __cache_seq_start()
1345 hlist_empty(&cd->hash_table[hash])); in __cache_seq_start()
1350 hlist_first_rcu(&cd->hash_table[hash])), in __cache_seq_start()
1373 hlist_empty(&cd->hash_table[hash])) { in cache_seq_next()
1381 hlist_first_rcu(&cd->hash_table[hash])), in cache_seq_next()
1733 cd->hash_table = kcalloc(cd->hash_size, sizeof(struct hlist_head), in cache_create_net()
1735 if (cd->hash_table == NULL) { in cache_create_net()
1741 INIT_HLIST_HEAD(&cd->hash_table[i]); in cache_create_net()
1749 kfree(cd->hash_table); in cache_destroy_net()