Searched refs:netfs_cache_resources (Results 1 – 15 of 15) sorted by relevance
/linux-6.1.9/include/linux/ |
D | netfs.h | 136 struct netfs_cache_resources { struct 180 struct netfs_cache_resources cache_resources; 236 void (*end_operation)(struct netfs_cache_resources *cres); 239 int (*read)(struct netfs_cache_resources *cres, 247 int (*write)(struct netfs_cache_resources *cres, 254 void (*expand_readahead)(struct netfs_cache_resources *cres, 266 int (*prepare_write)(struct netfs_cache_resources *cres, 273 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.1.9/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.1.9/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() 370 static int cachefiles_write(struct netfs_cache_resources *cres, in cachefiles_write() 397 struct netfs_cache_resources *cres = &rreq->cache_resources; in cachefiles_prepare_read() 582 static int cachefiles_prepare_write(struct netfs_cache_resources *cres, in cachefiles_prepare_write() 609 static void cachefiles_end_operation(struct netfs_cache_resources *cres) in cachefiles_end_operation() 630 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.1.9/fs/cifs/ |
D | fscache.c | 143 struct netfs_cache_resources cres; in fscache_fallback_read_page() 171 struct netfs_cache_resources cres; in fscache_fallback_write_page() 232 struct netfs_cache_resources cres; in __cifs_fscache_query_occupancy()
|
/linux-6.1.9/fs/nfs/ |
D | fscache.c | 245 struct netfs_cache_resources cres; in fscache_fallback_read_page() 273 struct netfs_cache_resources cres; in fscache_fallback_write_page()
|
/linux-6.1.9/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 | 106 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_cache_expand_readahead()
|
/linux-6.1.9/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.1.9/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.1.9/fs/erofs/ |
D | fscache.c | 151 struct netfs_cache_resources *cres = &rreq->cache_resources; in erofs_fscache_read_folios_async()
|