tag | line | file | source code |
sdpnt | 334 | drivers/scsi/hosts.c | scsi_register_device(struct Scsi_Device_Template * sdpnt) |
sdpnt | 336 | drivers/scsi/hosts.c | if(sdpnt->next) panic("Device already registered"); |
sdpnt | 337 | drivers/scsi/hosts.c | sdpnt->next = scsi_devicelist; |
sdpnt | 338 | drivers/scsi/hosts.c | scsi_devicelist = sdpnt; |
sdpnt | 367 | drivers/scsi/hosts.h | int scsi_register_device(struct Scsi_Device_Template * sdpnt); |
sdpnt | 2769 | drivers/scsi/scsi.c | Scsi_Device *sdpnt, * sdppnt, * sdpnt1; |
sdpnt | 2779 | drivers/scsi/scsi.c | for(sdpnt = scsi_devices; sdpnt; sdpnt = sdpnt->next) |
sdpnt | 2780 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt && sdpnt->host->hostt->usage_count |
sdpnt | 2781 | drivers/scsi/scsi.c | && *sdpnt->host->hostt->usage_count) return; |
sdpnt | 2804 | drivers/scsi/scsi.c | for(sdpnt = scsi_devices; sdpnt; sdpnt = sdpnt->next) |
sdpnt | 2805 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt) |
sdpnt | 2808 | drivers/scsi/scsi.c | if(sdtpnt->detach) (*sdtpnt->detach)(sdpnt); |
sdpnt | 2810 | drivers/scsi/scsi.c | if (sdpnt->attached) { |
sdpnt | 2811 | drivers/scsi/scsi.c | printk("Attached usage count = %d\n", sdpnt->attached); |
sdpnt | 2818 | drivers/scsi/scsi.c | for(sdpnt = scsi_devices; sdpnt; sdpnt = sdpnt->next) |
sdpnt | 2819 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt) |
sdpnt | 2820 | drivers/scsi/scsi.c | while (sdpnt->host->host_queue) { |
sdpnt | 2821 | drivers/scsi/scsi.c | SCpnt = sdpnt->host->host_queue->next; |
sdpnt | 2822 | drivers/scsi/scsi.c | scsi_init_free((char *) sdpnt->host->host_queue, sizeof(Scsi_Cmnd)); |
sdpnt | 2823 | drivers/scsi/scsi.c | sdpnt->host->host_queue = SCpnt; |
sdpnt | 2825 | drivers/scsi/scsi.c | sdpnt->has_cmdblocks = 0; |
sdpnt | 2831 | drivers/scsi/scsi.c | for(sdpnt = scsi_devices; sdpnt; sdpnt = sdpnt1) |
sdpnt | 2833 | drivers/scsi/scsi.c | sdpnt1 = sdpnt->next; |
sdpnt | 2834 | drivers/scsi/scsi.c | if (sdpnt->host->hostt == tpnt) { |
sdpnt | 2836 | drivers/scsi/scsi.c | sdppnt->next = sdpnt->next; |
sdpnt | 2838 | drivers/scsi/scsi.c | scsi_devices = sdpnt->next; |
sdpnt | 2839 | drivers/scsi/scsi.c | scsi_init_free((char *) sdpnt, sizeof (Scsi_Device)); |
sdpnt | 2841 | drivers/scsi/scsi.c | sdppnt = sdpnt; |