tag | line | file | source code |
sdpnt | 327 | drivers/scsi/hosts.c | scsi_register_device(struct Scsi_Device_Template * sdpnt) |
sdpnt | 329 | drivers/scsi/hosts.c | if(sdpnt->next) panic("Device already registered"); |
sdpnt | 330 | drivers/scsi/hosts.c | sdpnt->next = scsi_devicelist; |
sdpnt | 331 | drivers/scsi/hosts.c | scsi_devicelist = sdpnt; |
sdpnt | 367 | drivers/scsi/hosts.h | int scsi_register_device(struct Scsi_Device_Template * sdpnt); |
sdpnt | 2760 | drivers/scsi/scsi.c | Scsi_Device *sdpnt, * sdppnt, * sdpnt1; |
sdpnt | 2770 | drivers/scsi/scsi.c | for(sdpnt = scsi_devices; sdpnt; sdpnt = sdpnt->next) |
sdpnt | 2771 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt && sdpnt->host->hostt->usage_count |
sdpnt | 2772 | drivers/scsi/scsi.c | && *sdpnt->host->hostt->usage_count) return; |
sdpnt | 2795 | drivers/scsi/scsi.c | for(sdpnt = scsi_devices; sdpnt; sdpnt = sdpnt->next) |
sdpnt | 2796 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt) |
sdpnt | 2799 | drivers/scsi/scsi.c | if(sdtpnt->detach) (*sdtpnt->detach)(sdpnt); |
sdpnt | 2801 | drivers/scsi/scsi.c | if (sdpnt->attached) { |
sdpnt | 2802 | drivers/scsi/scsi.c | printk("Attached usage count = %d\n", sdpnt->attached); |
sdpnt | 2809 | drivers/scsi/scsi.c | for(sdpnt = scsi_devices; sdpnt; sdpnt = sdpnt->next) |
sdpnt | 2810 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt) |
sdpnt | 2811 | drivers/scsi/scsi.c | while (sdpnt->host->host_queue) { |
sdpnt | 2812 | drivers/scsi/scsi.c | SCpnt = sdpnt->host->host_queue->next; |
sdpnt | 2813 | drivers/scsi/scsi.c | scsi_init_free((char *) sdpnt->host->host_queue, sizeof(Scsi_Cmnd)); |
sdpnt | 2814 | drivers/scsi/scsi.c | sdpnt->host->host_queue = SCpnt; |
sdpnt | 2816 | drivers/scsi/scsi.c | sdpnt->has_cmdblocks = 0; |
sdpnt | 2822 | drivers/scsi/scsi.c | for(sdpnt = scsi_devices; sdpnt; sdpnt = sdpnt1) |
sdpnt | 2824 | drivers/scsi/scsi.c | sdpnt1 = sdpnt->next; |
sdpnt | 2825 | drivers/scsi/scsi.c | if (sdpnt->host->hostt == tpnt) { |
sdpnt | 2827 | drivers/scsi/scsi.c | sdppnt->next = sdpnt->next; |
sdpnt | 2829 | drivers/scsi/scsi.c | scsi_devices = sdpnt->next; |
sdpnt | 2830 | drivers/scsi/scsi.c | scsi_init_free((char *) sdpnt, sizeof (Scsi_Device)); |
sdpnt | 2832 | drivers/scsi/scsi.c | sdppnt = sdpnt; |