tag | line | file | source code |
sdpnt | 393 | drivers/scsi/hosts.c | scsi_register_device(struct Scsi_Device_Template * sdpnt) |
sdpnt | 395 | drivers/scsi/hosts.c | if(sdpnt->next) panic("Device already registered"); |
sdpnt | 396 | drivers/scsi/hosts.c | sdpnt->next = scsi_devicelist; |
sdpnt | 397 | drivers/scsi/hosts.c | scsi_devicelist = sdpnt; |
sdpnt | 363 | drivers/scsi/hosts.h | int scsi_register_device(struct Scsi_Device_Template * sdpnt); |
sdpnt | 3009 | drivers/scsi/scsi.c | Scsi_Device *sdpnt, * sdppnt, * sdpnt1; |
sdpnt | 3019 | drivers/scsi/scsi.c | for(sdpnt = scsi_devices; sdpnt; sdpnt = sdpnt->next) |
sdpnt | 3020 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt && sdpnt->host->hostt->usage_count |
sdpnt | 3021 | drivers/scsi/scsi.c | && *sdpnt->host->hostt->usage_count) return; |
sdpnt | 3044 | drivers/scsi/scsi.c | for(sdpnt = scsi_devices; sdpnt; sdpnt = sdpnt->next) |
sdpnt | 3045 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt) |
sdpnt | 3048 | drivers/scsi/scsi.c | if(sdtpnt->detach) (*sdtpnt->detach)(sdpnt); |
sdpnt | 3050 | drivers/scsi/scsi.c | if (sdpnt->attached) { |
sdpnt | 3051 | drivers/scsi/scsi.c | printk("Attached usage count = %d\n", sdpnt->attached); |
sdpnt | 3058 | drivers/scsi/scsi.c | for(sdpnt = scsi_devices; sdpnt; sdpnt = sdpnt->next) |
sdpnt | 3059 | drivers/scsi/scsi.c | if(sdpnt->host->hostt == tpnt) |
sdpnt | 3060 | drivers/scsi/scsi.c | while (sdpnt->host->host_queue) { |
sdpnt | 3061 | drivers/scsi/scsi.c | SCpnt = sdpnt->host->host_queue->next; |
sdpnt | 3062 | drivers/scsi/scsi.c | scsi_init_free((char *) sdpnt->host->host_queue, sizeof(Scsi_Cmnd)); |
sdpnt | 3063 | drivers/scsi/scsi.c | sdpnt->host->host_queue = SCpnt; |
sdpnt | 3065 | drivers/scsi/scsi.c | sdpnt->has_cmdblocks = 0; |
sdpnt | 3071 | drivers/scsi/scsi.c | for(sdpnt = scsi_devices; sdpnt; sdpnt = sdpnt1) |
sdpnt | 3073 | drivers/scsi/scsi.c | sdpnt1 = sdpnt->next; |
sdpnt | 3074 | drivers/scsi/scsi.c | if (sdpnt->host->hostt == tpnt) { |
sdpnt | 3076 | drivers/scsi/scsi.c | sdppnt->next = sdpnt->next; |
sdpnt | 3078 | drivers/scsi/scsi.c | scsi_devices = sdpnt->next; |
sdpnt | 3079 | drivers/scsi/scsi.c | scsi_init_free((char *) sdpnt, sizeof (Scsi_Device)); |
sdpnt | 3081 | drivers/scsi/scsi.c | sdppnt = sdpnt; |