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()
233 hlist_add_head(&tmp->cache_list, &detail->hash_table[hash]); in sunrpc_cache_update()
457 hlist_empty(¤t_detail->hash_table[current_index])) in cache_clean()
472 head = ¤t_detail->hash_table[current_index]; in cache_clean()
545 head = &detail->hash_table[i]; in cache_purge()
1353 hlist_for_each_entry_rcu(ch, &cd->hash_table[hash], cache_list) in __cache_seq_start()
1361 hlist_empty(&cd->hash_table[hash])); in __cache_seq_start()
1366 hlist_first_rcu(&cd->hash_table[hash])), in __cache_seq_start()
1389 hlist_empty(&cd->hash_table[hash])) { in cache_seq_next()
1397 hlist_first_rcu(&cd->hash_table[hash])), in cache_seq_next()
1749 cd->hash_table = kcalloc(cd->hash_size, sizeof(struct hlist_head), in cache_create_net()
1751 if (cd->hash_table == NULL) { in cache_create_net()
1757 INIT_HLIST_HEAD(&cd->hash_table[i]); in cache_create_net()
1765 kfree(cd->hash_table); in cache_destroy_net()