Home
last modified time | relevance | path

Searched refs:cmdiu (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/nvme/host/
H A Dfc.c2094 struct nvme_fc_cmd_iu *cmdiu = &op->cmd_iu; in __nvme_fc_init_request() local
2108 cmdiu->format_id = NVME_CMD_FORMAT_ID; in __nvme_fc_init_request()
2109 cmdiu->fc_id = NVME_CMD_FC_ID; in __nvme_fc_init_request()
2110 cmdiu->iu_len = cpu_to_be16(sizeof(*cmdiu) / sizeof(u32)); in __nvme_fc_init_request()
2112 cmdiu->rsv_cat = fccmnd_set_cat_css(0, in __nvme_fc_init_request()
2115 cmdiu->rsv_cat = fccmnd_set_cat_admin(0); in __nvme_fc_init_request()
2164 struct nvme_fc_cmd_iu *cmdiu; in nvme_fc_init_aen_ops() local
2178 cmdiu = &aen_op->cmd_iu; in nvme_fc_init_aen_ops()
2179 sqe = &cmdiu->sqe; in nvme_fc_init_aen_ops()
2571 struct nvme_fc_cmd_iu *cmdiu = &op->cmd_iu; in nvme_fc_timeout() local
[all …]
/linux/drivers/nvme/target/
H A Dfc.c2527 struct nvme_fc_cmd_iu *cmdiu = &fod->cmdiubuf; in nvmet_fc_handle_fcp_rqst() local
2528 u32 xfrlen = be32_to_cpu(cmdiu->data_len); in nvmet_fc_handle_fcp_rqst()
2542 if (cmdiu->flags & FCNVME_CMD_FLAGS_WRITE) { in nvmet_fc_handle_fcp_rqst()
2544 if (!nvme_is_write(&cmdiu->sqe)) in nvmet_fc_handle_fcp_rqst()
2546 } else if (cmdiu->flags & FCNVME_CMD_FLAGS_READ) { in nvmet_fc_handle_fcp_rqst()
2548 if (nvme_is_write(&cmdiu->sqe)) in nvmet_fc_handle_fcp_rqst()
2666 struct nvme_fc_cmd_iu *cmdiu = cmdiubuf; in nvmet_fc_rcv_fcp_req() local
2673 if ((cmdiubuf_len != sizeof(*cmdiu)) || in nvmet_fc_rcv_fcp_req()
2674 (cmdiu->format_id != NVME_CMD_FORMAT_ID) || in nvmet_fc_rcv_fcp_req()
2675 (cmdiu->fc_id != NVME_CMD_FC_ID) || in nvmet_fc_rcv_fcp_req()
[all …]
H A Dfcloop.c594 struct nvme_fc_cmd_iu *cmdiu = fcpreq->cmdaddr; in check_for_drop() local
595 struct nvme_command *sqe = &cmdiu->sqe; in check_for_drop()