Lines Matching defs:ops
350 if (e && e->type->ops.prepare_request) {
354 e->type->ops.prepare_request(rq);
384 e->type->ops.limit_depth &&
386 e->type->ops.limit_depth(data->cmd_flags, data);
532 if (e && e->type->ops.finish_request)
533 e->type->ops.finish_request(rq);
2354 if (tags->rqs && set->ops->exit_request) {
2362 set->ops->exit_request(set, rq, hctx_idx);
2433 if (set->ops->init_request) {
2434 ret = set->ops->init_request(set, rq, hctx_idx, node);
2494 * to additional allocations like via ops->init_request().
2687 if (set->ops->exit_request)
2688 set->ops->exit_request(set, flush_rq, hctx_idx);
2690 if (set->ops->exit_hctx)
2691 set->ops->exit_hctx(hctx, hctx_idx);
2741 if (set->ops->init_hctx &&
2742 set->ops->init_hctx(hctx, set->driver_data, hctx_idx))
2751 if (set->ops->exit_hctx)
2752 set->ops->exit_hctx(hctx, hctx_idx);
3147 * Helper for setting up a queue with mq ops, given queue depth, and
3148 * the passed in mq ops flags.
3151 const struct blk_mq_ops *ops,
3159 set->ops = ops;
3294 q->mq_ops = set->ops;
3435 if (set->ops->map_queues && !is_kdump_kernel()) {
3455 return set->ops->map_queues(set);
3504 if (!set->ops->queue_rq)
3507 if (!set->ops->get_budget ^ !set->ops->put_budget)
3641 if (q->elevator && q->elevator->type->ops.depth_updated)
3642 q->elevator->type->ops.depth_updated(hctx);