tag | line | file | source code |
SDp | 1148 | drivers/scsi/sd.c | static int sd_detect(Scsi_Device * SDp){ |
SDp | 1149 | drivers/scsi/sd.c | if(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return 0; |
SDp | 1153 | drivers/scsi/sd.c | SDp->host->host_no , SDp->id, SDp->lun); |
SDp | 1159 | drivers/scsi/sd.c | static int sd_attach(Scsi_Device * SDp){ |
SDp | 1163 | drivers/scsi/sd.c | if(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return 0; |
SDp | 1166 | drivers/scsi/sd.c | SDp->attached--; |
SDp | 1175 | drivers/scsi/sd.c | SDp->scsi_request_fn = do_sd_request; |
SDp | 1176 | drivers/scsi/sd.c | rscsi_disks[i].device = SDp; |
SDp | 1245 | drivers/scsi/sd.c | static void sd_detach(Scsi_Device * SDp) |
SDp | 1254 | drivers/scsi/sd.c | if(dpnt->device == SDp) { |
SDp | 1273 | drivers/scsi/sd.c | SDp->attached--; |
SDp | 338 | drivers/scsi/sg.c | static int sg_detect(Scsi_Device * SDp){ |
SDp | 380 | drivers/scsi/sg.c | static int sg_attach(Scsi_Device * SDp) |
SDp | 387 | drivers/scsi/sg.c | SDp->attached--; |
SDp | 396 | drivers/scsi/sg.c | scsi_generics[i].device=SDp; |
SDp | 411 | drivers/scsi/sg.c | static void sg_detach(Scsi_Device * SDp) |
SDp | 417 | drivers/scsi/sg.c | if(gpnt->device == SDp) { |
SDp | 419 | drivers/scsi/sg.c | SDp->attached--; |
SDp | 855 | drivers/scsi/sr.c | static int sr_detect(Scsi_Device * SDp){ |
SDp | 857 | drivers/scsi/sr.c | if(SDp->type != TYPE_ROM && SDp->type != TYPE_WORM) return 0; |
SDp | 861 | drivers/scsi/sr.c | SDp->host->host_no , SDp->id, SDp->lun); |
SDp | 866 | drivers/scsi/sr.c | static int sr_attach(Scsi_Device * SDp){ |
SDp | 870 | drivers/scsi/sr.c | if(SDp->type != TYPE_ROM && SDp->type != TYPE_WORM) return 1; |
SDp | 874 | drivers/scsi/sr.c | SDp->attached--; |
SDp | 883 | drivers/scsi/sr.c | SDp->scsi_request_fn = do_sr_request; |
SDp | 884 | drivers/scsi/sr.c | scsi_CDs[i].device = SDp; |
SDp | 1042 | drivers/scsi/sr.c | static void sr_detach(Scsi_Device * SDp) |
SDp | 1050 | drivers/scsi/sr.c | if(cpnt->device == SDp) { |
SDp | 1064 | drivers/scsi/sr.c | SDp->attached--; |
SDp | 1938 | drivers/scsi/st.c | static int st_attach(Scsi_Device * SDp){ |
SDp | 1942 | drivers/scsi/st.c | if(SDp->type != TYPE_TAPE) return 1; |
SDp | 1946 | drivers/scsi/st.c | SDp->attached--; |
SDp | 1955 | drivers/scsi/st.c | scsi_tapes[i].device = SDp; |
SDp | 1956 | drivers/scsi/st.c | if (SDp->scsi_level <= 2) |
SDp | 1965 | drivers/scsi/st.c | static int st_detect(Scsi_Device * SDp) |
SDp | 1967 | drivers/scsi/st.c | if(SDp->type != TYPE_TAPE) return 0; |
SDp | 1971 | drivers/scsi/st.c | SDp->host->host_no , SDp->id, SDp->lun); |
SDp | 2052 | drivers/scsi/st.c | static void st_detach(Scsi_Device * SDp) |
SDp | 2058 | drivers/scsi/st.c | if(tpnt->device == SDp) { |
SDp | 2060 | drivers/scsi/st.c | SDp->attached--; |