/kernel/linux/linux-6.6/fs/cachefiles/ |
H A D | internal.h | 24 struct cachefiles_object; 50 struct cachefiles_object { struct 126 struct cachefiles_object *object; 143 struct cachefiles_object *cachefiles_cres_object(struct netfs_cache_resources *cres) in cachefiles_cres_object() 222 extern void cachefiles_see_object(struct cachefiles_object *object, 224 extern struct cachefiles_object *cachefiles_grab_object(struct cachefiles_object *object, 226 extern void cachefiles_put_object(struct cachefiles_object *object, 234 extern int __cachefiles_prepare_write(struct cachefiles_object *object, 238 extern int __cachefiles_write(struct cachefiles_object *objec [all...] |
H A D | interface.c | 22 struct cachefiles_object *cachefiles_alloc_object(struct fscache_cookie *cookie) in cachefiles_alloc_object() 26 struct cachefiles_object *object; in cachefiles_alloc_object() 51 void cachefiles_see_object(struct cachefiles_object *object, in cachefiles_see_object() 61 struct cachefiles_object *cachefiles_grab_object(struct cachefiles_object *object, in cachefiles_grab_object() 74 void cachefiles_put_object(struct cachefiles_object *object, in cachefiles_put_object() 109 static int cachefiles_adjust_size(struct cachefiles_object *object) in cachefiles_adjust_size() 174 struct cachefiles_object *object; in cachefiles_lookup_cookie() 227 static bool cachefiles_shorten_object(struct cachefiles_object *object, in cachefiles_shorten_object() 276 struct cachefiles_object *objec in cachefiles_resize_cookie() [all...] |
H A D | ondemand.c | 10 struct cachefiles_object *object = file->private_data; in cachefiles_ondemand_fd_release() 43 struct cachefiles_object *object = kiocb->ki_filp->private_data; in cachefiles_ondemand_fd_write_iter() 71 struct cachefiles_object *object = filp->private_data; in cachefiles_ondemand_fd_llseek() 83 struct cachefiles_object *object = filp->private_data; in cachefiles_ondemand_fd_ioctl() 186 struct cachefiles_object *object; in cachefiles_ondemand_get_fd() 309 static int cachefiles_ondemand_send_req(struct cachefiles_object *object, in cachefiles_ondemand_send_req() 398 struct cachefiles_object *object = req->object; in cachefiles_ondemand_init_open_req() 432 struct cachefiles_object *object = req->object; in cachefiles_ondemand_init_close_req() 457 struct cachefiles_object *object = req->object; in cachefiles_ondemand_init_read_req() 476 int cachefiles_ondemand_init_object(struct cachefiles_object *objec [all...] |
H A D | namei.c | 17 static bool __cachefiles_mark_inode_in_use(struct cachefiles_object *object, in __cachefiles_mark_inode_in_use() 33 static bool cachefiles_mark_inode_in_use(struct cachefiles_object *object, in cachefiles_mark_inode_in_use() 47 static void __cachefiles_unmark_inode_in_use(struct cachefiles_object *object, in __cachefiles_unmark_inode_in_use() 54 static void cachefiles_do_unmark_inode_in_use(struct cachefiles_object *object, in cachefiles_do_unmark_inode_in_use() 66 void cachefiles_unmark_inode_in_use(struct cachefiles_object *object, in cachefiles_unmark_inode_in_use() 229 struct cachefiles_object *object, in cachefiles_unlink() 265 struct cachefiles_object *object, in cachefiles_bury_object() 414 int cachefiles_delete_object(struct cachefiles_object *object, in cachefiles_delete_object() 438 struct file *cachefiles_create_tmpfile(struct cachefiles_object *object) in cachefiles_create_tmpfile() 517 static bool cachefiles_create_file(struct cachefiles_object *objec [all...] |
H A D | io.c | 25 struct cachefiles_object *object; 80 struct cachefiles_object *object; in cachefiles_read() 201 struct cachefiles_object *object; in cachefiles_query_occupancy() 257 struct cachefiles_object *object = ki->object; in cachefiles_write_complete() 278 int __cachefiles_write(struct cachefiles_object *object, in __cachefiles_write() 384 struct cachefiles_object *object = NULL; in cachefiles_do_prepare_read() 519 int __cachefiles_prepare_write(struct cachefiles_object *object, in __cachefiles_prepare_write() 598 struct cachefiles_object *object = cachefiles_cres_object(cres); in cachefiles_prepare_write() 646 struct cachefiles_object *object = cachefiles_cres_object(cres); in cachefiles_begin_operation()
|
H A D | xattr.c | 39 int cachefiles_set_object_xattr(struct cachefiles_object *object) in cachefiles_set_object_xattr() 94 int cachefiles_check_auxdata(struct cachefiles_object *object, struct file *file) in cachefiles_check_auxdata() 146 struct cachefiles_object *object, in cachefiles_remove_object_xattr() 176 struct cachefiles_object *object = cookie->cache_priv; in cachefiles_prepare_to_write()
|
H A D | main.c | 60 sizeof(struct cachefiles_object), in cachefiles_init()
|
H A D | cache.c | 289 struct cachefiles_object *object; in cachefiles_withdraw_objects() 298 struct cachefiles_object, cache_link); in cachefiles_withdraw_objects()
|
H A D | key.c | 37 bool cachefiles_cook_key(struct cachefiles_object *object) in cachefiles_cook_key()
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | cachefiles.h | 72 TP_PROTO(struct cachefiles_object *obj, 81 __field(struct cachefiles_object *, obj ) 100 TP_PROTO(struct cachefiles_object *obj, 107 __field(struct cachefiles_object *, obj ) 123 TP_PROTO(struct cachefiles_object *obj, 129 __field(struct cachefiles_object *, obj ) 145 TP_PROTO(struct cachefiles_object *obj, 151 __field(struct cachefiles_object *, obj ) 167 TP_PROTO(struct cachefiles_object *obj, 175 __field(struct cachefiles_object *, ob [all...] |
/kernel/linux/linux-5.10/fs/cachefiles/ |
H A D | interface.c | 27 struct cachefiles_object *object; in cachefiles_alloc_object() 122 struct cachefiles_object *parent, *object; in cachefiles_lookup_object() 131 struct cachefiles_object, fscache); in cachefiles_lookup_object() 132 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_lookup_object() 164 struct cachefiles_object *object; in cachefiles_lookup_complete() 166 object = container_of(_object, struct cachefiles_object, fscache); in cachefiles_lookup_complete() 185 struct cachefiles_object *object = in cachefiles_grab_object() 186 container_of(_object, struct cachefiles_object, fscache); in cachefiles_grab_object() 206 struct cachefiles_object *object; in cachefiles_update_object() 216 object = container_of(_object, struct cachefiles_object, fscach in cachefiles_update_object() [all...] |
H A D | internal.h | 23 struct cachefiles_object; 35 struct cachefiles_object { struct 108 struct cachefiles_object *object; 162 struct cachefiles_object *object, 165 struct cachefiles_object *object); 166 extern int cachefiles_walk_to_object(struct cachefiles_object *parent, 167 struct cachefiles_object *object, 243 extern int cachefiles_check_object_type(struct cachefiles_object *object); 244 extern int cachefiles_set_object_xattr(struct cachefiles_object *object, 246 extern int cachefiles_update_object_xattr(struct cachefiles_object *objec [all...] |
H A D | rdwr.c | 25 struct cachefiles_object *object; in cachefiles_read_waiter() 59 object = container_of(op->op.object, struct cachefiles_object, fscache); in cachefiles_read_waiter() 76 static int cachefiles_read_reissue(struct cachefiles_object *object, in cachefiles_read_reissue() 155 struct cachefiles_object *object; in cachefiles_read_copier() 161 struct cachefiles_object, fscache); in cachefiles_read_copier() 229 static int cachefiles_read_backing_file_one(struct cachefiles_object *object, in cachefiles_read_backing_file_one() 396 struct cachefiles_object *object; in cachefiles_read_or_alloc_page() 404 struct cachefiles_object, fscache); in cachefiles_read_or_alloc_page() 465 static int cachefiles_read_backing_file(struct cachefiles_object *object, in cachefiles_read_backing_file() 687 struct cachefiles_object *objec in cachefiles_read_or_alloc_pages() [all...] |
H A D | namei.c | 27 void __cachefiles_printk_object(struct cachefiles_object *object, in __cachefiles_printk_object() 69 static noinline void cachefiles_printk_object(struct cachefiles_object *object, in cachefiles_printk_object() 70 struct cachefiles_object *xobject) in cachefiles_printk_object() 88 struct cachefiles_object *object; in cachefiles_mark_object_buried() 97 object = rb_entry(p, struct cachefiles_object, active_node); in cachefiles_mark_object_buried() 137 struct cachefiles_object *object) in cachefiles_mark_object_active() 139 struct cachefiles_object *xobject; in cachefiles_mark_object_active() 161 struct cachefiles_object, active_node); in cachefiles_mark_object_active() 257 struct cachefiles_object *object, in cachefiles_mark_object_inactive() 288 struct cachefiles_object *objec in cachefiles_bury_object() [all...] |
H A D | xattr.c | 25 int cachefiles_check_object_type(struct cachefiles_object *object) in cachefiles_check_object_type() 99 int cachefiles_set_object_xattr(struct cachefiles_object *object, in cachefiles_set_object_xattr() 128 int cachefiles_update_object_xattr(struct cachefiles_object *object, in cachefiles_update_object_xattr() 158 int cachefiles_check_auxdata(struct cachefiles_object *object) in cachefiles_check_auxdata() 197 int cachefiles_check_object_xattr(struct cachefiles_object *object, in cachefiles_check_object_xattr()
|
H A D | main.c | 42 struct cachefiles_object *object = _object; in cachefiles_object_init_once() 63 sizeof(struct cachefiles_object), in cachefiles_init()
|
H A D | bind.c | 83 struct cachefiles_object *fsdef; in cachefiles_daemon_add_cache()
|
/kernel/linux/linux-6.6/include/trace/events/ |
H A D | cachefiles.h | 239 TP_PROTO(struct cachefiles_object *obj, 285 TP_PROTO(struct cachefiles_object *obj, struct inode *backer), 305 TP_PROTO(struct cachefiles_object *obj, struct inode *backer), 325 TP_PROTO(struct cachefiles_object *obj, 350 TP_PROTO(struct cachefiles_object *obj, 375 TP_PROTO(struct cachefiles_object *obj, 431 TP_PROTO(struct cachefiles_object *obj, 473 TP_PROTO(struct cachefiles_object *obj, 502 TP_PROTO(struct cachefiles_object *obj, 531 TP_PROTO(struct cachefiles_object *ob [all...] |