Lines Matching refs:cache_detail

22  *  - A 'struct cache_detail' which contains information specific to the cache
70 struct cache_detail {
79 int (*cache_upcall)(struct cache_detail *,
82 void (*cache_request)(struct cache_detail *cd,
86 int (*cache_parse)(struct cache_detail *,
90 struct cache_detail *cd,
92 void (*warn_no_listener)(struct cache_detail *cd,
180 sunrpc_cache_lookup_rcu(struct cache_detail *detail,
183 sunrpc_cache_update(struct cache_detail *detail,
187 sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h);
189 sunrpc_cache_pipe_upcall_timeout(struct cache_detail *detail,
208 static inline void cache_put(struct cache_head *h, struct cache_detail *cd)
216 static inline bool cache_is_expired(struct cache_detail *detail, struct cache_head *h)
225 extern int cache_check(struct cache_detail *detail,
228 extern void cache_purge(struct cache_detail *detail);
231 extern int cache_register_net(struct cache_detail *cd, struct net *net);
232 extern void cache_unregister_net(struct cache_detail *cd, struct net *net);
234 extern struct cache_detail *cache_create_net(const struct cache_detail *tmpl, struct net *net);
235 extern void cache_destroy_net(struct cache_detail *cd, struct net *net);
237 extern void sunrpc_init_cache_detail(struct cache_detail *cd);
238 extern void sunrpc_destroy_cache_detail(struct cache_detail *cd);
240 umode_t, struct cache_detail *);
241 extern void sunrpc_cache_unregister_pipefs(struct cache_detail *);
242 extern void sunrpc_cache_unhash(struct cache_detail *, struct cache_head *);
244 /* Must store cache_detail in seq_file->private if using next three functions */