• Home
  • Raw
  • Download

Lines Matching refs:op

83 typedef void (*fscache_operation_release_t)(struct fscache_operation *op);
84 typedef void (*fscache_operation_processor_t)(struct fscache_operation *op);
85 typedef void (*fscache_operation_cancel_t)(struct fscache_operation *op);
144 struct fscache_operation op; member
154 typedef int (*fscache_page_retrieval_func_t)(struct fscache_retrieval *op,
158 typedef int (*fscache_pages_retrieval_func_t)(struct fscache_retrieval *op,
170 struct fscache_retrieval *fscache_get_retrieval(struct fscache_retrieval *op) in fscache_get_retrieval() argument
172 atomic_inc(&op->op.usage); in fscache_get_retrieval()
173 return op; in fscache_get_retrieval()
182 static inline void fscache_enqueue_retrieval(struct fscache_retrieval *op) in fscache_enqueue_retrieval() argument
184 fscache_enqueue_operation(&op->op); in fscache_enqueue_retrieval()
192 static inline void fscache_retrieval_complete(struct fscache_retrieval *op, in fscache_retrieval_complete() argument
195 if (atomic_sub_return_relaxed(n_pages, &op->n_pages) <= 0) in fscache_retrieval_complete()
196 fscache_op_complete(&op->op, false); in fscache_retrieval_complete()
205 static inline void fscache_put_retrieval(struct fscache_retrieval *op) in fscache_put_retrieval() argument
207 fscache_put_operation(&op->op); in fscache_put_retrieval()
218 struct fscache_operation op; member
253 int (*check_consistency)(struct fscache_operation *op);
259 void (*invalidate_object)(struct fscache_operation *op);
296 int (*write_page)(struct fscache_storage *op, struct page *page);
478 static inline void fscache_end_io(struct fscache_retrieval *op, in fscache_end_io() argument
481 op->end_io_func(page, op->context, error); in fscache_end_io()
541 extern void fscache_mark_page_cached(struct fscache_retrieval *op,
544 extern void fscache_mark_pages_cached(struct fscache_retrieval *op,