Lines Matching refs:cache_head
47 struct cache_head { struct
76 struct cache_head *); argument
79 struct cache_head *ch,
87 struct cache_head *h);
91 struct cache_head * (*alloc)(void);
93 int (*match)(struct cache_head *orig, struct cache_head *new);
94 void (*init)(struct cache_head *orig, struct cache_head *new);
95 void (*update)(struct cache_head *orig, struct cache_head *new);
141 struct cache_head *item; /* cache item we wait on */
175 extern struct cache_head *
177 struct cache_head *key, int hash);
178 extern struct cache_head *
180 struct cache_head *new, struct cache_head *old, int hash);
183 sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h);
186 struct cache_head *h);
191 static inline struct cache_head *cache_get(struct cache_head *h) in cache_get()
197 static inline struct cache_head *cache_get_rcu(struct cache_head *h) in cache_get_rcu()
204 static inline void cache_put(struct cache_head *h, struct cache_detail *cd) in cache_put()
212 static inline bool cache_is_expired(struct cache_detail *detail, struct cache_head *h) in cache_is_expired()
222 struct cache_head *h, struct cache_req *rqstp);
238 extern void sunrpc_cache_unhash(struct cache_detail *, struct cache_head *);