Lines Matching defs:fscache_cache_ops
224 struct fscache_cache_ops { struct
226 const char *name;
229 struct fscache_object *(*alloc_object)(struct fscache_cache *cache,
235 int (*lookup_object)(struct fscache_object *object);
238 void (*lookup_complete)(struct fscache_object *object);
241 struct fscache_object *(*grab_object)(struct fscache_object *object,
245 int (*pin_object)(struct fscache_object *object);
248 void (*unpin_object)(struct fscache_object *object);
252 int (*check_consistency)(struct fscache_operation *op);
255 void (*update_object)(struct fscache_object *object);
258 void (*invalidate_object)(struct fscache_operation *op);
262 void (*drop_object)(struct fscache_object *object);
265 void (*put_object)(struct fscache_object *object,
269 void (*sync_cache)(struct fscache_cache *cache);
273 int (*attr_changed)(struct fscache_object *object);
276 int (*reserve_space)(struct fscache_object *object, loff_t i_size);
280 fscache_page_retrieval_func_t read_or_alloc_page;
284 fscache_pages_retrieval_func_t read_or_alloc_pages;
288 fscache_page_retrieval_func_t allocate_page;
292 fscache_pages_retrieval_func_t allocate_pages;
295 int (*write_page)(struct fscache_storage *op, struct page *page);
301 void (*uncache_page)(struct fscache_object *object,
305 void (*dissociate_pages)(struct fscache_cache *cache);
308 int (*begin_read_operation)(struct netfs_read_request *rreq,