Home
last modified time | relevance | path

Searched refs:fscache_object (Results 1 – 15 of 15) sorted by relevance

/linux/include/linux/
A Dfscache-cache.h25 struct fscache_object;
235 int (*lookup_object)(struct fscache_object *object);
241 struct fscache_object *(*grab_object)(struct fscache_object *object,
245 int (*pin_object)(struct fscache_object *object);
262 void (*drop_object)(struct fscache_object *object);
265 void (*put_object)(struct fscache_object *object,
273 int (*attr_changed)(struct fscache_object *object);
301 void (*uncache_page)(struct fscache_object *object,
349 struct fscache_object { struct
382 struct fscache_object *parent; /* parent object */ argument
[all …]
/linux/fs/fscache/
A Dobject.c136 static int fscache_get_object(struct fscache_object *,
138 static void fscache_put_object(struct fscache_object *,
150 struct fscache_object *parent = object->parent; in fscache_done_parent_op()
277 struct fscache_object *object = in fscache_object_work_func()
278 container_of(work, struct fscache_object, work); in fscache_object_work_func()
371 struct fscache_object *parent; in fscache_initialise_object()
426 struct fscache_object *parent = object->parent; in fscache_parent_ready()
450 struct fscache_object *parent = object->parent; in fscache_look_up_object()
695 struct fscache_object *parent = object->parent; in fscache_drop_object()
860 struct fscache_object *dep; in fscache_enqueue_dependents()
[all …]
A Dinternal.h96 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()
A Doperation.c99 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 …]
A Dcookie.c30 struct fscache_object *object);
34 struct fscache_object *object; in fscache_print_cookie()
405 struct fscache_object *object; 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()
680 struct fscache_object *object; in __fscache_update_cookie()
718 struct fscache_object *object; in __fscache_disable_cookie()
[all …]
A Dpage.c189 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()
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()
708 struct fscache_object, cookie_link); in __fscache_alloc_page()
960 struct fscache_object *object; in __fscache_write_page()
[all …]
A Dcache.c94 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()
A Dio.c31 struct fscache_object *object; in __fscache_begin_read_operation()
63 struct fscache_object, cookie_link); in __fscache_begin_read_operation()
/linux/fs/cachefiles/
A Dinterface.c17 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()
A Dinternal.h36 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 *);
A Drdwr.c962 void cachefiles_uncache_page(struct fscache_object *_object, struct page *page) in cachefiles_uncache_page()
/linux/Documentation/filesystems/caching/
A Dbackend-api.rst43 struct fscache_object *fsdef,
123 struct fscache_object {
154 struct fscache_object *object;
274 struct fscache_object *(*grab_object)(struct fscache_object *object)
283 void (*lock_object)(struct fscache_object *object)
292 int (*pin_object)(struct fscache_object *object)
293 void (*unpin_object)(struct fscache_object *object)
311 int (*update_object)(struct fscache_object *object)
332 void (*drop_object)(struct fscache_object *object)
344 void (*put_object)(struct fscache_object *object)
[all …]
A Doperations.rst146 int fscache_submit_op(struct fscache_object *object,
149 int fscache_submit_exclusive_op(struct fscache_object *object,
A Dobject.rst32 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/include/trace/events/
A Dfscache.h319 TP_PROTO(struct fscache_object *object,

Completed in 748 milliseconds