Lines Matching refs:cache_head
47 struct cache_head { struct
80 struct cache_head *);
83 struct cache_head *ch,
91 struct cache_head *h);
95 struct cache_head * (*alloc)(void);
97 int (*match)(struct cache_head *orig, struct cache_head *new);
98 void (*init)(struct cache_head *orig, struct cache_head *new);
99 void (*update)(struct cache_head *orig, struct cache_head *new);
145 struct cache_head *item; /* cache item we wait on */
179 extern struct cache_head *
181 struct cache_head *key, int hash);
182 extern struct cache_head *
184 struct cache_head *new, struct cache_head *old, int hash);
187 sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h);
190 struct cache_head *h);
195 static inline struct cache_head *cache_get(struct cache_head *h) in cache_get()
201 static inline struct cache_head *cache_get_rcu(struct cache_head *h) in cache_get_rcu()
208 static inline void cache_put(struct cache_head *h, struct cache_detail *cd) in cache_put()
216 static inline bool cache_is_expired(struct cache_detail *detail, struct cache_head *h) in cache_is_expired()
226 struct cache_head *h, struct cache_req *rqstp);
242 extern void sunrpc_cache_unhash(struct cache_detail *, struct cache_head *);