Home
last modified time | relevance | path

Searched refs:passthru_ctrl (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/nvme/target/
Dpassthru.c26 struct nvme_ctrl *pctrl = ctrl->subsys->passthru_ctrl; in nvmet_passthru_override_id_ctrl()
508 if (subsys->passthru_ctrl) in nvmet_passthru_ctrl_enable()
540 subsys->passthru_ctrl = ctrl; in nvmet_passthru_ctrl_enable()
550 __module_get(subsys->passthru_ctrl->ops->module); in nvmet_passthru_ctrl_enable()
562 if (subsys->passthru_ctrl) { in __nvmet_passthru_ctrl_disable()
563 xa_erase(&passthru_subsystems, subsys->passthru_ctrl->cntlid); in __nvmet_passthru_ctrl_disable()
564 module_put(subsys->passthru_ctrl->ops->module); in __nvmet_passthru_ctrl_disable()
565 nvme_put_ctrl(subsys->passthru_ctrl); in __nvmet_passthru_ctrl_disable()
567 subsys->passthru_ctrl = NULL; in __nvmet_passthru_ctrl_disable()
Dnvmet.h248 struct nvme_ctrl *passthru_ctrl; member
559 return subsys->passthru_ctrl; in nvmet_passthru_ctrl()
Dconfigfs.c689 if (subsys->passthru_ctrl) in nvmet_passthru_device_path_store()
717 return sprintf(page, "%d\n", subsys->passthru_ctrl ? 1 : 0); in nvmet_passthru_enable_show()