Lines Matching refs:set
294 static int bsg_init_rq(struct blk_mq_tag_set *set, struct request *req, in bsg_init_rq() argument
317 static void bsg_exit_rq(struct blk_mq_tag_set *set, struct request *req, in bsg_exit_rq() argument
370 struct blk_mq_tag_set *set; in bsg_setup_queue() local
381 set = &bset->tag_set; in bsg_setup_queue()
382 set->ops = &bsg_mq_ops; in bsg_setup_queue()
383 set->nr_hw_queues = 1; in bsg_setup_queue()
384 set->queue_depth = 128; in bsg_setup_queue()
385 set->numa_node = NUMA_NO_NODE; in bsg_setup_queue()
386 set->cmd_size = sizeof(struct bsg_job) + dd_job_size; in bsg_setup_queue()
387 set->flags = BLK_MQ_F_NO_SCHED | BLK_MQ_F_BLOCKING; in bsg_setup_queue()
388 if (blk_mq_alloc_tag_set(set)) in bsg_setup_queue()
391 q = blk_mq_init_queue(set); in bsg_setup_queue()
410 blk_mq_free_tag_set(set); in bsg_setup_queue()