Home
last modified time | relevance | path

Searched refs:netfs_cache_resources (Results 1 – 15 of 15) sorted by relevance

/linux-6.1.9/include/linux/
Dnetfs.h136 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,
Dfscache.h172 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()
Dfscache-cache.h68 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/
Dio.c23 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/
Dio.c73 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()
Dinternal.h137 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,
Dinterface.c273 static void cachefiles_resize_cookie(struct netfs_cache_resources *cres, in cachefiles_resize_cookie()
/linux-6.1.9/fs/cifs/
Dfscache.c143 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/
Dfscache.c245 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/
Dio.c48 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()
Dbuffered_read.c106 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_cache_expand_readahead()
/linux-6.1.9/Documentation/filesystems/
Dnetfs_library.rst187 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/
Dbackend-api.rst341 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)
Dnetfs-api.rst242 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/
Dfscache.c151 struct netfs_cache_resources *cres = &rreq->cache_resources; in erofs_fscache_read_folios_async()