Lines Matching full:request

22 	struct nvme_request *request;  in nvme_ctrlr_cmd_identify_controller()  local
24 request = nvme_allocate_request_vaddr( in nvme_ctrlr_cmd_identify_controller()
27 if (!request) { in nvme_ctrlr_cmd_identify_controller()
31 memset(&request->cmd, 0, sizeof(request->cmd)); in nvme_ctrlr_cmd_identify_controller()
32 request->cmd.cdw0.opc = NVME_OPC_IDENTIFY; in nvme_ctrlr_cmd_identify_controller()
33 request->cmd.cdw10 = sys_cpu_to_le32(1); in nvme_ctrlr_cmd_identify_controller()
35 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_identify_controller()
42 struct nvme_request *request; in nvme_ctrlr_cmd_identify_namespace() local
44 request = nvme_allocate_request_vaddr( in nvme_ctrlr_cmd_identify_namespace()
47 if (!request) { in nvme_ctrlr_cmd_identify_namespace()
51 request->cmd.cdw0.opc = NVME_OPC_IDENTIFY; in nvme_ctrlr_cmd_identify_namespace()
55 request->cmd.nsid = sys_cpu_to_le32(nsid); in nvme_ctrlr_cmd_identify_namespace()
57 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_identify_namespace()
64 struct nvme_request *request; in nvme_ctrlr_cmd_create_io_cq() local
67 request = nvme_allocate_request_null(cb_fn, cb_arg); in nvme_ctrlr_cmd_create_io_cq()
68 if (!request) { in nvme_ctrlr_cmd_create_io_cq()
72 cmd = &request->cmd; in nvme_ctrlr_cmd_create_io_cq()
85 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_create_io_cq()
92 struct nvme_request *request; in nvme_ctrlr_cmd_create_io_sq() local
95 request = nvme_allocate_request_null(cb_fn, cb_arg); in nvme_ctrlr_cmd_create_io_sq()
96 if (!request) { in nvme_ctrlr_cmd_create_io_sq()
100 cmd = &request->cmd; in nvme_ctrlr_cmd_create_io_sq()
113 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_create_io_sq()
120 struct nvme_request *request; in nvme_ctrlr_cmd_delete_io_cq() local
123 request = nvme_allocate_request_null(cb_fn, cb_arg); in nvme_ctrlr_cmd_delete_io_cq()
124 if (!request) { in nvme_ctrlr_cmd_delete_io_cq()
128 cmd = &request->cmd; in nvme_ctrlr_cmd_delete_io_cq()
137 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_delete_io_cq()
144 struct nvme_request *request; in nvme_ctrlr_cmd_delete_io_sq() local
147 request = nvme_allocate_request_null(cb_fn, cb_arg); in nvme_ctrlr_cmd_delete_io_sq()
148 if (!request) { in nvme_ctrlr_cmd_delete_io_sq()
152 cmd = &request->cmd; in nvme_ctrlr_cmd_delete_io_sq()
161 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_delete_io_sq()
171 struct nvme_request *request; in nvme_ctrlr_cmd_set_feature() local
174 request = nvme_allocate_request_null(cb_fn, cb_arg); in nvme_ctrlr_cmd_set_feature()
175 if (!request) { in nvme_ctrlr_cmd_set_feature()
179 cmd = &request->cmd; in nvme_ctrlr_cmd_set_feature()
188 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_set_feature()
196 struct nvme_request *request; in nvme_ctrlr_cmd_get_feature() local
199 request = nvme_allocate_request_null(cb_fn, cb_arg); in nvme_ctrlr_cmd_get_feature()
200 if (!request) { in nvme_ctrlr_cmd_get_feature()
204 cmd = &request->cmd; in nvme_ctrlr_cmd_get_feature()
209 return nvme_cmd_qpair_submit_request(ctrlr->adminq, request); in nvme_ctrlr_cmd_get_feature()