Searched refs:nvme_is_write (Results 1 – 8 of 8) sorted by relevance
234 return nvme_is_write(cmd->req.cmd) && in nvmet_tcp_has_data_in()245 return !nvme_is_write(cmd->req.cmd) && in nvmet_tcp_need_data_out()252 return nvme_is_write(cmd->req.cmd) && cmd->pdu_len && in nvmet_tcp_has_inline_data()418 if (!nvme_is_write(cmd->req.cmd)) in nvmet_tcp_map_data()588 nvme_is_write(cmd->req.cmd)) in nvmet_tcp_queue_response()963 if (!nvme_is_write(cmd->req.cmd) || !data_len || in nvmet_tcp_handle_req_failure()
199 return nvme_is_write(rsp->req.cmd) && in nvmet_rdma_need_data_in()206 return !nvme_is_write(rsp->req.cmd) && in nvmet_rdma_need_data_out()852 if (!nvme_is_write(rsp->req.cmd)) { in nvmet_rdma_map_sgl_inline()
434 return nvme_is_write(req->cmd) ? DMA_FROM_DEVICE : DMA_TO_DEVICE; in nvmet_data_dir()
2544 if (!nvme_is_write(&cmdiu->sqe)) in nvmet_fc_handle_fcp_rqst()2548 if (nvme_is_write(&cmdiu->sqe)) in nvmet_fc_handle_fcp_rqst()
827 return nvme_is_write(cmd) ? REQ_OP_DRV_OUT : REQ_OP_DRV_IN; in nvme_req_op()
80 if ((nvme_is_write(c) || (effects & NVME_CMD_EFFECTS_LBCC)) && in nvme_cmd_allowed()
296 if (nvme_is_write(cmd)) in apple_nvme_submit_cmd()
1847 static inline bool nvme_is_write(const struct nvme_command *cmd) in nvme_is_write() function