Lines Matching refs:cache_list
48 INIT_HLIST_NODE(&h->cache_list); in cache_init()
69 hlist_for_each_entry_rcu(tmp, head, cache_list) { in sunrpc_cache_find_rcu()
87 hlist_del_init_rcu(&ch->cache_list); in sunrpc_begin_cache_remove_entry()
119 hlist_for_each_entry_rcu(tmp, head, cache_list, in sunrpc_cache_add_entry()
136 hlist_add_head_rcu(&new->cache_list, head); in sunrpc_cache_add_entry()
233 hlist_add_head(&tmp->cache_list, &detail->hash_table[hash]); in sunrpc_cache_update()
377 static LIST_HEAD(cache_list);
395 list_add(&cd->others, &cache_list); in sunrpc_init_cache_detail()
413 if (list_empty(&cache_list)) { in sunrpc_destroy_cache_detail()
439 next = cache_list.next; in cache_clean()
440 if (next == &cache_list) { in cache_clean()
473 hlist_for_each_entry_safe(ch, tmp, head, cache_list) { in cache_clean()
505 if (list_empty(&cache_list)) in do_cache_clean()
548 cache_list); in cache_purge()
1353 hlist_for_each_entry_rcu(ch, &cd->hash_table[hash], cache_list) in __cache_seq_start()
1367 struct cache_head, cache_list); in __cache_seq_start()
1378 else if (ch->cache_list.next == NULL) { in cache_seq_next()
1384 hlist_next_rcu(&ch->cache_list)), in cache_seq_next()
1385 struct cache_head, cache_list); in cache_seq_next()
1398 struct cache_head, cache_list); in cache_seq_next()
1911 if (!hlist_unhashed(&h->cache_list)){ in sunrpc_cache_unhash()