Lines Matching defs:op
53 ASSERT(monitor->op);
55 object = container_of(monitor->op->op.object,
59 list_add_tail(&monitor->op_link, &monitor->op->to_do);
62 fscache_enqueue_retrieval(monitor->op);
152 struct fscache_retrieval *op;
156 op = container_of(_op, struct fscache_retrieval, op);
157 object = container_of(op->op.object,
167 while (!list_empty(&op->to_do)) {
168 monitor = list_entry(op->to_do.next,
181 fscache_mark_pages_cached(monitor->op, &pagevec);
199 fscache_end_io(op, monitor->netfs_page, error);
201 fscache_put_retrieval(op);
208 if (!list_empty(&op->to_do))
209 fscache_enqueue_retrieval(op);
226 struct fscache_retrieval *op,
247 monitor->op = fscache_get_retrieval(op);
339 fscache_mark_pages_cached(op, pagevec);
342 fscache_end_io(op, netpage, 0);
352 fscache_put_retrieval(monitor->op);
370 fscache_put_retrieval(monitor->op);
391 int cachefiles_read_or_alloc_page(struct fscache_retrieval *op,
403 object = container_of(op->op.object,
424 op->op.flags &= FSCACHE_OP_KEEP_FLAGS;
425 op->op.flags |= FSCACHE_OP_ASYNC;
426 op->op.processor = cachefiles_read_copier;
447 ret = cachefiles_read_backing_file_one(object, op, page,
452 fscache_mark_pages_cached(op, &pagevec);
467 struct fscache_retrieval *op,
492 monitor->op = fscache_get_retrieval(op);
538 ret = add_to_page_cache(netpage, op->mapping, netpage->index,
614 ret = add_to_page_cache(netpage, op->mapping, netpage->index,
630 fscache_mark_pages_cached(op, mark_pvec);
636 fscache_end_io(op, netpage, 0);
657 fscache_put_retrieval(op);
688 int cachefiles_read_or_alloc_pages(struct fscache_retrieval *op,
702 object = container_of(op->op.object,
708 object->fscache.debug_id, atomic_read(&op->op.usage),
731 op->op.flags &= FSCACHE_OP_KEEP_FLAGS;
732 op->op.flags |= FSCACHE_OP_ASYNC;
733 op->op.processor = cachefiles_read_copier;
764 fscache_mark_pages_cached(op, &pagevec);
770 fscache_mark_pages_cached(op, &pagevec);
778 ret2 = cachefiles_read_backing_file(object, op, &backpages,
785 fscache_mark_pages_cached(op, &pagevec);
803 int cachefiles_allocate_page(struct fscache_retrieval *op,
812 object = container_of(op->op.object,
823 fscache_mark_pages_cached(op, &pagevec);
843 int cachefiles_allocate_pages(struct fscache_retrieval *op,
854 object = container_of(op->op.object,
867 fscache_mark_pages_cached(op, &pagevec);
871 fscache_mark_pages_cached(op, &pagevec);
886 * - if the op is in progress, 0 will be returned
888 int cachefiles_write_page(struct fscache_storage *op, struct page *page)
899 ASSERT(op != NULL);
902 object = container_of(op->op.object,