Lines Matching defs:fscache_cache_ops
229 struct fscache_cache_ops { struct
231 const char *name;
234 struct fscache_object *(*alloc_object)(struct fscache_cache *cache,
240 int (*lookup_object)(struct fscache_object *object);
243 void (*lookup_complete)(struct fscache_object *object);
246 struct fscache_object *(*grab_object)(struct fscache_object *object);
249 int (*pin_object)(struct fscache_object *object);
252 void (*unpin_object)(struct fscache_object *object);
256 bool (*check_consistency)(struct fscache_operation *op);
259 void (*update_object)(struct fscache_object *object);
262 void (*invalidate_object)(struct fscache_operation *op);
266 void (*drop_object)(struct fscache_object *object);
269 void (*put_object)(struct fscache_object *object);
272 void (*sync_cache)(struct fscache_cache *cache);
276 int (*attr_changed)(struct fscache_object *object);
279 int (*reserve_space)(struct fscache_object *object, loff_t i_size);
283 fscache_page_retrieval_func_t read_or_alloc_page;
287 fscache_pages_retrieval_func_t read_or_alloc_pages;
291 fscache_page_retrieval_func_t allocate_page;
295 fscache_pages_retrieval_func_t allocate_pages;
298 int (*write_page)(struct fscache_storage *op, struct page *page);
304 void (*uncache_page)(struct fscache_object *object,
308 void (*dissociate_pages)(struct fscache_cache *cache);