Home
last modified time | relevance | path

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

/linux-4.4.14/include/linux/
Dfscache-cache.h134 struct fscache_retrieval { struct
145 typedef int (*fscache_page_retrieval_func_t)(struct fscache_retrieval *op, argument
149 typedef int (*fscache_pages_retrieval_func_t)(struct fscache_retrieval *op,
161 struct fscache_retrieval *fscache_get_retrieval(struct fscache_retrieval *op) in fscache_get_retrieval()
173 static inline void fscache_enqueue_retrieval(struct fscache_retrieval *op) in fscache_enqueue_retrieval()
183 static inline void fscache_retrieval_complete(struct fscache_retrieval *op, in fscache_retrieval_complete()
197 static inline void fscache_put_retrieval(struct fscache_retrieval *op) in fscache_put_retrieval()
467 static inline void fscache_end_io(struct fscache_retrieval *op, in fscache_end_io()
530 extern void fscache_mark_page_cached(struct fscache_retrieval *op,
533 extern void fscache_mark_pages_cached(struct fscache_retrieval *op,
/linux-4.4.14/fs/cachefiles/
Dinternal.h100 struct fscache_retrieval *op; /* retrieval op covering this */
204 extern int cachefiles_read_or_alloc_page(struct fscache_retrieval *,
206 extern int cachefiles_read_or_alloc_pages(struct fscache_retrieval *,
209 extern int cachefiles_allocate_page(struct fscache_retrieval *, struct page *,
211 extern int cachefiles_allocate_pages(struct fscache_retrieval *,
Drdwr.c153 struct fscache_retrieval *op; in cachefiles_read_copier()
156 op = container_of(_op, struct fscache_retrieval, op); in cachefiles_read_copier()
227 struct fscache_retrieval *op, in cachefiles_read_backing_file_one()
390 int cachefiles_read_or_alloc_page(struct fscache_retrieval *op, in cachefiles_read_or_alloc_page()
464 struct fscache_retrieval *op, in cachefiles_read_backing_file()
675 int cachefiles_read_or_alloc_pages(struct fscache_retrieval *op, in cachefiles_read_or_alloc_pages()
790 int cachefiles_allocate_page(struct fscache_retrieval *op, in cachefiles_allocate_page()
827 int cachefiles_allocate_pages(struct fscache_retrieval *op, in cachefiles_allocate_pages()
/linux-4.4.14/fs/fscache/
Dpage.c256 struct fscache_retrieval *op = in fscache_do_cancel_retrieval()
257 container_of(_op, struct fscache_retrieval, op); in fscache_do_cancel_retrieval()
267 struct fscache_retrieval *op = in fscache_release_retrieval_op()
268 container_of(_op, struct fscache_retrieval, op); in fscache_release_retrieval_op()
285 static struct fscache_retrieval *fscache_alloc_retrieval( in fscache_alloc_retrieval()
291 struct fscache_retrieval *op; in fscache_alloc_retrieval()
416 struct fscache_retrieval *op; in __fscache_read_or_alloc_page()
546 struct fscache_retrieval *op; in __fscache_read_or_alloc_pages()
658 struct fscache_retrieval *op; in __fscache_alloc_page()
1113 void fscache_mark_page_cached(struct fscache_retrieval *op, struct page *page) in fscache_mark_page_cached()
[all …]
/linux-4.4.14/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 …]