Lines Matching refs:cache_head
46 struct cache_head { struct
74 struct cache_head *); argument
77 struct cache_head *ch,
85 struct cache_head *h);
89 struct cache_head * (*alloc)(void);
91 int (*match)(struct cache_head *orig, struct cache_head *new);
92 void (*init)(struct cache_head *orig, struct cache_head *new);
93 void (*update)(struct cache_head *orig, struct cache_head *new);
139 struct cache_head *item; /* cache item we wait on */
169 extern struct cache_head *
171 struct cache_head *key, int hash);
172 extern struct cache_head *
174 struct cache_head *new, struct cache_head *old, int hash);
177 sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h);
182 static inline struct cache_head *cache_get(struct cache_head *h) in cache_get()
188 static inline struct cache_head *cache_get_rcu(struct cache_head *h) in cache_get_rcu()
195 static inline void cache_put(struct cache_head *h, struct cache_detail *cd) in cache_put()
203 static inline bool cache_is_expired(struct cache_detail *detail, struct cache_head *h) in cache_is_expired()
213 struct cache_head *h, struct cache_req *rqstp);
229 extern void sunrpc_cache_unhash(struct cache_detail *, struct cache_head *);