scsi_dh 124 drivers/scsi/scsi_dh.c struct scsi_device_handler *scsi_dh) scsi_dh 128 drivers/scsi/scsi_dh.c if (!try_module_get(scsi_dh->module)) scsi_dh 131 drivers/scsi/scsi_dh.c error = scsi_dh->attach(sdev); scsi_dh 150 drivers/scsi/scsi_dh.c scsi_dh->name, error); scsi_dh 151 drivers/scsi/scsi_dh.c module_put(scsi_dh->module); scsi_dh 153 drivers/scsi/scsi_dh.c sdev->handler = scsi_dh; scsi_dh 198 drivers/scsi/scsi_dh.c int scsi_register_device_handler(struct scsi_device_handler *scsi_dh) scsi_dh 200 drivers/scsi/scsi_dh.c if (__scsi_dh_lookup(scsi_dh->name)) scsi_dh 203 drivers/scsi/scsi_dh.c if (!scsi_dh->attach || !scsi_dh->detach) scsi_dh 207 drivers/scsi/scsi_dh.c list_add(&scsi_dh->list, &scsi_dh_list); scsi_dh 210 drivers/scsi/scsi_dh.c printk(KERN_INFO "%s: device handler registered\n", scsi_dh->name); scsi_dh 223 drivers/scsi/scsi_dh.c int scsi_unregister_device_handler(struct scsi_device_handler *scsi_dh) scsi_dh 225 drivers/scsi/scsi_dh.c if (!__scsi_dh_lookup(scsi_dh->name)) scsi_dh 229 drivers/scsi/scsi_dh.c list_del(&scsi_dh->list); scsi_dh 231 drivers/scsi/scsi_dh.c printk(KERN_INFO "%s: device handler unregistered\n", scsi_dh->name); scsi_dh 322 drivers/scsi/scsi_dh.c struct scsi_device_handler *scsi_dh; scsi_dh 329 drivers/scsi/scsi_dh.c scsi_dh = scsi_dh_lookup(name); scsi_dh 330 drivers/scsi/scsi_dh.c if (!scsi_dh) { scsi_dh 336 drivers/scsi/scsi_dh.c if (sdev->handler != scsi_dh) scsi_dh 341 drivers/scsi/scsi_dh.c err = scsi_dh_handler_attach(sdev, scsi_dh); scsi_dh 333 include/scsi/scsi_device.h extern int scsi_register_device_handler(struct scsi_device_handler *scsi_dh); scsi_dh 335 include/scsi/scsi_device.h extern int scsi_unregister_device_handler(struct scsi_device_handler *scsi_dh);