Home
last modified time | relevance | path

Searched refs:nvme_is_write (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/drivers/nvme/target/
H A Dtcp.c210 return nvme_is_write(cmd->req.cmd) && in nvmet_tcp_has_data_in()
221 return !nvme_is_write(cmd->req.cmd) && in nvmet_tcp_need_data_out()
228 return nvme_is_write(cmd->req.cmd) && cmd->pdu_len && in nvmet_tcp_has_inline_data()
394 if (!nvme_is_write(cmd->req.cmd)) in nvmet_tcp_map_data()
564 nvme_is_write(cmd->req.cmd)) in nvmet_tcp_queue_response()
937 if (!nvme_is_write(cmd->req.cmd) || !data_len || in nvmet_tcp_handle_req_failure()
H A Drdma.c196 return nvme_is_write(rsp->req.cmd) && in nvmet_rdma_need_data_in()
203 return !nvme_is_write(rsp->req.cmd) && in nvmet_rdma_need_data_out()
851 if (!nvme_is_write(rsp->req.cmd)) { in nvmet_rdma_map_sgl_inline()
H A Dnvmet.h415 return nvme_is_write(req->cmd) ? DMA_FROM_DEVICE : DMA_TO_DEVICE; in nvmet_data_dir()
H A Dfc.c2540 if (!nvme_is_write(&cmdiu->sqe)) in nvmet_fc_handle_fcp_rqst()
2544 if (nvme_is_write(&cmdiu->sqe)) in nvmet_fc_handle_fcp_rqst()
/openbmc/linux/drivers/nvme/host/
H A Dnvme.h827 return nvme_is_write(cmd) ? REQ_OP_DRV_OUT : REQ_OP_DRV_IN; in nvme_req_op()
H A Dioctl.c79 if ((nvme_is_write(c) || (effects & NVME_CMD_EFFECTS_LBCC)) && in nvme_cmd_allowed()
H A Dapple.c296 if (nvme_is_write(cmd)) in apple_nvme_submit_cmd()
/openbmc/linux/include/linux/
H A Dnvme.h1831 static inline bool nvme_is_write(struct nvme_command *cmd) in nvme_is_write() function
/openbmc/qemu/hw/nvme/
H A Dctrl.c2128 static inline bool nvme_is_write(NvmeRequest *req) in nvme_is_write() function
2167 if (ns->params.zoned && nvme_is_write(req)) { in nvme_rw_complete_cb()