/Linux-v4.19/include/linux/ |
D | fscache-cache.h | 29 struct fscache_object; 74 struct fscache_object *fsdef; /* object for the fsdef index */ 104 struct fscache_object *object; /* object to be operated upon */ 235 struct fscache_object *(*alloc_object)(struct fscache_cache *cache, 241 int (*lookup_object)(struct fscache_object *object); 244 void (*lookup_complete)(struct fscache_object *object); 247 struct fscache_object *(*grab_object)(struct fscache_object *object, 251 int (*pin_object)(struct fscache_object *object); 254 void (*unpin_object)(struct fscache_object *object); 261 void (*update_object)(struct fscache_object *object); [all …]
|
/Linux-v4.19/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 | 46 void fscache_objlist_add(struct fscache_object *obj) in fscache_objlist_add() 48 struct fscache_object *xobj; in fscache_objlist_add() 57 xobj = rb_entry(parent, struct fscache_object, objlist_link); in fscache_objlist_add() 76 void fscache_objlist_remove(struct fscache_object *obj) in fscache_objlist_remove() 92 static struct fscache_object *fscache_objlist_lookup(loff_t *_pos) in fscache_objlist_lookup() 94 struct fscache_object *pobj, *obj = NULL, *minobj = NULL; in fscache_objlist_lookup() 105 return (struct fscache_object *)(long)++(*_pos); in fscache_objlist_lookup() 107 return (struct fscache_object *)pos; in fscache_objlist_lookup() 109 pobj = (struct fscache_object *)pos; in fscache_objlist_lookup() 112 obj = rb_entry(p, struct fscache_object, objlist_link); in fscache_objlist_lookup() [all …]
|
D | internal.h | 112 extern void fscache_enqueue_object(struct fscache_object *); 120 extern void fscache_objlist_add(struct fscache_object *); 121 extern void fscache_objlist_remove(struct fscache_object *); 130 extern int fscache_submit_exclusive_op(struct fscache_object *, 132 extern int fscache_submit_op(struct fscache_object *, 135 extern void fscache_cancel_all_ops(struct fscache_object *); 136 extern void fscache_abort_object(struct fscache_object *); 137 extern void fscache_start_operations(struct fscache_object *); 144 extern int fscache_wait_for_operation_activation(struct fscache_object *, 310 static inline void fscache_raise_event(struct fscache_object *object, in fscache_raise_event()
|
D | operation.c | 100 static void fscache_run_op(struct fscache_object *object, in fscache_run_op() 119 static void fscache_report_unexpected_submission(struct fscache_object *object, in fscache_report_unexpected_submission() 158 int fscache_submit_exclusive_op(struct fscache_object *object, in fscache_submit_exclusive_op() 244 int fscache_submit_op(struct fscache_object *object, in fscache_submit_op() 323 void fscache_abort_object(struct fscache_object *object) in fscache_abort_object() 334 void fscache_start_operations(struct fscache_object *object) in fscache_start_operations() 367 struct fscache_object *object = op->object; in fscache_cancel_op() 423 void fscache_cancel_all_ops(struct fscache_object *object) in fscache_cancel_all_ops() 460 struct fscache_object *object = op->object; in fscache_op_complete() 499 struct fscache_object *object; in fscache_put_operation() [all …]
|
D | cookie.c | 32 struct fscache_object *object); 50 prefix, hlist_entry(object, struct fscache_object, cookie_link)); in fscache_print_cookie() 400 struct fscache_object *object; in fscache_acquire_non_index_cookie() 447 struct fscache_object, cookie_link); in fscache_acquire_non_index_cookie() 484 struct fscache_object *object; in fscache_alloc_object() 556 struct fscache_object *object) in fscache_attach_object() 558 struct fscache_object *p; in fscache_attach_object() 622 struct fscache_object *object; in __fscache_invalidate() 646 struct fscache_object, in __fscache_invalidate() 679 struct fscache_object *object; in __fscache_update_cookie() [all …]
|
D | page.c | 150 static void fscache_end_page_write(struct fscache_object *object, in fscache_end_page_write() 193 struct fscache_object *object = op->object; in fscache_attr_changed_op() 220 struct fscache_object *object; in __fscache_attr_changed() 248 struct fscache_object, cookie_link); in __fscache_attr_changed() 377 int fscache_wait_for_operation_activation(struct fscache_object *object, in fscache_wait_for_operation_activation() 440 struct fscache_object *object; in __fscache_read_or_alloc_page() 477 struct fscache_object, cookie_link); in __fscache_read_or_alloc_page() 571 struct fscache_object *object; in __fscache_read_or_alloc_pages() 606 struct fscache_object, cookie_link); in __fscache_read_or_alloc_pages() 684 struct fscache_object *object; in __fscache_alloc_page() [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-v4.19/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() 123 static int cachefiles_lookup_object(struct fscache_object *_object) in cachefiles_lookup_object() 166 static void cachefiles_lookup_complete(struct fscache_object *_object) in cachefiles_lookup_complete() 186 struct fscache_object *cachefiles_grab_object(struct fscache_object *_object, in cachefiles_grab_object() 208 static void cachefiles_update_object(struct fscache_object *_object) in cachefiles_update_object() 265 static void cachefiles_drop_object(struct fscache_object *_object) in cachefiles_drop_object() 326 static void cachefiles_put_object(struct fscache_object *_object, in cachefiles_put_object() 434 static int cachefiles_attr_changed(struct fscache_object *_object) in cachefiles_attr_changed()
|
D | internal.h | 40 struct fscache_object fscache; /* fscache handle */ 222 extern void cachefiles_uncache_page(struct fscache_object *, struct page *);
|
D | rdwr.c | 961 void cachefiles_uncache_page(struct fscache_object *_object, struct page *page) in cachefiles_uncache_page()
|
/Linux-v4.19/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
|
/Linux-v4.19/include/trace/events/ |
D | fscache.h | 333 TP_PROTO(struct fscache_object *object, 341 __field(struct fscache_object *, object )
|