Lines Matching refs:cache_list
49 INIT_HLIST_NODE(&h->cache_list); in cache_init()
70 hlist_for_each_entry_rcu(tmp, head, cache_list) { in sunrpc_cache_find_rcu()
88 hlist_del_init_rcu(&ch->cache_list); in sunrpc_begin_cache_remove_entry()
120 hlist_for_each_entry_rcu(tmp, head, cache_list, in sunrpc_cache_add_entry()
137 hlist_add_head_rcu(&new->cache_list, head); in sunrpc_cache_add_entry()
236 hlist_add_head(&tmp->cache_list, &detail->hash_table[hash]); in sunrpc_cache_update()
391 static LIST_HEAD(cache_list);
409 list_add(&cd->others, &cache_list); in sunrpc_init_cache_detail()
427 if (list_empty(&cache_list)) { in sunrpc_destroy_cache_detail()
453 next = cache_list.next; in cache_clean()
454 if (next == &cache_list) { in cache_clean()
484 hlist_for_each_entry_safe(ch, tmp, head, cache_list) { in cache_clean()
518 if (list_empty(&cache_list)) in do_cache_clean()
561 cache_list); in cache_purge()
1378 hlist_for_each_entry_rcu(ch, &cd->hash_table[hash], cache_list) in __cache_seq_start()
1392 struct cache_head, cache_list); in __cache_seq_start()
1403 else if (ch->cache_list.next == NULL) { in cache_seq_next()
1409 hlist_next_rcu(&ch->cache_list)), in cache_seq_next()
1410 struct cache_head, cache_list); in cache_seq_next()
1423 struct cache_head, cache_list); in cache_seq_next()
1923 if (!hlist_unhashed(&h->cache_list)){ in sunrpc_cache_unhash()