Searched refs:fscache_object (Results 1 – 15 of 15) sorted by relevance
| /Linux-v5.15/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 */ 229 struct fscache_object *(*alloc_object)(struct fscache_cache *cache, 235 int (*lookup_object)(struct fscache_object *object); 238 void (*lookup_complete)(struct fscache_object *object); 241 struct fscache_object *(*grab_object)(struct fscache_object *object, 245 int (*pin_object)(struct fscache_object *object); 248 void (*unpin_object)(struct fscache_object *object); 255 void (*update_object)(struct fscache_object *object); [all …]
|
| /Linux-v5.15/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 | internal.h | 96 extern void fscache_enqueue_object(struct fscache_object *); 101 extern int fscache_submit_exclusive_op(struct fscache_object *, 103 extern int fscache_submit_op(struct fscache_object *, 106 extern void fscache_cancel_all_ops(struct fscache_object *); 107 extern void fscache_abort_object(struct fscache_object *); 108 extern void fscache_start_operations(struct fscache_object *); 115 extern int fscache_wait_for_operation_activation(struct fscache_object *, 285 static inline void fscache_raise_event(struct fscache_object *object, in fscache_raise_event()
|
| D | operation.c | 99 static void fscache_run_op(struct fscache_object *object, in fscache_run_op() 118 static void fscache_report_unexpected_submission(struct fscache_object *object, in fscache_report_unexpected_submission() 157 int fscache_submit_exclusive_op(struct fscache_object *object, in fscache_submit_exclusive_op() 243 int fscache_submit_op(struct fscache_object *object, in fscache_submit_op() 322 void fscache_abort_object(struct fscache_object *object) in fscache_abort_object() 333 void fscache_start_operations(struct fscache_object *object) in fscache_start_operations() 366 struct fscache_object *object = op->object; in fscache_cancel_op() 422 void fscache_cancel_all_ops(struct fscache_object *object) in fscache_cancel_all_ops() 459 struct fscache_object *object = op->object; in fscache_op_complete() 498 struct fscache_object *object; in fscache_put_operation() [all …]
|
| D | cookie.c | 30 struct fscache_object *object); 34 struct fscache_object *object; in fscache_print_cookie() 54 object = hlist_entry(o, struct fscache_object, cookie_link); in fscache_print_cookie() 405 struct fscache_object *object; in fscache_acquire_non_index_cookie() 452 struct fscache_object, cookie_link); in fscache_acquire_non_index_cookie() 487 struct fscache_object *object; in fscache_alloc_object() 559 struct fscache_object *object) in fscache_attach_object() 561 struct fscache_object *p; in fscache_attach_object() 623 struct fscache_object *object; in __fscache_invalidate() 647 struct fscache_object, in __fscache_invalidate() [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() 367 int fscache_wait_for_operation_activation(struct fscache_object *object, in fscache_wait_for_operation_activation() 430 struct fscache_object *object; in __fscache_read_or_alloc_page() 467 struct fscache_object, cookie_link); in __fscache_read_or_alloc_page() 561 struct fscache_object *object; in __fscache_read_or_alloc_pages() 596 struct fscache_object, cookie_link); in __fscache_read_or_alloc_pages() 674 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() 327 struct fscache_object *object; in fscache_withdraw_all_objects() 334 struct fscache_object, cache_link); in fscache_withdraw_all_objects()
|
| D | io.c | 31 struct fscache_object *object; in __fscache_begin_read_operation() 63 struct fscache_object, cookie_link); in __fscache_begin_read_operation()
|
| /Linux-v5.15/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 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 */ 153 void cachefiles_put_object(struct fscache_object *_object, 196 extern void cachefiles_uncache_page(struct fscache_object *, struct page *);
|
| D | rdwr.c | 962 void cachefiles_uncache_page(struct fscache_object *_object, struct page *page) in cachefiles_uncache_page()
|
| /Linux-v5.15/Documentation/filesystems/caching/ |
| D | backend-api.rst | 43 struct fscache_object *fsdef, 123 struct fscache_object { 146 in state FSCACHE_OBJECT_RECYCLING. The fscache_object struct should be 154 struct fscache_object *object; 232 struct fscache_object *(*alloc_object)(struct fscache_cache *cache, 247 void (*lookup_object)(struct fscache_object *object) 266 void (*lookup_complete)(struct fscache_object *object) 274 struct fscache_object *(*grab_object)(struct fscache_object *object) 283 void (*lock_object)(struct fscache_object *object) 284 void (*unlock_object)(struct fscache_object *object) [all …]
|
| D | operations.rst | 146 int fscache_submit_op(struct fscache_object *object, 149 int fscache_submit_exclusive_op(struct fscache_object *object,
|
| D | object.rst | 32 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.15/include/trace/events/ |
| D | fscache.h | 319 TP_PROTO(struct fscache_object *object,
|