Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/
Dfscache-cache.h143 struct fscache_retrieval { struct
154 typedef int (*fscache_page_retrieval_func_t)(struct fscache_retrieval *op, argument
158 typedef int (*fscache_pages_retrieval_func_t)(struct fscache_retrieval *op,
170 struct fscache_retrieval *fscache_get_retrieval(struct fscache_retrieval *op) in fscache_get_retrieval()
182 static inline void fscache_enqueue_retrieval(struct fscache_retrieval *op) in fscache_enqueue_retrieval()
192 static inline void fscache_retrieval_complete(struct fscache_retrieval *op, in fscache_retrieval_complete()
205 static inline void fscache_put_retrieval(struct fscache_retrieval *op) in fscache_put_retrieval()
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,
544 extern void fscache_mark_pages_cached(struct fscache_retrieval *op,
/Linux-v5.4/fs/cachefiles/
Dinternal.h99 struct fscache_retrieval *op; /* retrieval op covering this */
208 extern int cachefiles_read_or_alloc_page(struct fscache_retrieval *,
210 extern int cachefiles_read_or_alloc_pages(struct fscache_retrieval *,
213 extern int cachefiles_allocate_page(struct fscache_retrieval *, struct page *,
215 extern int cachefiles_allocate_pages(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()
797 int cachefiles_allocate_page(struct fscache_retrieval *op, in cachefiles_allocate_page()
834 int cachefiles_allocate_pages(struct fscache_retrieval *op, in cachefiles_allocate_pages()
/Linux-v5.4/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()
302 static struct fscache_retrieval *fscache_alloc_retrieval( in fscache_alloc_retrieval()
308 struct fscache_retrieval *op; in fscache_alloc_retrieval()
435 struct fscache_retrieval *op; in __fscache_read_or_alloc_page()
566 struct fscache_retrieval *op; in __fscache_read_or_alloc_pages()
679 struct fscache_retrieval *op; in __fscache_alloc_page()
1165 void fscache_mark_page_cached(struct fscache_retrieval *op, struct page *page) in fscache_mark_page_cached()
[all …]
/Linux-v5.4/Documentation/filesystems/caching/
Dbackend-api.txt178 struct fscache_retrieval {
409 int (*read_or_alloc_page)(struct fscache_retrieval *op,
451 int (*read_or_alloc_pages)(struct fscache_retrieval *op,
471 int (*allocate_page)(struct fscache_retrieval *op,
487 int (*allocate_pages)(struct fscache_retrieval *op,
546 void fscache_end_io(struct fscache_retrieval *op, struct page *page,
556 void fscache_retrieval_complete(struct fscache_retrieval *op,
586 void fscache_mark_pages_cached(struct fscache_retrieval *op,
704 void fscache_get_retrieval(struct fscache_retrieval *op);
705 void fscache_put_retrieval(struct fscache_retrieval *op);
[all …]