Home
last modified time | relevance | path

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

/linux/include/linux/
H A Dnetfs.h159 struct netfs_cache_resources { struct
231 struct netfs_cache_resources cache_resources;
329 void (*end_operation)(struct netfs_cache_resources *cres);
332 int (*read)(struct netfs_cache_resources *cres,
340 int (*write)(struct netfs_cache_resources *cres,
350 void (*expand_readahead)(struct netfs_cache_resources *cres,
371 int (*prepare_write)(struct netfs_cache_resources *cres,
378 enum netfs_io_source (*prepare_ondemand_read)(struct netfs_cache_resources *cres,
386 int (*query_occupancy)(struct netfs_cache_resources *cres,
H A Dfscache-cache.h69 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/fs/cachefiles/
H A Dio.c75 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()
359 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()
602 static int cachefiles_prepare_write(struct netfs_cache_resources *cres, in cachefiles_prepare_write()
629 struct netfs_cache_resources *cres = &wreq->cache_resources; in cachefiles_prepare_write_subreq()
648 struct netfs_cache_resources *cres = &wreq->cache_resources; in cachefiles_issue_write()
717 static void cachefiles_end_operation(struct netfs_cache_resources *cres) in cachefiles_end_operation()
741 bool cachefiles_begin_operation(struct netfs_cache_resources *cres, in cachefiles_begin_operation()
/linux/Documentation/filesystems/caching/
H A 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)
H A 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/fs/erofs/
H A Dfscache.c29 struct netfs_cache_resources cres;
136 struct netfs_cache_resources *cres = &io->cres; in erofs_fscache_read_io_async()