Lines Matching defs:fscache_cache_ops
202 struct fscache_cache_ops { struct
204 const char *name;
207 struct fscache_object *(*alloc_object)(struct fscache_cache *cache,
213 int (*lookup_object)(struct fscache_object *object);
216 void (*lookup_complete)(struct fscache_object *object);
219 struct fscache_object *(*grab_object)(struct fscache_object *object);
222 int (*pin_object)(struct fscache_object *object);
225 void (*unpin_object)(struct fscache_object *object);
228 void (*update_object)(struct fscache_object *object);
232 void (*drop_object)(struct fscache_object *object);
235 void (*put_object)(struct fscache_object *object);
238 void (*sync_cache)(struct fscache_cache *cache);
242 int (*attr_changed)(struct fscache_object *object);
245 int (*reserve_space)(struct fscache_object *object, loff_t i_size);
249 fscache_page_retrieval_func_t read_or_alloc_page;
253 fscache_pages_retrieval_func_t read_or_alloc_pages;
257 fscache_page_retrieval_func_t allocate_page;
261 fscache_pages_retrieval_func_t allocate_pages;
264 int (*write_page)(struct fscache_storage *op, struct page *page);
270 void (*uncache_page)(struct fscache_object *object,
274 void (*dissociate_pages)(struct fscache_cache *cache);