Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/scsi/
Dscsi_dh.c125 struct scsi_device_handler *scsi_dh) in scsi_dh_handler_attach() argument
129 if (!try_module_get(scsi_dh->module)) in scsi_dh_handler_attach()
132 error = scsi_dh->attach(sdev); in scsi_dh_handler_attach()
151 scsi_dh->name, error); in scsi_dh_handler_attach()
152 module_put(scsi_dh->module); in scsi_dh_handler_attach()
154 sdev->handler = scsi_dh; in scsi_dh_handler_attach()
199 int scsi_register_device_handler(struct scsi_device_handler *scsi_dh) in scsi_register_device_handler() argument
201 if (__scsi_dh_lookup(scsi_dh->name)) in scsi_register_device_handler()
204 if (!scsi_dh->attach || !scsi_dh->detach) in scsi_register_device_handler()
208 list_add(&scsi_dh->list, &scsi_dh_list); in scsi_register_device_handler()
[all …]
DMakefile170 scsi_mod-$(CONFIG_SCSI_DH) += scsi_dh.o
/linux-6.12.1/include/scsi/
Dscsi_device.h389 extern int scsi_register_device_handler(struct scsi_device_handler *scsi_dh);
391 extern int scsi_unregister_device_handler(struct scsi_device_handler *scsi_dh);