| /Linux-v5.4/include/linux/ |
| D | fscache-cache.h | 25 struct fscache_object; 70 struct fscache_object *fsdef; /* object for the fsdef index */ 100 struct fscache_object *object; /* object to be operated upon */ 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); 256 void (*update_object)(struct fscache_object *object); [all …]
|
| /Linux-v5.4/fs/fscache/ |
| D | object.c | 17 static const struct fscache_state *fscache_abort_initialisation(struct fscache_object *, int); 18 static const struct fscache_state *fscache_kill_dependents(struct fscache_object *, int); 19 static const struct fscache_state *fscache_drop_object(struct fscache_object *, int); 20 static const struct fscache_state *fscache_initialise_object(struct fscache_object *, int); 21 static const struct fscache_state *fscache_invalidate_object(struct fscache_object *, int); 22 static const struct fscache_state *fscache_jumpstart_dependents(struct fscache_object *, int); 23 static const struct fscache_state *fscache_kill_object(struct fscache_object *, int); 24 static const struct fscache_state *fscache_lookup_failure(struct fscache_object *, int); 25 static const struct fscache_state *fscache_look_up_object(struct fscache_object *, int); 26 static const struct fscache_state *fscache_object_available(struct fscache_object *, int); [all …]
|
| D | object-list.c | 42 void fscache_objlist_add(struct fscache_object *obj) in fscache_objlist_add() 44 struct fscache_object *xobj; in fscache_objlist_add() 53 xobj = rb_entry(parent, struct fscache_object, objlist_link); in fscache_objlist_add() 72 void fscache_objlist_remove(struct fscache_object *obj) in fscache_objlist_remove() 88 static struct fscache_object *fscache_objlist_lookup(loff_t *_pos) in fscache_objlist_lookup() 90 struct fscache_object *pobj, *obj = NULL, *minobj = NULL; in fscache_objlist_lookup() 101 return (struct fscache_object *)(long)++(*_pos); in fscache_objlist_lookup() 103 return (struct fscache_object *)pos; in fscache_objlist_lookup() 105 pobj = (struct fscache_object *)pos; in fscache_objlist_lookup() 108 obj = rb_entry(p, struct fscache_object, objlist_link); in fscache_objlist_lookup() [all …]
|
| D | internal.h | 108 extern void fscache_enqueue_object(struct fscache_object *); 116 extern void fscache_objlist_add(struct fscache_object *); 117 extern void fscache_objlist_remove(struct fscache_object *); 126 extern int fscache_submit_exclusive_op(struct fscache_object *, 128 extern int fscache_submit_op(struct fscache_object *, 131 extern void fscache_cancel_all_ops(struct fscache_object *); 132 extern void fscache_abort_object(struct fscache_object *); 133 extern void fscache_start_operations(struct fscache_object *); 140 extern int fscache_wait_for_operation_activation(struct fscache_object *, 306 static inline void fscache_raise_event(struct fscache_object *object, in fscache_raise_event()
|
| D | operation.c | 96 static void fscache_run_op(struct fscache_object *object, in fscache_run_op() 115 static void fscache_report_unexpected_submission(struct fscache_object *object, in fscache_report_unexpected_submission() 154 int fscache_submit_exclusive_op(struct fscache_object *object, in fscache_submit_exclusive_op() 240 int fscache_submit_op(struct fscache_object *object, in fscache_submit_op() 319 void fscache_abort_object(struct fscache_object *object) in fscache_abort_object() 330 void fscache_start_operations(struct fscache_object *object) in fscache_start_operations() 363 struct fscache_object *object = op->object; in fscache_cancel_op() 419 void fscache_cancel_all_ops(struct fscache_object *object) in fscache_cancel_all_ops() 456 struct fscache_object *object = op->object; in fscache_op_complete() 495 struct fscache_object *object; in fscache_put_operation() [all …]
|
| D | cookie.c | 28 struct fscache_object *object); 46 prefix, hlist_entry(object, struct fscache_object, cookie_link)); in fscache_print_cookie() 396 struct fscache_object *object; in fscache_acquire_non_index_cookie() 443 struct fscache_object, cookie_link); in fscache_acquire_non_index_cookie() 480 struct fscache_object *object; in fscache_alloc_object() 552 struct fscache_object *object) in fscache_attach_object() 554 struct fscache_object *p; in fscache_attach_object() 618 struct fscache_object *object; in __fscache_invalidate() 642 struct fscache_object, in __fscache_invalidate() 675 struct fscache_object *object; in __fscache_update_cookie() [all …]
|
| D | page.c | 146 static void fscache_end_page_write(struct fscache_object *object, in fscache_end_page_write() 189 struct fscache_object *object = op->object; in fscache_attr_changed_op() 216 struct fscache_object *object; in __fscache_attr_changed() 244 struct fscache_object, cookie_link); in __fscache_attr_changed() 373 int fscache_wait_for_operation_activation(struct fscache_object *object, in fscache_wait_for_operation_activation() 436 struct fscache_object *object; in __fscache_read_or_alloc_page() 473 struct fscache_object, cookie_link); in __fscache_read_or_alloc_page() 567 struct fscache_object *object; in __fscache_read_or_alloc_pages() 602 struct fscache_object, cookie_link); in __fscache_read_or_alloc_pages() 680 struct fscache_object *object; in __fscache_alloc_page() [all …]
|
| D | cache.c | 94 struct fscache_object *object; in fscache_select_cache_for_object() 111 struct fscache_object, cookie_link); in fscache_select_cache_for_object() 214 struct fscache_object *ifsdef, in fscache_add_cache() 328 struct fscache_object *object; in fscache_withdraw_all_objects() 335 struct fscache_object, cache_link); in fscache_withdraw_all_objects()
|
| /Linux-v5.4/fs/cachefiles/ |
| D | interface.c | 17 static int cachefiles_attr_changed(struct fscache_object *_object); 22 static struct fscache_object *cachefiles_alloc_object( in cachefiles_alloc_object() 119 static int cachefiles_lookup_object(struct fscache_object *_object) in cachefiles_lookup_object() 162 static void cachefiles_lookup_complete(struct fscache_object *_object) in cachefiles_lookup_complete() 182 struct fscache_object *cachefiles_grab_object(struct fscache_object *_object, in cachefiles_grab_object() 204 static void cachefiles_update_object(struct fscache_object *_object) in cachefiles_update_object() 261 static void cachefiles_drop_object(struct fscache_object *_object) in cachefiles_drop_object() 322 static void cachefiles_put_object(struct fscache_object *_object, in cachefiles_put_object() 430 static int cachefiles_attr_changed(struct fscache_object *_object) in cachefiles_attr_changed()
|
| D | internal.h | 36 struct fscache_object fscache; /* fscache handle */ 218 extern void cachefiles_uncache_page(struct fscache_object *, struct page *);
|
| D | rdwr.c | 963 void cachefiles_uncache_page(struct fscache_object *_object, struct page *page) in cachefiles_uncache_page()
|
| /Linux-v5.4/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-v5.4/include/trace/events/ |
| D | fscache.h | 329 TP_PROTO(struct fscache_object *object, 337 __field(struct fscache_object *, object )
|