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()
1349 hlist_for_each_entry_rcu(ch, &cd->hash_table[hash], cache_list) in __cache_seq_start()
1357 hlist_empty(&cd->hash_table[hash])); in __cache_seq_start()
1362 hlist_first_rcu(&cd->hash_table[hash])), in __cache_seq_start()
1385 hlist_empty(&cd->hash_table[hash])) { in cache_seq_next()
1393 hlist_first_rcu(&cd->hash_table[hash])), in cache_seq_next()
1743 cd->hash_table = kcalloc(cd->hash_size, sizeof(struct hlist_head), in cache_create_net()
1745 if (cd->hash_table == NULL) { in cache_create_net()
1751 INIT_HLIST_HEAD(&cd->hash_table[i]); in cache_create_net()
1759 kfree(cd->hash_table); in cache_destroy_net()