Searched refs:netfs_cache_resources (Results 1 – 14 of 14) sorted by relevance
/linux-6.6.21/include/linux/ |
D | netfs.h | 137 struct netfs_cache_resources { struct 181 struct netfs_cache_resources cache_resources; 237 void (*end_operation)(struct netfs_cache_resources *cres); 240 int (*read)(struct netfs_cache_resources *cres, 248 int (*write)(struct netfs_cache_resources *cres, 255 void (*expand_readahead)(struct netfs_cache_resources *cres, 267 int (*prepare_write)(struct netfs_cache_resources *cres, 274 enum netfs_io_source (*prepare_ondemand_read)(struct netfs_cache_resources *cres, 282 int (*query_occupancy)(struct netfs_cache_resources *cres,
|
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 *); 426 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()
|
D | fscache-cache.h | 68 void (*resize_cookie)(struct netfs_cache_resources *cres, 75 bool (*begin_operation)(struct netfs_cache_resources *cres, 113 extern bool fscache_wait_for_operation(struct netfs_cache_resources *cred, 143 static inline struct fscache_cookie *fscache_cres_cookie(struct netfs_cache_resources *cres) in fscache_cres_cookie()
|
/linux-6.6.21/fs/fscache/ |
D | io.c | 23 bool fscache_wait_for_operation(struct netfs_cache_resources *cres, in fscache_wait_for_operation() 71 static int fscache_begin_operation(struct netfs_cache_resources *cres, in fscache_begin_operation() 145 int __fscache_begin_read_operation(struct netfs_cache_resources *cres, in __fscache_begin_read_operation() 153 int __fscache_begin_write_operation(struct netfs_cache_resources *cres, in __fscache_begin_write_operation() 202 struct netfs_cache_resources cache_resources; 256 struct netfs_cache_resources *cres; in __fscache_write_to_cache() 309 struct netfs_cache_resources cres; in __fscache_resize_cookie()
|
/linux-6.6.21/fs/cachefiles/ |
D | io.c | 73 static int cachefiles_read(struct netfs_cache_resources *cres, in cachefiles_read() 197 static int cachefiles_query_occupancy(struct netfs_cache_resources *cres, in cachefiles_query_occupancy() 360 static int cachefiles_write(struct netfs_cache_resources *cres, in cachefiles_write() 379 cachefiles_do_prepare_read(struct netfs_cache_resources *cres, in cachefiles_do_prepare_read() 509 cachefiles_prepare_ondemand_read(struct netfs_cache_resources *cres, in cachefiles_prepare_ondemand_read() 594 static int cachefiles_prepare_write(struct netfs_cache_resources *cres, in cachefiles_prepare_write() 621 static void cachefiles_end_operation(struct netfs_cache_resources *cres) in cachefiles_end_operation() 643 bool cachefiles_begin_operation(struct netfs_cache_resources *cres, in cachefiles_begin_operation()
|
D | internal.h | 137 struct file *cachefiles_cres_file(struct netfs_cache_resources *cres) in cachefiles_cres_file() 143 struct cachefiles_object *cachefiles_cres_object(struct netfs_cache_resources *cres) in cachefiles_cres_object() 232 extern bool cachefiles_begin_operation(struct netfs_cache_resources *cres,
|
D | interface.c | 273 static void cachefiles_resize_cookie(struct netfs_cache_resources *cres, in cachefiles_resize_cookie()
|
/linux-6.6.21/fs/smb/client/ |
D | fscache.c | 145 struct netfs_cache_resources cres; in fscache_fallback_read_page() 171 struct netfs_cache_resources cres; in fscache_fallback_write_pages() 226 struct netfs_cache_resources cres; in __cifs_fscache_query_occupancy()
|
/linux-6.6.21/fs/netfs/ |
D | io.c | 48 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_read_from_cache() 171 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_rreq_do_write_to_cache() 490 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_cache_prepare_read()
|
D | buffered_read.c | 110 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_cache_expand_readahead()
|
/linux-6.6.21/Documentation/filesystems/ |
D | netfs_library.rst | 187 struct netfs_cache_resources cache_resources; 475 struct netfs_cache_resources { 485 void (*end_operation)(struct netfs_cache_resources *cres); 487 void (*expand_readahead)(struct netfs_cache_resources *cres, 493 int (*read)(struct netfs_cache_resources *cres, 500 int (*prepare_write)(struct netfs_cache_resources *cres, 504 int (*write)(struct netfs_cache_resources *cres, 510 int (*query_occupancy)(struct netfs_cache_resources *cres,
|
/linux-6.6.21/Documentation/filesystems/caching/ |
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)
|
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.6.21/fs/erofs/ |
D | fscache.c | 17 struct netfs_cache_resources cache_resources; 120 struct netfs_cache_resources *cres = &req->cache_resources; in erofs_fscache_read_folios_async()
|