Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/nvme/target/
Dtcp.c234 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()
Drdma.c199 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()
Dnvmet.h434 return nvme_is_write(req->cmd) ? DMA_FROM_DEVICE : DMA_TO_DEVICE; in nvmet_data_dir()
Dfc.c2544 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()
/linux-6.12.1/drivers/nvme/host/
Dnvme.h827 return nvme_is_write(cmd) ? REQ_OP_DRV_OUT : REQ_OP_DRV_IN; in nvme_req_op()
Dioctl.c80 if ((nvme_is_write(c) || (effects & NVME_CMD_EFFECTS_LBCC)) && in nvme_cmd_allowed()
Dapple.c296 if (nvme_is_write(cmd)) in apple_nvme_submit_cmd()
/linux-6.12.1/include/linux/
Dnvme.h1847 static inline bool nvme_is_write(const struct nvme_command *cmd) in nvme_is_write() function