Lines Matching refs:ub_cmd

1424 		const struct ublksrv_io_cmd *ub_cmd)  in ublk_commit_completion()  argument
1426 u32 qid = ub_cmd->q_id, tag = ub_cmd->tag; in ublk_commit_completion()
1433 io->res = ub_cmd->result; in ublk_commit_completion()
1441 req->__sector = ub_cmd->zone_append_lba; in ublk_commit_completion()
1699 const struct ublksrv_io_cmd *ub_cmd) in __ublk_ch_uring_cmd() argument
1705 unsigned tag = ub_cmd->tag; in __ublk_ch_uring_cmd()
1710 __func__, cmd->cmd_op, ub_cmd->q_id, tag, in __ublk_ch_uring_cmd()
1711 ub_cmd->result); in __ublk_ch_uring_cmd()
1713 if (ub_cmd->q_id >= ub->dev_info.nr_hw_queues) in __ublk_ch_uring_cmd()
1716 ubq = ublk_get_queue(ub, ub_cmd->q_id); in __ublk_ch_uring_cmd()
1717 if (!ubq || ub_cmd->q_id != ubq->q_id) in __ublk_ch_uring_cmd()
1766 if (!ub_cmd->addr && !ublk_need_get_data(ubq)) in __ublk_ch_uring_cmd()
1768 } else if (ub_cmd->addr) { in __ublk_ch_uring_cmd()
1774 ublk_fill_io_cmd(io, cmd, ub_cmd->addr); in __ublk_ch_uring_cmd()
1778 req = blk_mq_tag_to_rq(ub->tag_set.tags[ub_cmd->q_id], tag); in __ublk_ch_uring_cmd()
1788 if (!ub_cmd->addr && (!ublk_need_get_data(ubq) || in __ublk_ch_uring_cmd()
1791 } else if (req_op(req) != REQ_OP_ZONE_APPEND && ub_cmd->addr) { in __ublk_ch_uring_cmd()
1800 ublk_fill_io_cmd(io, cmd, ub_cmd->addr); in __ublk_ch_uring_cmd()
1801 ublk_commit_completion(ub, ub_cmd); in __ublk_ch_uring_cmd()
1806 ublk_fill_io_cmd(io, cmd, ub_cmd->addr); in __ublk_ch_uring_cmd()
1807 ublk_handle_need_get_data(ub, ub_cmd->q_id, ub_cmd->tag); in __ublk_ch_uring_cmd()
1858 const struct ublksrv_io_cmd ub_cmd = { in ublk_ch_uring_cmd() local
1865 return __ublk_ch_uring_cmd(cmd, issue_flags, &ub_cmd); in ublk_ch_uring_cmd()