Lines Matching refs:cache_head
42 static bool cache_defer_req(struct cache_req *req, struct cache_head *item);
43 static void cache_revisit_request(struct cache_head *item);
45 static void cache_init(struct cache_head *h, struct cache_detail *detail) in cache_init()
58 static void cache_fresh_unlocked(struct cache_head *head,
61 static struct cache_head *sunrpc_cache_find_rcu(struct cache_detail *detail, in sunrpc_cache_find_rcu()
62 struct cache_head *key, in sunrpc_cache_find_rcu()
66 struct cache_head *tmp; in sunrpc_cache_find_rcu()
83 static void sunrpc_begin_cache_remove_entry(struct cache_head *ch, in sunrpc_begin_cache_remove_entry()
92 static void sunrpc_end_cache_remove_entry(struct cache_head *ch, in sunrpc_end_cache_remove_entry()
99 static struct cache_head *sunrpc_cache_add_entry(struct cache_detail *detail, in sunrpc_cache_add_entry()
100 struct cache_head *key, in sunrpc_cache_add_entry()
103 struct cache_head *new, *tmp, *freeme = NULL; in sunrpc_cache_add_entry()
146 struct cache_head *sunrpc_cache_lookup_rcu(struct cache_detail *detail, in sunrpc_cache_lookup_rcu()
147 struct cache_head *key, int hash) in sunrpc_cache_lookup_rcu()
149 struct cache_head *ret; in sunrpc_cache_lookup_rcu()
159 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch);
161 static void cache_fresh_locked(struct cache_head *head, time64_t expiry, in cache_fresh_locked()
174 static void cache_fresh_unlocked(struct cache_head *head, in cache_fresh_unlocked()
184 struct cache_head *h) in cache_make_negative()
191 struct cache_head *h, in cache_entry_update()
192 struct cache_head *new) in cache_entry_update()
202 struct cache_head *sunrpc_cache_update(struct cache_detail *detail, in sunrpc_cache_update()
203 struct cache_head *new, struct cache_head *old, int hash) in sunrpc_cache_update()
209 struct cache_head *tmp; in sunrpc_cache_update()
246 static inline int cache_is_valid(struct cache_head *h) in cache_is_valid()
267 static int try_to_negate_entry(struct cache_detail *detail, struct cache_head *h) in try_to_negate_entry()
299 struct cache_head *h, struct cache_req *rqstp) in cache_check()
463 struct cache_head *ch = NULL; in cache_clean()
533 struct cache_head *ch = NULL; in cache_purge()
547 ch = hlist_entry(head->first, struct cache_head, in cache_purge()
594 static void __hash_deferred_req(struct cache_deferred_req *dreq, struct cache_head *item) in __hash_deferred_req()
603 struct cache_head *item, in setup_deferral()
634 static void cache_wait_req(struct cache_req *req, struct cache_head *item) in cache_wait_req()
707 static bool cache_defer_req(struct cache_req *req, struct cache_head *item) in cache_defer_req()
731 static void cache_revisit_request(struct cache_head *item) in cache_revisit_request()
804 struct cache_head *item;
1084 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch) in cache_dequeue()
1205 static int cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) in cache_pipe_upcall()
1246 int sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) in sunrpc_cache_pipe_upcall()
1255 struct cache_head *h) in sunrpc_cache_pipe_upcall_timeout()
1345 struct cache_head *ch; in __cache_seq_start()
1367 struct cache_head, cache_list); in __cache_seq_start()
1372 struct cache_head *ch = p; in cache_seq_next()
1385 struct cache_head, cache_list); in cache_seq_next()
1398 struct cache_head, cache_list); in cache_seq_next()
1424 struct cache_head *cp = p; in c_show()
1908 void sunrpc_cache_unhash(struct cache_detail *cd, struct cache_head *h) in sunrpc_cache_unhash()