Searched refs:netfs_cache_resources (Results 1 – 14 of 14) sorted by relevance
| /linux-6.15/fs/netfs/ |
| H A D | fscache_io.c | 22 bool fscache_wait_for_operation(struct netfs_cache_resources *cres, in fscache_wait_for_operation() 70 static int fscache_begin_operation(struct netfs_cache_resources *cres, in fscache_begin_operation() 146 int __fscache_begin_read_operation(struct netfs_cache_resources *cres, in __fscache_begin_read_operation() 154 int __fscache_begin_write_operation(struct netfs_cache_resources *cres, in __fscache_begin_write_operation() 163 struct netfs_cache_resources cache_resources; 219 struct netfs_cache_resources *cres; in __fscache_write_to_cache() 274 struct netfs_cache_resources cres; in __fscache_resize_cookie()
|
| H A D | read_single.c | 64 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_single_cache_prepare_read() 78 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_single_read_cache()
|
| H A D | buffered_read.c | 17 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_cache_expand_readahead() 133 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_cache_prepare_read() 151 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_read_cache_to_pagecache()
|
| /linux-6.15/include/linux/ |
| H A D | fscache.h | 172 extern int __fscache_begin_read_operation(struct netfs_cache_resources *, struct fscache_cookie *); 173 extern int __fscache_begin_write_operation(struct netfs_cache_resources *, struct fscache_cookie *); 429 const struct netfs_cache_ops *fscache_operation_valid(const struct netfs_cache_resources *cres) in fscache_operation_valid() 453 int fscache_begin_read_operation(struct netfs_cache_resources *cres, in fscache_begin_read_operation() 467 static inline void fscache_end_operation(struct netfs_cache_resources *cres) in fscache_end_operation() 507 int fscache_read(struct netfs_cache_resources *cres, in fscache_read() 538 int fscache_begin_write_operation(struct netfs_cache_resources *cres, in fscache_begin_write_operation() 566 int fscache_write(struct netfs_cache_resources *cres, in fscache_write()
|
| H A D | netfs.h | 161 struct netfs_cache_resources { struct 232 struct netfs_cache_resources cache_resources; 333 void (*end_operation)(struct netfs_cache_resources *cres); 336 int (*read)(struct netfs_cache_resources *cres, 344 int (*write)(struct netfs_cache_resources *cres, 354 void (*expand_readahead)(struct netfs_cache_resources *cres, 375 int (*prepare_write)(struct netfs_cache_resources *cres, 382 enum netfs_io_source (*prepare_ondemand_read)(struct netfs_cache_resources *cres, 390 int (*query_occupancy)(struct netfs_cache_resources *cres,
|
| H A D | fscache-cache.h | 69 void (*resize_cookie)(struct netfs_cache_resources *cres, 76 bool (*begin_operation)(struct netfs_cache_resources *cres, 119 extern bool fscache_wait_for_operation(struct netfs_cache_resources *cred, 149 static inline struct fscache_cookie *fscache_cres_cookie(struct netfs_cache_resources *cres) in fscache_cres_cookie()
|
| /linux-6.15/fs/cachefiles/ |
| H A D | io.c | 75 static int cachefiles_read(struct netfs_cache_resources *cres, in cachefiles_read() 199 static int cachefiles_query_occupancy(struct netfs_cache_resources *cres, in cachefiles_query_occupancy() 361 static int cachefiles_write(struct netfs_cache_resources *cres, in cachefiles_write() 381 cachefiles_do_prepare_read(struct netfs_cache_resources *cres, in cachefiles_do_prepare_read() 511 cachefiles_prepare_ondemand_read(struct netfs_cache_resources *cres, in cachefiles_prepare_ondemand_read() 604 static int cachefiles_prepare_write(struct netfs_cache_resources *cres, in cachefiles_prepare_write() 631 struct netfs_cache_resources *cres = &wreq->cache_resources; in cachefiles_prepare_write_subreq() 650 struct netfs_cache_resources *cres = &wreq->cache_resources; in cachefiles_issue_write() 719 static void cachefiles_end_operation(struct netfs_cache_resources *cres) in cachefiles_end_operation() 743 bool cachefiles_begin_operation(struct netfs_cache_resources *cres, in cachefiles_begin_operation()
|
| H A D | internal.h | 155 struct file *cachefiles_cres_file(struct netfs_cache_resources *cres) in cachefiles_cres_file() 161 struct cachefiles_object *cachefiles_cres_object(struct netfs_cache_resources *cres) in cachefiles_cres_object() 251 extern bool cachefiles_begin_operation(struct netfs_cache_resources *cres,
|
| H A D | interface.c | 278 static void cachefiles_resize_cookie(struct netfs_cache_resources *cres, in cachefiles_resize_cookie()
|
| /linux-6.15/Documentation/filesystems/ |
| H A D | netfs_library.rst | 187 struct netfs_cache_resources cache_resources; 460 struct netfs_cache_resources { 470 void (*end_operation)(struct netfs_cache_resources *cres); 472 void (*expand_readahead)(struct netfs_cache_resources *cres, 478 int (*read)(struct netfs_cache_resources *cres, 485 int (*prepare_write)(struct netfs_cache_resources *cres, 489 int (*write)(struct netfs_cache_resources *cres, 495 int (*query_occupancy)(struct netfs_cache_resources *cres,
|
| /linux-6.15/Documentation/filesystems/caching/ |
| H A D | backend-api.rst | 341 void (*resize_cookie)(struct netfs_cache_resources *cres, 386 bool (*begin_operation)(struct netfs_cache_resources *cres, 394 to the netfs_cache_resources object and return true. 417 netfs_cache_ops`` attached to a ``struct netfs_cache_resources`` by the 470 struct fscache_cookie *fscache_cres_cookie(struct netfs_cache_resources *cres)
|
| H A D | netfs-api.rst | 242 int fscache_begin_read_operation(struct netfs_cache_resources *cres, 244 int fscache_read(struct netfs_cache_resources *cres, 250 int fscache_write(struct netfs_cache_resources *cres,
|
| /linux-6.15/fs/erofs/ |
| H A D | fscache.c | 29 struct netfs_cache_resources cres; 137 struct netfs_cache_resources *cres = &io->cres; in erofs_fscache_read_io_async()
|
| /linux-6.15/fs/afs/ |
| H A D | dir.c | 1280 struct netfs_cache_resources cres = {}; in afs_create_edit_dir() 1374 struct netfs_cache_resources cres = {}; in afs_rmdir_edit_dir() 1522 struct netfs_cache_resources cres = {}; in afs_unlink_edit_dir() 1858 struct netfs_cache_resources orig_cres = {}, new_cres = {}; in afs_rename_edit_dir()
|