Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/nvme/target/
H A Dtcp.c171 return nvme_is_write(cmd->req.cmd) && in nvmet_tcp_has_data_in()
182 return !nvme_is_write(cmd->req.cmd) && in nvmet_tcp_need_data_out()
189 return nvme_is_write(cmd->req.cmd) && cmd->pdu_len && in nvmet_tcp_has_inline_data()
355 if (!nvme_is_write(cmd->req.cmd)) in nvmet_tcp_map_data()
542 nvme_is_write(cmd->req.cmd)) in nvmet_tcp_queue_response()
902 if (!nvme_is_write(cmd->req.cmd) || in nvmet_tcp_handle_req_failure()
H A Dpassthru.c200 else if (nvme_is_write(req->cmd)) in nvmet_passthru_map_sg()
H A Dnvmet.h367 return nvme_is_write(req->cmd) ? DMA_FROM_DEVICE : DMA_TO_DEVICE; in nvmet_data_dir()
H A Drdma.c195 return nvme_is_write(rsp->req.cmd) && in nvmet_rdma_need_data_in()
202 return !nvme_is_write(rsp->req.cmd) && in nvmet_rdma_need_data_out()
858 if (!nvme_is_write(rsp->req.cmd)) { in nvmet_rdma_map_sgl_inline()
H A Dfc.c2515 if (!nvme_is_write(&cmdiu->sqe)) in nvmet_fc_handle_fcp_rqst()
2519 if (nvme_is_write(&cmdiu->sqe)) in nvmet_fc_handle_fcp_rqst()
/OK3568_Linux_fs/kernel/include/linux/
H A Dnvme.h1442 static inline bool nvme_is_write(struct nvme_command *cmd) in nvme_is_write() function
/OK3568_Linux_fs/kernel/drivers/nvme/host/
H A Dlightnvm.c758 bool write = nvme_is_write((struct nvme_command *)vcmd); in nvme_nvm_submit_user_cmd()
H A Dcore.c541 return nvme_is_write(cmd) ? REQ_OP_DRV_OUT : REQ_OP_DRV_IN; in nvme_req_op()
1111 bool write = nvme_is_write(cmd); in nvme_submit_user_cmd()