Home
last modified time | relevance | path

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

/linux-4.19.296/include/linux/
Dfscache-cache.h29 struct fscache_object;
74 struct fscache_object *fsdef; /* object for the fsdef index */
104 struct fscache_object *object; /* object to be operated upon */
234 struct fscache_object *(*alloc_object)(struct fscache_cache *cache,
240 int (*lookup_object)(struct fscache_object *object);
243 void (*lookup_complete)(struct fscache_object *object);
246 struct fscache_object *(*grab_object)(struct fscache_object *object,
250 int (*pin_object)(struct fscache_object *object);
253 void (*unpin_object)(struct fscache_object *object);
260 void (*update_object)(struct fscache_object *object);
[all …]
/linux-4.19.296/fs/fscache/
Dobject.c21 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 …]
Dobject-list.c46 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 …]
Dinternal.h114 extern void fscache_enqueue_object(struct fscache_object *);
122 extern void fscache_objlist_add(struct fscache_object *);
123 extern void fscache_objlist_remove(struct fscache_object *);
132 extern int fscache_submit_exclusive_op(struct fscache_object *,
134 extern int fscache_submit_op(struct fscache_object *,
137 extern void fscache_cancel_all_ops(struct fscache_object *);
138 extern void fscache_abort_object(struct fscache_object *);
139 extern void fscache_start_operations(struct fscache_object *);
146 extern int fscache_wait_for_operation_activation(struct fscache_object *,
312 static inline void fscache_raise_event(struct fscache_object *object, in fscache_raise_event()
Doperation.c100 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 …]
Dcookie.c32 struct fscache_object *object);
50 prefix, hlist_entry(object, struct fscache_object, cookie_link)); in fscache_print_cookie()
388 struct fscache_object *object; in fscache_acquire_non_index_cookie()
435 struct fscache_object, cookie_link); in fscache_acquire_non_index_cookie()
472 struct fscache_object *object; in fscache_alloc_object()
544 struct fscache_object *object) in fscache_attach_object()
546 struct fscache_object *p; in fscache_attach_object()
610 struct fscache_object *object; in __fscache_invalidate()
634 struct fscache_object, in __fscache_invalidate()
667 struct fscache_object *object; in __fscache_update_cookie()
[all …]
Dpage.c150 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 …]
Dcache.c98 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.19.296/fs/cachefiles/
Dinterface.c21 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()
Dinternal.h40 struct fscache_object fscache; /* fscache handle */
222 extern void cachefiles_uncache_page(struct fscache_object *, struct page *);
Drdwr.c968 void cachefiles_uncache_page(struct fscache_object *_object, struct page *page) in cachefiles_uncache_page()
/linux-4.19.296/include/trace/events/
Dfscache.h333 TP_PROTO(struct fscache_object *object,
341 __field(struct fscache_object *, object )