Home
last modified time | relevance | path

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

/linux/fs/netfs/
H A Dfscache_io.c22 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;
217 struct netfs_cache_resources *cres; in __fscache_write_to_cache()
272 struct netfs_cache_resources cres; in __fscache_resize_cookie()
H A Dread_single.c64 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 Dbuffered_read.c17 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_cache_expand_readahead()
136 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_cache_prepare_read()
154 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_read_cache_to_pagecache()
/linux/include/linux/
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()
H A Dnetfs.h160 struct netfs_cache_resources { struct
231 struct netfs_cache_resources cache_resources;
330 void (*end_operation)(struct netfs_cache_resources *cres);
333 int (*read)(struct netfs_cache_resources *cres,
341 int (*write)(struct netfs_cache_resources *cres,
351 void (*expand_readahead)(struct netfs_cache_resources *cres,
372 int (*prepare_write)(struct netfs_cache_resources *cres,
379 int (*query_occupancy)(struct netfs_cache_resources *cres,
/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/afs/
H A Ddir.c1276 struct netfs_cache_resources cres = {}; in afs_create_edit_dir()
1370 struct netfs_cache_resources cres = {}; in afs_rmdir_edit_dir()
1518 struct netfs_cache_resources cres = {}; in afs_unlink_edit_dir()
1890 struct netfs_cache_resources orig_cres = {}, new_cres = {}; in afs_rename_edit_dir()