Lines Matching refs:scsi_dh_data
264 struct scsi_dh_data *scsi_dh_data = sdev->scsi_dh_data; in get_rdac_data() local
265 BUG_ON(scsi_dh_data == NULL); in get_rdac_data()
266 return ((struct rdac_dh_data *) scsi_dh_data->buf); in get_rdac_data()
854 struct scsi_dh_data *scsi_dh_data; in rdac_bus_attach() local
861 scsi_dh_data = kzalloc(sizeof(*scsi_dh_data) in rdac_bus_attach()
863 if (!scsi_dh_data) { in rdac_bus_attach()
869 scsi_dh_data->scsi_dh = &rdac_dh; in rdac_bus_attach()
870 h = (struct rdac_dh_data *) scsi_dh_data->buf; in rdac_bus_attach()
894 sdev->scsi_dh_data = scsi_dh_data; in rdac_bus_attach()
910 kfree(scsi_dh_data); in rdac_bus_attach()
918 struct scsi_dh_data *scsi_dh_data; in rdac_bus_detach() local
922 scsi_dh_data = sdev->scsi_dh_data; in rdac_bus_detach()
923 h = (struct rdac_dh_data *) scsi_dh_data->buf; in rdac_bus_detach()
928 sdev->scsi_dh_data = NULL; in rdac_bus_detach()
935 kfree(scsi_dh_data); in rdac_bus_detach()