Lines Matching refs:queue_mode
145 device_param_cb(queue_mode, &null_queue_mode_param_ops, &g_queue_mode, 0444);
146 MODULE_PARM_DESC(queue_mode, "Block interface to use (0=bio,1=rq,2=multiqueue)");
409 NULLB_DEVICE_ATTR(queue_mode, uint, NULL);
693 dev->queue_mode = g_queue_mode; in null_alloc_dev()
799 int queue_mode = cmd->nq->dev->queue_mode; in end_cmd() local
801 switch (queue_mode) { in end_cmd()
1317 if (nullb->dev->queue_mode == NULL_Q_MQ) in null_stop_queue()
1325 if (nullb->dev->queue_mode == NULL_Q_MQ) in null_restart_queue_async()
1375 if (dev->queue_mode == NULL_Q_BIO) in null_handle_memory_backed()
1391 if (dev->queue_mode == NULL_Q_BIO && bio_op(cmd->bio) == REQ_OP_READ) { in nullb_zero_read_cmd_buffer()
1414 switch (cmd->nq->dev->queue_mode) { in nullb_complete_cmd()
1792 if (dev->queue_mode == NULL_Q_MQ && in null_del_dev()
1971 if (dev->queue_mode == NULL_Q_MQ && dev->use_per_node_hctx) { in null_validate_conf()
1984 dev->queue_mode = min_t(unsigned int, dev->queue_mode, NULL_Q_MQ); in null_validate_conf()
1996 if (dev->queue_mode == NULL_Q_BIO) in null_validate_conf()
2058 if (dev->queue_mode == NULL_Q_MQ) { in null_add_dev()
2080 } else if (dev->queue_mode == NULL_Q_BIO) { in null_add_dev()
2161 if (dev->queue_mode == NULL_Q_MQ && nullb->tag_set == &nullb->__tag_set) in null_add_dev()