Lines Matching defs:fscache_cache_ops
217 struct fscache_cache_ops { struct
219 const char *name;
222 struct fscache_object *(*alloc_object)(struct fscache_cache *cache,
228 int (*lookup_object)(struct fscache_object *object);
231 void (*lookup_complete)(struct fscache_object *object);
234 struct fscache_object *(*grab_object)(struct fscache_object *object);
237 int (*pin_object)(struct fscache_object *object);
240 void (*unpin_object)(struct fscache_object *object);
244 bool (*check_consistency)(struct fscache_operation *op);
247 void (*update_object)(struct fscache_object *object);
250 void (*invalidate_object)(struct fscache_operation *op);
254 void (*drop_object)(struct fscache_object *object);
257 void (*put_object)(struct fscache_object *object);
260 void (*sync_cache)(struct fscache_cache *cache);
264 int (*attr_changed)(struct fscache_object *object);
267 int (*reserve_space)(struct fscache_object *object, loff_t i_size);
271 fscache_page_retrieval_func_t read_or_alloc_page;
275 fscache_pages_retrieval_func_t read_or_alloc_pages;
279 fscache_page_retrieval_func_t allocate_page;
283 fscache_pages_retrieval_func_t allocate_pages;
286 int (*write_page)(struct fscache_storage *op, struct page *page);
292 void (*uncache_page)(struct fscache_object *object,
296 void (*dissociate_pages)(struct fscache_cache *cache);