tag | line | file | source code |
SDp | 1322 | drivers/scsi/sd.c | static int sd_detect(Scsi_Device * SDp){ |
SDp | 1323 | drivers/scsi/sd.c | if(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return 0; |
SDp | 1327 | drivers/scsi/sd.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
SDp | 1332 | drivers/scsi/sd.c | static int sd_attach(Scsi_Device * SDp){ |
SDp | 1336 | drivers/scsi/sd.c | if(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return 0; |
SDp | 1339 | drivers/scsi/sd.c | SDp->attached--; |
SDp | 1348 | drivers/scsi/sd.c | SDp->scsi_request_fn = do_sd_request; |
SDp | 1349 | drivers/scsi/sd.c | rscsi_disks[i].device = SDp; |
SDp | 1424 | drivers/scsi/sd.c | static void sd_detach(Scsi_Device * SDp) |
SDp | 1432 | drivers/scsi/sd.c | if(dpnt->device == SDp) { |
SDp | 1453 | drivers/scsi/sd.c | SDp->attached--; |
SDp | 511 | drivers/scsi/sg.c | static int sg_detect(Scsi_Device * SDp){ |
SDp | 554 | drivers/scsi/sg.c | static int sg_attach(Scsi_Device * SDp) |
SDp | 561 | drivers/scsi/sg.c | SDp->attached--; |
SDp | 570 | drivers/scsi/sg.c | scsi_generics[i].device=SDp; |
SDp | 585 | drivers/scsi/sg.c | static void sg_detach(Scsi_Device * SDp) |
SDp | 591 | drivers/scsi/sg.c | if(gpnt->device == SDp) { |
SDp | 593 | drivers/scsi/sg.c | SDp->attached--; |
SDp | 926 | drivers/scsi/sr.c | static int sr_detect(Scsi_Device * SDp){ |
SDp | 928 | drivers/scsi/sr.c | if(SDp->type != TYPE_ROM && SDp->type != TYPE_WORM) return 0; |
SDp | 932 | drivers/scsi/sr.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
SDp | 937 | drivers/scsi/sr.c | static int sr_attach(Scsi_Device * SDp){ |
SDp | 941 | drivers/scsi/sr.c | if(SDp->type != TYPE_ROM && SDp->type != TYPE_WORM) return 1; |
SDp | 945 | drivers/scsi/sr.c | SDp->attached--; |
SDp | 954 | drivers/scsi/sr.c | SDp->scsi_request_fn = do_sr_request; |
SDp | 955 | drivers/scsi/sr.c | scsi_CDs[i].device = SDp; |
SDp | 1110 | drivers/scsi/sr.c | static void sr_detach(Scsi_Device * SDp) |
SDp | 1116 | drivers/scsi/sr.c | if(cpnt->device == SDp) { |
SDp | 1132 | drivers/scsi/sr.c | SDp->attached--; |
SDp | 2060 | drivers/scsi/st.c | static int st_attach(Scsi_Device * SDp){ |
SDp | 2064 | drivers/scsi/st.c | if(SDp->type != TYPE_TAPE) return 1; |
SDp | 2068 | drivers/scsi/st.c | SDp->attached--; |
SDp | 2077 | drivers/scsi/st.c | scsi_tapes[i].device = SDp; |
SDp | 2078 | drivers/scsi/st.c | if (SDp->scsi_level <= 2) |
SDp | 2106 | drivers/scsi/st.c | static int st_detect(Scsi_Device * SDp) |
SDp | 2108 | drivers/scsi/st.c | if(SDp->type != TYPE_TAPE) return 0; |
SDp | 2112 | drivers/scsi/st.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
SDp | 2223 | drivers/scsi/st.c | static void st_detach(Scsi_Device * SDp) |
SDp | 2229 | drivers/scsi/st.c | if(tpnt->device == SDp) { |
SDp | 2231 | drivers/scsi/st.c | SDp->attached--; |