Lines Matching defs:fscache_cache_ops
225 struct fscache_cache_ops { struct
227 const char *name;
230 struct fscache_object *(*alloc_object)(struct fscache_cache *cache,
236 int (*lookup_object)(struct fscache_object *object);
239 void (*lookup_complete)(struct fscache_object *object);
242 struct fscache_object *(*grab_object)(struct fscache_object *object,
246 int (*pin_object)(struct fscache_object *object);
249 void (*unpin_object)(struct fscache_object *object);
253 int (*check_consistency)(struct fscache_operation *op);
256 void (*update_object)(struct fscache_object *object);
259 void (*invalidate_object)(struct fscache_operation *op);
263 void (*drop_object)(struct fscache_object *object);
266 void (*put_object)(struct fscache_object *object,
270 void (*sync_cache)(struct fscache_cache *cache);
274 int (*attr_changed)(struct fscache_object *object);
277 int (*reserve_space)(struct fscache_object *object, loff_t i_size);
281 fscache_page_retrieval_func_t read_or_alloc_page;
285 fscache_pages_retrieval_func_t read_or_alloc_pages;
289 fscache_page_retrieval_func_t allocate_page;
293 fscache_pages_retrieval_func_t allocate_pages;
296 int (*write_page)(struct fscache_storage *op, struct page *page);
302 void (*uncache_page)(struct fscache_object *object,
306 void (*dissociate_pages)(struct fscache_cache *cache);