Home
last modified time | relevance | path

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

/linux-3.4.99/include/linux/
Dfscache-cache.h134 struct fscache_retrieval { struct
143 typedef int (*fscache_page_retrieval_func_t)(struct fscache_retrieval *op, argument
147 typedef int (*fscache_pages_retrieval_func_t)(struct fscache_retrieval *op,
159 struct fscache_retrieval *fscache_get_retrieval(struct fscache_retrieval *op) in fscache_get_retrieval()
171 static inline void fscache_enqueue_retrieval(struct fscache_retrieval *op) in fscache_enqueue_retrieval()
182 static inline void fscache_put_retrieval(struct fscache_retrieval *op) in fscache_put_retrieval()
486 static inline void fscache_end_io(struct fscache_retrieval *op, in fscache_end_io()
507 extern void fscache_mark_pages_cached(struct fscache_retrieval *op,
/linux-3.4.99/fs/cachefiles/
Dinternal.h92 struct fscache_retrieval *op; /* retrieval op covering this */
196 extern int cachefiles_read_or_alloc_page(struct fscache_retrieval *,
198 extern int cachefiles_read_or_alloc_pages(struct fscache_retrieval *,
201 extern int cachefiles_allocate_page(struct fscache_retrieval *, struct page *,
203 extern int cachefiles_allocate_pages(struct fscache_retrieval *,
Drdwr.c152 struct fscache_retrieval *op; in cachefiles_read_copier()
156 op = container_of(_op, struct fscache_retrieval, op); in cachefiles_read_copier()
226 struct fscache_retrieval *op, in cachefiles_read_backing_file_one()
391 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()
688 int cachefiles_read_or_alloc_pages(struct fscache_retrieval *op, in cachefiles_read_or_alloc_pages()
803 int cachefiles_allocate_page(struct fscache_retrieval *op, in cachefiles_allocate_page()
843 int cachefiles_allocate_pages(struct fscache_retrieval *op, in cachefiles_allocate_pages()
/linux-3.4.99/fs/fscache/
Dpage.c221 struct fscache_retrieval *op = in fscache_release_retrieval_op()
222 container_of(_op, struct fscache_retrieval, op); in fscache_release_retrieval_op()
236 static struct fscache_retrieval *fscache_alloc_retrieval( in fscache_alloc_retrieval()
241 struct fscache_retrieval *op; in fscache_alloc_retrieval()
297 struct fscache_retrieval *op, in fscache_wait_for_retrieval_activation()
345 struct fscache_retrieval *op; in __fscache_read_or_alloc_page()
464 struct fscache_retrieval *op; in __fscache_read_or_alloc_pages()
566 struct fscache_retrieval *op; in __fscache_alloc_page()
925 void fscache_mark_pages_cached(struct fscache_retrieval *op, in fscache_mark_pages_cached()
/linux-3.4.99/Documentation/filesystems/caching/
Dbackend-api.txt178 struct fscache_retrieval {
388 int (*read_or_alloc_page)(struct fscache_retrieval *op,
427 int (*read_or_alloc_pages)(struct fscache_retrieval *op,
447 int (*allocate_page)(struct fscache_retrieval *op,
463 int (*allocate_pages)(struct fscache_retrieval *op,
522 void fscache_end_io(struct fscache_retrieval *op, struct page *page,
541 void fscache_mark_pages_cached(struct fscache_retrieval *op,
636 void fscache_get_retrieval(struct fscache_retrieval *op);
637 void fscache_put_retrieval(struct fscache_retrieval *op);
645 void fscache_enqueue_retrieval(struct fscache_retrieval *op);