Home
last modified time | relevance | path

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

/Linux-v4.19/include/linux/
Dfscache-cache.h147 struct fscache_retrieval { struct
158 typedef int (*fscache_page_retrieval_func_t)(struct fscache_retrieval *op, argument
162 typedef int (*fscache_pages_retrieval_func_t)(struct fscache_retrieval *op,
174 struct fscache_retrieval *fscache_get_retrieval(struct fscache_retrieval *op) in fscache_get_retrieval()
186 static inline void fscache_enqueue_retrieval(struct fscache_retrieval *op) in fscache_enqueue_retrieval()
196 static inline void fscache_retrieval_complete(struct fscache_retrieval *op, in fscache_retrieval_complete()
210 static inline void fscache_put_retrieval(struct fscache_retrieval *op) in fscache_put_retrieval()
483 static inline void fscache_end_io(struct fscache_retrieval *op, in fscache_end_io()
546 extern void fscache_mark_page_cached(struct fscache_retrieval *op,
549 extern void fscache_mark_pages_cached(struct fscache_retrieval *op,
/Linux-v4.19/fs/cachefiles/
Dinternal.h103 struct fscache_retrieval *op; /* retrieval op covering this */
212 extern int cachefiles_read_or_alloc_page(struct fscache_retrieval *,
214 extern int cachefiles_read_or_alloc_pages(struct fscache_retrieval *,
217 extern int cachefiles_allocate_page(struct fscache_retrieval *, struct page *,
219 extern int cachefiles_allocate_pages(struct fscache_retrieval *,
Drdwr.c30 struct fscache_retrieval *op = monitor->op; in cachefiles_read_waiter()
160 struct fscache_retrieval *op; in cachefiles_read_copier()
163 op = container_of(_op, struct fscache_retrieval, op); in cachefiles_read_copier()
234 struct fscache_retrieval *op, in cachefiles_read_backing_file_one()
396 int cachefiles_read_or_alloc_page(struct fscache_retrieval *op, in cachefiles_read_or_alloc_page()
470 struct fscache_retrieval *op, in cachefiles_read_backing_file()
680 int cachefiles_read_or_alloc_pages(struct fscache_retrieval *op, in cachefiles_read_or_alloc_pages()
795 int cachefiles_allocate_page(struct fscache_retrieval *op, in cachefiles_allocate_page()
832 int cachefiles_allocate_pages(struct fscache_retrieval *op, in cachefiles_allocate_pages()
/Linux-v4.19/fs/fscache/
Dpage.c277 struct fscache_retrieval *op = in fscache_do_cancel_retrieval()
278 container_of(_op, struct fscache_retrieval, op); in fscache_do_cancel_retrieval()
288 struct fscache_retrieval *op = in fscache_release_retrieval_op()
289 container_of(_op, struct fscache_retrieval, op); in fscache_release_retrieval_op()
306 static struct fscache_retrieval *fscache_alloc_retrieval( in fscache_alloc_retrieval()
312 struct fscache_retrieval *op; in fscache_alloc_retrieval()
439 struct fscache_retrieval *op; in __fscache_read_or_alloc_page()
570 struct fscache_retrieval *op; in __fscache_read_or_alloc_pages()
683 struct fscache_retrieval *op; in __fscache_alloc_page()
1169 void fscache_mark_page_cached(struct fscache_retrieval *op, struct page *page) in fscache_mark_page_cached()
[all …]
/Linux-v4.19/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 …]