Lines Matching refs:cache_head

41 static bool cache_defer_req(struct cache_req *req, struct cache_head *item);
42 static void cache_revisit_request(struct cache_head *item);
44 static void cache_init(struct cache_head *h) in cache_init()
54 struct cache_head *sunrpc_cache_lookup(struct cache_detail *detail, in sunrpc_cache_lookup()
55 struct cache_head *key, int hash) in sunrpc_cache_lookup()
57 struct cache_head **head, **hp; in sunrpc_cache_lookup()
58 struct cache_head *new = NULL, *freeme = NULL; in sunrpc_cache_lookup()
65 struct cache_head *tmp = *hp; in sunrpc_cache_lookup()
92 struct cache_head *tmp = *hp; in sunrpc_cache_lookup()
120 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch);
122 static void cache_fresh_locked(struct cache_head *head, time_t expiry) in cache_fresh_locked()
130 static void cache_fresh_unlocked(struct cache_head *head, in cache_fresh_unlocked()
139 struct cache_head *sunrpc_cache_update(struct cache_detail *detail, in sunrpc_cache_update()
140 struct cache_head *new, struct cache_head *old, int hash) in sunrpc_cache_update()
146 struct cache_head **head; in sunrpc_cache_update()
147 struct cache_head *tmp; in sunrpc_cache_update()
192 static int cache_make_upcall(struct cache_detail *cd, struct cache_head *h) in cache_make_upcall()
199 static inline int cache_is_valid(struct cache_head *h) in cache_is_valid()
220 static int try_to_negate_entry(struct cache_detail *detail, struct cache_head *h) in try_to_negate_entry()
251 struct cache_head *h, struct cache_req *rqstp) in cache_check()
425 struct cache_head *ch, **cp; in cache_clean()
537 static void __hash_deferred_req(struct cache_deferred_req *dreq, struct cache_head *item) in __hash_deferred_req()
546 struct cache_head *item, in setup_deferral()
577 static void cache_wait_req(struct cache_req *req, struct cache_head *item) in cache_wait_req()
637 static bool cache_defer_req(struct cache_req *req, struct cache_head *item) in cache_defer_req()
660 static void cache_revisit_request(struct cache_head *item) in cache_revisit_request()
734 struct cache_head *item;
1028 static void cache_dequeue(struct cache_detail *detail, struct cache_head *ch) in cache_dequeue()
1149 int sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h) in sunrpc_cache_pipe_upcall()
1282 struct cache_head *ch; in c_start()
1309 struct cache_head *ch = p; in c_next()
1343 struct cache_head *cp = p; in c_show()
1673 cd->hash_table = kzalloc(cd->hash_size * sizeof(struct cache_head *), in cache_create_net()