Home
last modified time | relevance | path

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

/Linux-v5.15/include/linux/
Dfscache-cache.h143 struct fscache_retrieval { struct
153 typedef int (*fscache_page_retrieval_func_t)(struct fscache_retrieval *op, argument
157 typedef int (*fscache_pages_retrieval_func_t)(struct fscache_retrieval *op,
169 struct fscache_retrieval *fscache_get_retrieval(struct fscache_retrieval *op) in fscache_get_retrieval()
181 static inline void fscache_enqueue_retrieval(struct fscache_retrieval *op) in fscache_enqueue_retrieval()
191 static inline void fscache_retrieval_complete(struct fscache_retrieval *op, in fscache_retrieval_complete()
204 static inline void fscache_put_retrieval(struct fscache_retrieval *op) in fscache_put_retrieval()
309 struct fscache_retrieval *op);
478 static inline void fscache_end_io(struct fscache_retrieval *op, in fscache_end_io()
541 extern void fscache_mark_page_cached(struct fscache_retrieval *op,
[all …]
/Linux-v5.15/fs/cachefiles/
Dinternal.h99 struct fscache_retrieval *op; /* retrieval op covering this */
186 extern int cachefiles_read_or_alloc_page(struct fscache_retrieval *,
188 extern int cachefiles_read_or_alloc_pages(struct fscache_retrieval *,
191 extern int cachefiles_allocate_page(struct fscache_retrieval *, struct page *,
193 extern int cachefiles_allocate_pages(struct fscache_retrieval *,
202 struct fscache_retrieval *);
Drdwr.c26 struct fscache_retrieval *op = monitor->op; in cachefiles_read_waiter()
156 struct fscache_retrieval *op; in cachefiles_read_copier()
159 op = container_of(_op, struct fscache_retrieval, op); in cachefiles_read_copier()
230 struct fscache_retrieval *op, in cachefiles_read_backing_file_one()
392 int cachefiles_read_or_alloc_page(struct fscache_retrieval *op, in cachefiles_read_or_alloc_page()
466 struct fscache_retrieval *op, in cachefiles_read_backing_file()
682 int cachefiles_read_or_alloc_pages(struct fscache_retrieval *op, in cachefiles_read_or_alloc_pages()
796 int cachefiles_allocate_page(struct fscache_retrieval *op, in cachefiles_allocate_page()
833 int cachefiles_allocate_pages(struct fscache_retrieval *op, in cachefiles_allocate_pages()
Dio.c271 struct fscache_retrieval *op = subreq->rreq->cache_resources.cache_priv; in cachefiles_prepare_read()
354 struct fscache_retrieval *op = cres->cache_priv; in cachefiles_end_operation()
381 struct fscache_retrieval *op) in cachefiles_begin_read_operation()
/Linux-v5.15/fs/fscache/
Dpage.c273 struct fscache_retrieval *op = in fscache_do_cancel_retrieval()
274 container_of(_op, struct fscache_retrieval, op); in fscache_do_cancel_retrieval()
284 struct fscache_retrieval *op = in fscache_release_retrieval_op()
285 container_of(_op, struct fscache_retrieval, op); in fscache_release_retrieval_op()
301 struct fscache_retrieval *fscache_alloc_retrieval( in fscache_alloc_retrieval()
307 struct fscache_retrieval *op; in fscache_alloc_retrieval()
429 struct fscache_retrieval *op; in __fscache_read_or_alloc_page()
560 struct fscache_retrieval *op; in __fscache_read_or_alloc_pages()
673 struct fscache_retrieval *op; in __fscache_alloc_page()
1159 void fscache_mark_page_cached(struct fscache_retrieval *op, struct page *page) in fscache_mark_page_cached()
[all …]
Dio.c30 struct fscache_retrieval *op; in __fscache_begin_read_operation()
Dinternal.h120 struct fscache_retrieval *fscache_alloc_retrieval(struct fscache_cookie *cookie,
/Linux-v5.15/Documentation/filesystems/caching/
Dbackend-api.rst175 struct fscache_retrieval {
407 int (*read_or_alloc_page)(struct fscache_retrieval *op,
449 int (*read_or_alloc_pages)(struct fscache_retrieval *op,
469 int (*allocate_page)(struct fscache_retrieval *op,
485 int (*allocate_pages)(struct fscache_retrieval *op,
543 void fscache_end_io(struct fscache_retrieval *op, struct page *page,
553 void fscache_retrieval_complete(struct fscache_retrieval *op,
583 void fscache_mark_pages_cached(struct fscache_retrieval *op,
705 void fscache_get_retrieval(struct fscache_retrieval *op);
706 void fscache_put_retrieval(struct fscache_retrieval *op);
[all …]