Home
last modified time | relevance | path

Searched refs:cntlid (Results 1 – 10 of 10) sorted by relevance

/drivers/nvme/target/
Dfabrics-cmd.c137 if (unlikely(d->cntlid != cpu_to_le16(0xffff))) { in nvmet_execute_admin_connect()
139 d->cntlid); in nvmet_execute_admin_connect()
141 req->rsp->result = IPO_IATTR_CONNECT_DATA(cntlid); in nvmet_execute_admin_connect()
157 ctrl->cntlid, ctrl->hostnqn); in nvmet_execute_admin_connect()
158 req->rsp->result16 = cpu_to_le16(ctrl->cntlid); in nvmet_execute_admin_connect()
186 le16_to_cpu(d->cntlid), in nvmet_execute_io_connect()
201 req->rsp->result16 = cpu_to_le16(ctrl->cntlid); in nvmet_execute_io_connect()
205 pr_info("adding queue %d to ctrl %d.\n", qid, ctrl->cntlid); in nvmet_execute_io_connect()
Dcore.c201 ctrl->cntlid, ctrl->kato); in nvmet_keep_alive_timer()
209 ctrl->cntlid, ctrl->kato); in nvmet_start_keep_alive_timer()
217 pr_debug("ctrl %d stop keep-alive\n", ctrl->cntlid); in nvmet_stop_keep_alive_timer()
620 u16 nvmet_ctrl_find_get(const char *subsysnqn, const char *hostnqn, u16 cntlid, in nvmet_ctrl_find_get() argument
637 if (ctrl->cntlid == cntlid) { in nvmet_ctrl_find_get()
651 cntlid, subsysnqn, hostnqn); in nvmet_ctrl_find_get()
652 req->rsp->result = IPO_IATTR_CONNECT_DATA(cntlid); in nvmet_ctrl_find_get()
768 ctrl->cntlid = ret; in nvmet_alloc_ctrl()
831 ida_simple_remove(&subsys->cntlid_ida, ctrl->cntlid); in nvmet_ctrl_free()
849 pr_err("ctrl %d fatal error occurred!\n", ctrl->cntlid); in nvmet_fatal_error_handler()
Ddiscovery.c55 e->cntlid = cpu_to_le16(NVME_CNTLID_DYNAMIC); in nvmet_format_discovery_entry()
140 id->cntlid = cpu_to_le16(ctrl->cntlid); in nvmet_execute_identify_disc_ctrl()
Dadmin-cmd.c206 id->cntlid = cpu_to_le16(ctrl->cntlid); in nvmet_execute_identify_ctrl()
474 ctrl->cntlid, ctrl->kato); in nvmet_execute_keep_alive()
Dnvmet.h117 u16 cntlid; member
279 u16 nvmet_ctrl_find_get(const char *subsysnqn, const char *hostnqn, u16 cntlid,
Dloop.c482 if (ctrl->ctrl.cntlid == nctrl->cntlid) in nvme_loop_delete_ctrl()
Drdma.c685 queue->nvme_sq.ctrl->cntlid); in nvmet_rdma_execute_command()
/drivers/nvme/host/
Dfabrics.c303 case (offsetof(struct nvmf_connect_data, cntlid)): in nvmf_log_connect_error()
306 inv_data, data->cntlid); in nvmf_log_connect_error()
399 data->cntlid = cpu_to_le16(0xffff); in nvmf_connect_admin_queue()
412 ctrl->cntlid = le16_to_cpu(cqe.result16); in nvmf_connect_admin_queue()
458 data->cntlid = cpu_to_le16(ctrl->cntlid); in nvmf_connect_io_queue()
885 ctrl->instance, ctrl->cntlid); in nvmf_dev_show()
Dcore.c1254 ctrl->cntlid = le16_to_cpup(&id->cntlid); in nvme_init_identify()
1279 if (ctrl->cntlid != le16_to_cpu(id->cntlid)) in nvme_init_identify()
1288 ctrl->cntlid = le16_to_cpu(id->cntlid); in nvme_init_identify()
1517 nvme_show_int_function(cntlid);
Dnvme.h118 u16 cntlid; member