Lines Matching refs:cmd

314 	nvme_req(rq)->cmd = req->sqe.data;  in nvme_rdma_init_request()
1346 struct nvme_command *cmd, struct ib_sig_domain *domain, in nvme_rdma_set_sig_domain() argument
1352 domain->sig.dif.ref_tag = le32_to_cpu(cmd->rw.reftag); in nvme_rdma_set_sig_domain()
1356 domain->sig.dif.app_tag = le16_to_cpu(cmd->rw.apptag); in nvme_rdma_set_sig_domain()
1357 domain->sig.dif.apptag_check_mask = le16_to_cpu(cmd->rw.appmask); in nvme_rdma_set_sig_domain()
1364 struct nvme_command *cmd, struct ib_sig_attrs *sig_attrs, in nvme_rdma_set_sig_attrs() argument
1367 u16 control = le16_to_cpu(cmd->rw.control); in nvme_rdma_set_sig_attrs()
1373 nvme_rdma_set_sig_domain(bi, cmd, &sig_attrs->wire, control, in nvme_rdma_set_sig_attrs()
1377 cmd->rw.control = cpu_to_le16(control); in nvme_rdma_set_sig_attrs()
1380 nvme_rdma_set_sig_domain(bi, cmd, &sig_attrs->wire, control, in nvme_rdma_set_sig_attrs()
1382 nvme_rdma_set_sig_domain(bi, cmd, &sig_attrs->mem, control, in nvme_rdma_set_sig_attrs()
1387 static void nvme_rdma_set_prot_checks(struct nvme_command *cmd, u8 *mask) in nvme_rdma_set_prot_checks() argument
1390 if (le16_to_cpu(cmd->rw.control) & NVME_RW_PRINFO_PRCHK_REF) in nvme_rdma_set_prot_checks()
1392 if (le16_to_cpu(cmd->rw.control) & NVME_RW_PRINFO_PRCHK_GUARD) in nvme_rdma_set_prot_checks()
1661 struct nvme_command *cmd = sqe->data; in nvme_rdma_submit_async_event() local
1665 ib_dma_sync_single_for_cpu(dev, sqe->dma, sizeof(*cmd), DMA_TO_DEVICE); in nvme_rdma_submit_async_event()
1667 memset(cmd, 0, sizeof(*cmd)); in nvme_rdma_submit_async_event()
1668 cmd->common.opcode = nvme_admin_async_event; in nvme_rdma_submit_async_event()
1669 cmd->common.command_id = NVME_AQ_BLK_MQ_DEPTH; in nvme_rdma_submit_async_event()
1670 cmd->common.flags |= NVME_CMD_SGL_METABUF; in nvme_rdma_submit_async_event()
1671 nvme_rdma_set_sg_null(cmd); in nvme_rdma_submit_async_event()
1675 ib_dma_sync_single_for_device(dev, sqe->dma, sizeof(*cmd), in nvme_rdma_submit_async_event()
1986 struct nvme_command *c = nvme_req(rq)->cmd; in nvme_rdma_queue_rq()