Lines Matching refs:cache_head
46 struct cache_head { struct
75 struct cache_head *); argument
78 struct cache_head *ch,
86 struct cache_head *h);
90 struct cache_head * (*alloc)(void);
92 int (*match)(struct cache_head *orig, struct cache_head *new);
93 void (*init)(struct cache_head *orig, struct cache_head *new);
94 void (*update)(struct cache_head *orig, struct cache_head *new);
140 struct cache_head *item; /* cache item we wait on */
174 extern struct cache_head *
176 struct cache_head *key, int hash);
177 extern struct cache_head *
179 struct cache_head *new, struct cache_head *old, int hash);
182 sunrpc_cache_pipe_upcall(struct cache_detail *detail, struct cache_head *h);
185 struct cache_head *h);
190 static inline struct cache_head *cache_get(struct cache_head *h) in cache_get()
196 static inline struct cache_head *cache_get_rcu(struct cache_head *h) in cache_get_rcu()
203 static inline void cache_put(struct cache_head *h, struct cache_detail *cd) in cache_put()
211 static inline bool cache_is_expired(struct cache_detail *detail, struct cache_head *h) in cache_is_expired()
221 struct cache_head *h, struct cache_req *rqstp);
237 extern void sunrpc_cache_unhash(struct cache_detail *, struct cache_head *);