Lines Matching refs:cache_head

39 static bool cache_defer_req(struct cache_req *req, struct cache_head *item);
40 static void cache_revisit_request(struct cache_head *item);
43 static void cache_init(struct cache_head *h, struct cache_detail *detail) in cache_init()
56 static inline int cache_is_valid(struct cache_head *h);
57 static void cache_fresh_locked(struct cache_head *head, time_t expiry,
59 static void cache_fresh_unlocked(struct cache_head *head,
62 static struct cache_head *sunrpc_cache_find_rcu(struct cache_detail *detail, in sunrpc_cache_find_rcu()
63 struct cache_head *key, in sunrpc_cache_find_rcu()
67 struct cache_head *tmp; in sunrpc_cache_find_rcu()
83 static struct cache_head *sunrpc_cache_add_entry(struct cache_detail *detail, in sunrpc_cache_add_entry()
84 struct cache_head *key, in sunrpc_cache_add_entry()
87 struct cache_head *new, *tmp, *freeme = NULL; in sunrpc_cache_add_entry()
133 struct cache_head *sunrpc_cache_lookup_rcu(struct cache_detail *detail, in sunrpc_cache_lookup_rcu()
134 struct cache_head *key, int hash) in sunrpc_cache_lookup_rcu()
136 struct cache_head *ret; in sunrpc_cache_lookup_rcu()
146 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch);
148 static void cache_fresh_locked(struct cache_head *head, time_t expiry, in cache_fresh_locked()
161 static void cache_fresh_unlocked(struct cache_head *head, in cache_fresh_unlocked()
170 struct cache_head *sunrpc_cache_update(struct cache_detail *detail, in sunrpc_cache_update()
171 struct cache_head *new, struct cache_head *old, int hash) in sunrpc_cache_update()
177 struct cache_head *tmp; in sunrpc_cache_update()
220 static int cache_make_upcall(struct cache_detail *cd, struct cache_head *h) in cache_make_upcall()
227 static inline int cache_is_valid(struct cache_head *h) in cache_is_valid()
248 static int try_to_negate_entry(struct cache_detail *detail, struct cache_head *h) in try_to_negate_entry()
280 struct cache_head *h, struct cache_req *rqstp) in cache_check()
447 struct cache_head *ch = NULL; in cache_clean()
519 struct cache_head *ch = NULL; in cache_purge()
583 static void __hash_deferred_req(struct cache_deferred_req *dreq, struct cache_head *item) in __hash_deferred_req()
592 struct cache_head *item, in setup_deferral()
623 static void cache_wait_req(struct cache_req *req, struct cache_head *item) in cache_wait_req()
683 static bool cache_defer_req(struct cache_req *req, struct cache_head *item) in cache_defer_req()
706 static void cache_revisit_request(struct cache_head *item) in cache_revisit_request()
780 struct cache_head *item;
1078 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch) in cache_dequeue()
1199 int sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) in sunrpc_cache_pipe_upcall()
1327 struct cache_head *ch; in __cache_seq_start()
1349 struct cache_head, cache_list); in __cache_seq_start()
1354 struct cache_head *ch = p; in cache_seq_next()
1367 struct cache_head, cache_list); in cache_seq_next()
1380 struct cache_head, cache_list); in cache_seq_next()
1406 struct cache_head *cp = p; in c_show()
1891 void sunrpc_cache_unhash(struct cache_detail *cd, struct cache_head *h) in sunrpc_cache_unhash()