Home
last modified time | relevance | path

Searched refs:cachefiles_object (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/fs/cachefiles/
Dinternal.h24 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 *object,
248 extern bool cachefiles_cook_key(struct cachefiles_object *object);
[all …]
Dinterface.c22 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 *object = cachefiles_cres_object(cres); in cachefiles_resize_cookie()
303 static void cachefiles_commit_object(struct cachefiles_object *object, in cachefiles_commit_object()
[all …]
Dondemand.c10 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 *object) in cachefiles_ondemand_init_object()
[all …]
Dnamei.c17 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()
516 static bool cachefiles_create_file(struct cachefiles_object *object) in cachefiles_create_file()
[all …]
Dio.c25 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()
280 int __cachefiles_write(struct cachefiles_object *object, in __cachefiles_write()
398 struct cachefiles_object *object; in cachefiles_prepare_read()
507 int __cachefiles_prepare_write(struct cachefiles_object *object, in __cachefiles_prepare_write()
586 struct cachefiles_object *object = cachefiles_cres_object(cres); in cachefiles_prepare_write()
633 struct cachefiles_object *object = cachefiles_cres_object(cres); in cachefiles_begin_operation()
Dxattr.c39 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()
Dmain.c60 sizeof(struct cachefiles_object), in cachefiles_init()
Dcache.c287 struct cachefiles_object *object; in cachefiles_withdraw_objects()
296 struct cachefiles_object, cache_link); in cachefiles_withdraw_objects()
Dkey.c37 bool cachefiles_cook_key(struct cachefiles_object *object) in cachefiles_cook_key()
/Linux-v6.1/include/trace/events/
Dcachefiles.h239 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,
472 TP_PROTO(struct cachefiles_object *obj,
501 TP_PROTO(struct cachefiles_object *obj,
530 TP_PROTO(struct cachefiles_object *obj, struct inode *backer,
560 TP_PROTO(struct cachefiles_object *obj,
[all …]