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 | 2766 | drivers/scsi/scsi.c | Scsi_Device *sdpnt, * sdppnt, * sdpnt1; |
sdpnt | 2776 | drivers/scsi/scsi.c | for(sdpnt = scsi_devices; sdpnt; sdpnt = sdpnt->next) |
sdpnt | 2777 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt && sdpnt->host->hostt->usage_count |
sdpnt | 2778 | drivers/scsi/scsi.c | && *sdpnt->host->hostt->usage_count) return; |
sdpnt | 2801 | drivers/scsi/scsi.c | for(sdpnt = scsi_devices; sdpnt; sdpnt = sdpnt->next) |
sdpnt | 2802 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt) |
sdpnt | 2805 | drivers/scsi/scsi.c | if(sdtpnt->detach) (*sdtpnt->detach)(sdpnt); |
sdpnt | 2807 | drivers/scsi/scsi.c | if (sdpnt->attached) { |
sdpnt | 2808 | drivers/scsi/scsi.c | printk("Attached usage count = %d\n", sdpnt->attached); |
sdpnt | 2815 | drivers/scsi/scsi.c | for(sdpnt = scsi_devices; sdpnt; sdpnt = sdpnt->next) |
sdpnt | 2816 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt) |
sdpnt | 2817 | drivers/scsi/scsi.c | while (sdpnt->host->host_queue) { |
sdpnt | 2818 | drivers/scsi/scsi.c | SCpnt = sdpnt->host->host_queue->next; |
sdpnt | 2819 | drivers/scsi/scsi.c | scsi_init_free((char *) sdpnt->host->host_queue, sizeof(Scsi_Cmnd)); |
sdpnt | 2820 | drivers/scsi/scsi.c | sdpnt->host->host_queue = SCpnt; |
sdpnt | 2822 | drivers/scsi/scsi.c | sdpnt->has_cmdblocks = 0; |
sdpnt | 2828 | drivers/scsi/scsi.c | for(sdpnt = scsi_devices; sdpnt; sdpnt = sdpnt1) |
sdpnt | 2830 | drivers/scsi/scsi.c | sdpnt1 = sdpnt->next; |
sdpnt | 2831 | drivers/scsi/scsi.c | if (sdpnt->host->hostt == tpnt) { |
sdpnt | 2833 | drivers/scsi/scsi.c | sdppnt->next = sdpnt->next; |
sdpnt | 2835 | drivers/scsi/scsi.c | scsi_devices = sdpnt->next; |
sdpnt | 2836 | drivers/scsi/scsi.c | scsi_init_free((char *) sdpnt, sizeof (Scsi_Device)); |
sdpnt | 2838 | drivers/scsi/scsi.c | sdppnt = sdpnt; |