Home
last modified time | relevance | path

Searched refs:netfs_cache_resources (Results 1 – 14 of 14) 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_read_cache()
H A Dbuffered_read.c17 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_cache_expand_readahead()
147 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_read_cache_to_pagecache()
156 struct netfs_cache_resources *cres = &rreq->cache_resources; in netfs_read_query_cache()
H A Dwrite_collect.c198 struct netfs_cache_resources *cres = &wreq->cache_resources; in netfs_cache_collect()
/linux/include/linux/
H A Dfscache.h189 extern int __fscache_begin_read_operation(struct netfs_cache_resources *, struct fscache_cookie *);
190 extern int __fscache_begin_write_operation(struct netfs_cache_resources *, struct fscache_cookie *);
447 const struct netfs_cache_ops *fscache_operation_valid(const struct netfs_cache_resources *cres) in fscache_operation_valid()
471 int fscache_begin_read_operation(struct netfs_cache_resources *cres, in fscache_begin_read_operation()
485 static inline void fscache_end_operation(struct netfs_cache_resources *cres) in fscache_end_operation()
522 int fscache_read(struct netfs_cache_resources *cres, in fscache_read()
553 int fscache_begin_write_operation(struct netfs_cache_resources *cres, in fscache_begin_write_operation()
581 int fscache_write(struct netfs_cache_resources *cres, in fscache_write()
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.h168 struct netfs_cache_resources { struct
242 struct netfs_cache_resources cache_resources;
347 void (*end_operation)(struct netfs_cache_resources *cres);
350 int (*read)(struct netfs_cache_resources *cres,
358 int (*write)(struct netfs_cache_resources *cres,
368 void (*expand_readahead)(struct netfs_cache_resources *cres,
388 int (*prepare_write)(struct netfs_cache_resources *cres,
395 int (*query_occupancy)(struct netfs_cache_resources *cres,
/linux/fs/cachefiles/
H A Dio.c77 static int cachefiles_read(struct netfs_cache_resources *cres, in cachefiles_read()
201 static int cachefiles_query_occupancy(struct netfs_cache_resources *cres, in cachefiles_query_occupancy()
382 static int cachefiles_write(struct netfs_cache_resources *cres, in cachefiles_write()
494 static int cachefiles_prepare_write(struct netfs_cache_resources *cres, in cachefiles_prepare_write()
521 struct netfs_cache_resources *cres = &wreq->cache_resources; in cachefiles_prepare_write_subreq()
546 struct netfs_cache_resources *cres = &wreq->cache_resources; in cachefiles_issue_write()
642 struct netfs_cache_resources *cres = &wreq->cache_resources; in cachefiles_collect_write()
807 static void cachefiles_end_operation(struct netfs_cache_resources *cres) in cachefiles_end_operation()
830 bool cachefiles_begin_operation(struct netfs_cache_resources *cres, in cachefiles_begin_operation()
H A Dinternal.h112 struct file *cachefiles_cres_file(struct netfs_cache_resources *cres) in cachefiles_cres_file()
118 struct cachefiles_object *cachefiles_cres_object(struct netfs_cache_resources *cres) in cachefiles_cres_object()
205 extern bool cachefiles_begin_operation(struct netfs_cache_resources *cres,
H A Dinterface.c206 static void cachefiles_resize_cookie(struct netfs_cache_resources *cres, in cachefiles_resize_cookie()
/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()
/linux/Documentation/filesystems/
H A Dnetfs_library.rst966 struct netfs_cache_resources {
982 void (*end_operation)(struct netfs_cache_resources *cres);
983 void (*expand_readahead)(struct netfs_cache_resources *cres,
987 int (*read)(struct netfs_cache_resources *cres,