Lines Matching refs:op
75 typedef void (*fscache_operation_release_t)(struct fscache_operation *op);
76 typedef void (*fscache_operation_processor_t)(struct fscache_operation *op);
77 typedef void (*fscache_operation_cancel_t)(struct fscache_operation *op);
135 struct fscache_operation op; member
145 typedef int (*fscache_page_retrieval_func_t)(struct fscache_retrieval *op,
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() argument
163 atomic_inc(&op->op.usage); in fscache_get_retrieval()
164 return op; in fscache_get_retrieval()
173 static inline void fscache_enqueue_retrieval(struct fscache_retrieval *op) in fscache_enqueue_retrieval() argument
175 fscache_enqueue_operation(&op->op); in fscache_enqueue_retrieval()
183 static inline void fscache_retrieval_complete(struct fscache_retrieval *op, in fscache_retrieval_complete() argument
186 atomic_sub(n_pages, &op->n_pages); in fscache_retrieval_complete()
187 if (atomic_read(&op->n_pages) <= 0) in fscache_retrieval_complete()
188 fscache_op_complete(&op->op, true); in fscache_retrieval_complete()
197 static inline void fscache_put_retrieval(struct fscache_retrieval *op) in fscache_put_retrieval() argument
199 fscache_put_operation(&op->op); in fscache_put_retrieval()
210 struct fscache_operation op; member
244 bool (*check_consistency)(struct fscache_operation *op);
250 void (*invalidate_object)(struct fscache_operation *op);
286 int (*write_page)(struct fscache_storage *op, struct page *page);
467 static inline void fscache_end_io(struct fscache_retrieval *op, in fscache_end_io() argument
470 op->end_io_func(page, op->context, error); 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,