Searched refs:fscache_object (Results 1 – 14 of 14) sorted by relevance
/linux-4.4.14/include/linux/ |
D | fscache-cache.h | 29 struct fscache_object; 62 struct fscache_object *fsdef; /* object for the fsdef index */ 92 struct fscache_object *object; /* object to be operated upon */ 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); 247 void (*update_object)(struct fscache_object *object); [all …]
|
/linux-4.4.14/fs/fscache/ |
D | object.c | 21 static const struct fscache_state *fscache_abort_initialisation(struct fscache_object *, int); 22 static const struct fscache_state *fscache_kill_dependents(struct fscache_object *, int); 23 static const struct fscache_state *fscache_drop_object(struct fscache_object *, int); 24 static const struct fscache_state *fscache_initialise_object(struct fscache_object *, int); 25 static const struct fscache_state *fscache_invalidate_object(struct fscache_object *, int); 26 static const struct fscache_state *fscache_jumpstart_dependents(struct fscache_object *, int); 27 static const struct fscache_state *fscache_kill_object(struct fscache_object *, int); 28 static const struct fscache_state *fscache_lookup_failure(struct fscache_object *, int); 29 static const struct fscache_state *fscache_look_up_object(struct fscache_object *, int); 30 static const struct fscache_state *fscache_object_available(struct fscache_object *, int); [all …]
|
D | object-list.c | 48 void fscache_objlist_add(struct fscache_object *obj) in fscache_objlist_add() 50 struct fscache_object *xobj; in fscache_objlist_add() 59 xobj = rb_entry(parent, struct fscache_object, objlist_link); in fscache_objlist_add() 78 void fscache_objlist_remove(struct fscache_object *obj) in fscache_objlist_remove() 94 static struct fscache_object *fscache_objlist_lookup(loff_t *_pos) in fscache_objlist_lookup() 96 struct fscache_object *pobj, *obj = NULL, *minobj = NULL; in fscache_objlist_lookup() 107 return (struct fscache_object *)(long)++(*_pos); in fscache_objlist_lookup() 109 return (struct fscache_object *)pos; in fscache_objlist_lookup() 111 pobj = (struct fscache_object *)pos; in fscache_objlist_lookup() 114 obj = rb_entry(p, struct fscache_object, objlist_link); in fscache_objlist_lookup() [all …]
|
D | internal.h | 105 extern void fscache_enqueue_object(struct fscache_object *); 113 extern void fscache_objlist_add(struct fscache_object *); 114 extern void fscache_objlist_remove(struct fscache_object *); 123 extern int fscache_submit_exclusive_op(struct fscache_object *, 125 extern int fscache_submit_op(struct fscache_object *, 128 extern void fscache_cancel_all_ops(struct fscache_object *); 129 extern void fscache_abort_object(struct fscache_object *); 130 extern void fscache_start_operations(struct fscache_object *); 137 extern int fscache_wait_for_operation_activation(struct fscache_object *, 303 static inline void fscache_raise_event(struct fscache_object *object, in fscache_raise_event()
|
D | cookie.c | 28 struct fscache_object *object); 193 struct fscache_object *object; in fscache_acquire_non_index_cookie() 244 struct fscache_object, cookie_link); in fscache_acquire_non_index_cookie() 281 struct fscache_object *object; in fscache_alloc_object() 352 struct fscache_object *object) in fscache_attach_object() 354 struct fscache_object *p; in fscache_attach_object() 418 struct fscache_object *object; in __fscache_invalidate() 445 struct fscache_object, in __fscache_invalidate() 478 struct fscache_object *object; in __fscache_update_cookie() 514 struct fscache_object *object; in __fscache_disable_cookie() [all …]
|
D | page.c | 143 static void fscache_end_page_write(struct fscache_object *object, in fscache_end_page_write() 175 struct fscache_object *object = op->object; in fscache_attr_changed_op() 200 struct fscache_object *object; in __fscache_attr_changed() 227 struct fscache_object, cookie_link); in __fscache_attr_changed() 356 int fscache_wait_for_operation_activation(struct fscache_object *object, in fscache_wait_for_operation_activation() 417 struct fscache_object *object; in __fscache_read_or_alloc_page() 453 struct fscache_object, cookie_link); in __fscache_read_or_alloc_page() 547 struct fscache_object *object; in __fscache_read_or_alloc_pages() 581 struct fscache_object, cookie_link); in __fscache_read_or_alloc_pages() 659 struct fscache_object *object; in __fscache_alloc_page() [all …]
|
D | operation.c | 93 static void fscache_run_op(struct fscache_object *object, in fscache_run_op() 110 static void fscache_report_unexpected_submission(struct fscache_object *object, in fscache_report_unexpected_submission() 149 int fscache_submit_exclusive_op(struct fscache_object *object, in fscache_submit_exclusive_op() 233 int fscache_submit_op(struct fscache_object *object, in fscache_submit_op() 310 void fscache_abort_object(struct fscache_object *object) in fscache_abort_object() 321 void fscache_start_operations(struct fscache_object *object) in fscache_start_operations() 354 struct fscache_object *object = op->object; in fscache_cancel_op() 408 void fscache_cancel_all_ops(struct fscache_object *object) in fscache_cancel_all_ops() 443 struct fscache_object *object = op->object; in fscache_op_complete() 480 struct fscache_object *object; in fscache_put_operation() [all …]
|
D | cache.c | 98 struct fscache_object *object; in fscache_select_cache_for_object() 115 struct fscache_object, cookie_link); in fscache_select_cache_for_object() 218 struct fscache_object *ifsdef, in fscache_add_cache() 332 struct fscache_object *object; in fscache_withdraw_all_objects() 339 struct fscache_object, cache_link); in fscache_withdraw_all_objects()
|
/linux-4.4.14/fs/cachefiles/ |
D | interface.c | 21 static int cachefiles_attr_changed(struct fscache_object *_object); 26 static struct fscache_object *cachefiles_alloc_object( in cachefiles_alloc_object() 117 static int cachefiles_lookup_object(struct fscache_object *_object) in cachefiles_lookup_object() 160 static void cachefiles_lookup_complete(struct fscache_object *_object) in cachefiles_lookup_complete() 180 struct fscache_object *cachefiles_grab_object(struct fscache_object *_object) in cachefiles_grab_object() 198 static void cachefiles_update_object(struct fscache_object *_object) in cachefiles_update_object() 251 static void cachefiles_drop_object(struct fscache_object *_object) in cachefiles_drop_object() 313 static void cachefiles_put_object(struct fscache_object *_object) in cachefiles_put_object() 415 static int cachefiles_attr_changed(struct fscache_object *_object) in cachefiles_attr_changed()
|
D | internal.h | 39 struct fscache_object fscache; /* fscache handle */ 214 extern void cachefiles_uncache_page(struct fscache_object *, struct page *);
|
D | rdwr.c | 956 void cachefiles_uncache_page(struct fscache_object *_object, struct page *page) in cachefiles_uncache_page()
|
/linux-4.4.14/Documentation/filesystems/caching/ |
D | backend-api.txt | 42 struct fscache_object *fsdef, 126 struct fscache_object { 149 in state FSCACHE_OBJECT_RECYCLING. The fscache_object struct should be 157 struct fscache_object *object; 234 struct fscache_object *(*alloc_object)(struct fscache_cache *cache, 249 void (*lookup_object)(struct fscache_object *object) 268 void (*lookup_complete)(struct fscache_object *object) 276 struct fscache_object *(*grab_object)(struct fscache_object *object) 285 void (*lock_object)(struct fscache_object *object) 286 void (*unlock_object)(struct fscache_object *object) [all …]
|
D | operations.txt | 148 int fscache_submit_op(struct fscache_object *object, 151 int fscache_submit_exclusive_op(struct fscache_object *object,
|
D | object.txt | 31 the fscache_object struct. The cache backends allocate these upon request, and 97 machine. The state for an object is kept in the fscache_object struct, in 150 from the cache backend's representation (fscache_object) - which may be
|