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()
507 if (subsys->passthru_ctrl) in nvmet_passthru_ctrl_enable()
539 subsys->passthru_ctrl = ctrl; in nvmet_passthru_ctrl_enable()
549 __module_get(subsys->passthru_ctrl->ops->module); in nvmet_passthru_ctrl_enable()
561 if (subsys->passthru_ctrl) { in __nvmet_passthru_ctrl_disable()
562 xa_erase(&passthru_subsystems, subsys->passthru_ctrl->cntlid); in __nvmet_passthru_ctrl_disable()
563 module_put(subsys->passthru_ctrl->ops->module); in __nvmet_passthru_ctrl_disable()
564 nvme_put_ctrl(subsys->passthru_ctrl); in __nvmet_passthru_ctrl_disable()
566 subsys->passthru_ctrl = NULL; in __nvmet_passthru_ctrl_disable()
Dnvmet.h248 struct nvme_ctrl *passthru_ctrl; member
560 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()