tag | line | file | source code |
SDp | 1212 | drivers/scsi/sd.c | static int sd_detect(Scsi_Device * SDp){ |
SDp | 1213 | drivers/scsi/sd.c | if(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return 0; |
SDp | 1217 | drivers/scsi/sd.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
SDp | 1222 | drivers/scsi/sd.c | static int sd_attach(Scsi_Device * SDp){ |
SDp | 1226 | drivers/scsi/sd.c | if(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return 0; |
SDp | 1229 | drivers/scsi/sd.c | SDp->attached--; |
SDp | 1238 | drivers/scsi/sd.c | SDp->scsi_request_fn = do_sd_request; |
SDp | 1239 | drivers/scsi/sd.c | rscsi_disks[i].device = SDp; |
SDp | 1308 | drivers/scsi/sd.c | static void sd_detach(Scsi_Device * SDp) |
SDp | 1317 | drivers/scsi/sd.c | if(dpnt->device == SDp) { |
SDp | 1337 | drivers/scsi/sd.c | SDp->attached--; |
SDp | 346 | drivers/scsi/sg.c | static int sg_detect(Scsi_Device * SDp){ |
SDp | 388 | drivers/scsi/sg.c | static int sg_attach(Scsi_Device * SDp) |
SDp | 395 | drivers/scsi/sg.c | SDp->attached--; |
SDp | 404 | drivers/scsi/sg.c | scsi_generics[i].device=SDp; |
SDp | 419 | drivers/scsi/sg.c | static void sg_detach(Scsi_Device * SDp) |
SDp | 425 | drivers/scsi/sg.c | if(gpnt->device == SDp) { |
SDp | 427 | drivers/scsi/sg.c | SDp->attached--; |
SDp | 887 | drivers/scsi/sr.c | static int sr_detect(Scsi_Device * SDp){ |
SDp | 889 | drivers/scsi/sr.c | if(SDp->type != TYPE_ROM && SDp->type != TYPE_WORM) return 0; |
SDp | 893 | drivers/scsi/sr.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
SDp | 898 | drivers/scsi/sr.c | static int sr_attach(Scsi_Device * SDp){ |
SDp | 902 | drivers/scsi/sr.c | if(SDp->type != TYPE_ROM && SDp->type != TYPE_WORM) return 1; |
SDp | 906 | drivers/scsi/sr.c | SDp->attached--; |
SDp | 915 | drivers/scsi/sr.c | SDp->scsi_request_fn = do_sr_request; |
SDp | 916 | drivers/scsi/sr.c | scsi_CDs[i].device = SDp; |
SDp | 1075 | drivers/scsi/sr.c | static void sr_detach(Scsi_Device * SDp) |
SDp | 1083 | drivers/scsi/sr.c | if(cpnt->device == SDp) { |
SDp | 1097 | drivers/scsi/sr.c | SDp->attached--; |
SDp | 1951 | drivers/scsi/st.c | static int st_attach(Scsi_Device * SDp){ |
SDp | 1955 | drivers/scsi/st.c | if(SDp->type != TYPE_TAPE) return 1; |
SDp | 1959 | drivers/scsi/st.c | SDp->attached--; |
SDp | 1968 | drivers/scsi/st.c | scsi_tapes[i].device = SDp; |
SDp | 1969 | drivers/scsi/st.c | if (SDp->scsi_level <= 2) |
SDp | 1978 | drivers/scsi/st.c | static int st_detect(Scsi_Device * SDp) |
SDp | 1980 | drivers/scsi/st.c | if(SDp->type != TYPE_TAPE) return 0; |
SDp | 1984 | drivers/scsi/st.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
SDp | 2065 | drivers/scsi/st.c | static void st_detach(Scsi_Device * SDp) |
SDp | 2071 | drivers/scsi/st.c | if(tpnt->device == SDp) { |
SDp | 2073 | drivers/scsi/st.c | SDp->attached--; |