Lines Matching refs:depth
31 static inline int ublk_setup_ring(struct io_uring *r, int depth, in ublk_setup_ring() argument
40 return io_uring_queue_init_params(depth, r, &p); in ublk_setup_ring()
392 static int __ublk_queue_cmd_buf_sz(unsigned depth) in __ublk_queue_cmd_buf_sz() argument
394 int size = depth * sizeof(struct ublksrv_io_desc); in __ublk_queue_cmd_buf_sz()
438 int depth = dev->dev_info.queue_depth; in ublk_queue_init() local
445 q->q_depth = depth; in ublk_queue_init()
1107 unsigned depth = ctx->queue_depth; in __cmd_dev_add() local
1123 if (nr_queues > UBLK_MAX_QUEUES || depth > UBLK_QUEUE_DEPTH) { in __cmd_dev_add()
1125 __func__, nr_queues, depth); in __cmd_dev_add()
1172 info->queue_depth = depth; in __cmd_dev_add()
1180 dev->tgt.sq_depth = depth; in __cmd_dev_add()
1181 dev->tgt.cq_depth = depth; in __cmd_dev_add()