Lines Matching refs:nc

45     struct nvmf_capsule *nc, uint8_t sc_status);
68 nvmft_receive_capsule(void *arg, struct nvmf_capsule *nc) in nvmft_receive_capsule() argument
75 cmd = nvmf_capsule_sqe(nc); in nvmft_receive_capsule()
79 nvmf_free_capsule(nc); in nvmft_receive_capsule()
83 sc_status = nvmf_validate_command_capsule(nc); in nvmft_receive_capsule()
85 _nvmft_send_generic_error(qp, nc, sc_status); in nvmft_receive_capsule()
86 nvmf_free_capsule(nc); in nvmft_receive_capsule()
92 _nvmft_send_generic_error(qp, nc, NVME_SC_COMMAND_ID_CONFLICT); in nvmft_receive_capsule()
93 nvmf_free_capsule(nc); in nvmft_receive_capsule()
98 nvmft_handle_admin_command(ctrlr, nc); in nvmft_receive_capsule()
100 nvmft_handle_io_command(qp, qp->qid, nc); in nvmft_receive_capsule()
220 nvmft_command_completed(struct nvmft_qpair *qp, struct nvmf_capsule *nc) in nvmft_command_completed() argument
222 const struct nvme_command *cmd = nvmf_capsule_sqe(nc); in nvmft_command_completed()
245 nvmft_init_cqe(void *cqe, struct nvmf_capsule *nc, uint16_t status) in nvmft_init_cqe() argument
248 const struct nvme_command *cmd = nvmf_capsule_sqe(nc); in nvmft_init_cqe()
256 nvmft_send_error(struct nvmft_qpair *qp, struct nvmf_capsule *nc, in nvmft_send_error() argument
264 nvmft_init_cqe(&cpl, nc, status); in nvmft_send_error()
269 nvmft_send_generic_error(struct nvmft_qpair *qp, struct nvmf_capsule *nc, in nvmft_send_generic_error() argument
272 return (nvmft_send_error(qp, nc, NVME_SCT_GENERIC, sc_status)); in nvmft_send_generic_error()
280 _nvmft_send_generic_error(struct nvmft_qpair *qp, struct nvmf_capsule *nc, in _nvmft_send_generic_error() argument
288 nvmft_init_cqe(&cpl, nc, status); in _nvmft_send_generic_error()
293 nvmft_send_success(struct nvmft_qpair *qp, struct nvmf_capsule *nc) in nvmft_send_success() argument
295 return (nvmft_send_generic_error(qp, nc, NVME_SC_SUCCESS)); in nvmft_send_success()