Home
last modified time | relevance | path

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

/linux-4.1.27/include/linux/
Dfscache-cache.h147 struct fscache_retrieval { struct
157 typedef int (*fscache_page_retrieval_func_t)(struct fscache_retrieval *op, argument
161 typedef int (*fscache_pages_retrieval_func_t)(struct fscache_retrieval *op,
173 struct fscache_retrieval *fscache_get_retrieval(struct fscache_retrieval *op) in fscache_get_retrieval()
185 static inline void fscache_enqueue_retrieval(struct fscache_retrieval *op) in fscache_enqueue_retrieval()
195 static inline void fscache_retrieval_complete(struct fscache_retrieval *op, in fscache_retrieval_complete()
209 static inline void fscache_put_retrieval(struct fscache_retrieval *op) in fscache_put_retrieval()
479 static inline void fscache_end_io(struct fscache_retrieval *op, in fscache_end_io()
542 extern void fscache_mark_page_cached(struct fscache_retrieval *op,
545 extern void fscache_mark_pages_cached(struct fscache_retrieval *op,
/linux-4.1.27/fs/cachefiles/
Dinternal.h101 struct fscache_retrieval *op; /* retrieval op covering this */
205 extern int cachefiles_read_or_alloc_page(struct fscache_retrieval *,
207 extern int cachefiles_read_or_alloc_pages(struct fscache_retrieval *,
210 extern int cachefiles_allocate_page(struct fscache_retrieval *, struct page *,
212 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()
467 struct fscache_retrieval *op, in cachefiles_read_backing_file()
678 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()
/linux-4.1.27/fs/fscache/
Dpage.c256 struct fscache_retrieval *op = in fscache_release_retrieval_op()
257 container_of(_op, struct fscache_retrieval, op); in fscache_release_retrieval_op()
273 static struct fscache_retrieval *fscache_alloc_retrieval( in fscache_alloc_retrieval()
279 struct fscache_retrieval *op; in fscache_alloc_retrieval()
337 struct fscache_retrieval *op = in fscache_do_cancel_retrieval()
338 container_of(_op, struct fscache_retrieval, op); in fscache_do_cancel_retrieval()
405 struct fscache_retrieval *op; in __fscache_read_or_alloc_page()
540 struct fscache_retrieval *op; in __fscache_read_or_alloc_pages()
657 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.1.27/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,
681 void fscache_get_retrieval(struct fscache_retrieval *op);
682 void fscache_put_retrieval(struct fscache_retrieval *op);
[all …]