tag | line | file | source code |
SDp | 1330 | drivers/scsi/sd.c | static int sd_detect(Scsi_Device * SDp){ |
SDp | 1331 | drivers/scsi/sd.c | if(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return 0; |
SDp | 1335 | drivers/scsi/sd.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
SDp | 1340 | drivers/scsi/sd.c | static int sd_attach(Scsi_Device * SDp){ |
SDp | 1344 | drivers/scsi/sd.c | if(SDp->type != TYPE_DISK && SDp->type != TYPE_MOD) return 0; |
SDp | 1347 | drivers/scsi/sd.c | SDp->attached--; |
SDp | 1356 | drivers/scsi/sd.c | SDp->scsi_request_fn = do_sd_request; |
SDp | 1357 | drivers/scsi/sd.c | rscsi_disks[i].device = SDp; |
SDp | 1432 | drivers/scsi/sd.c | static void sd_detach(Scsi_Device * SDp) |
SDp | 1440 | drivers/scsi/sd.c | if(dpnt->device == SDp) { |
SDp | 1461 | drivers/scsi/sd.c | SDp->attached--; |
SDp | 522 | drivers/scsi/sg.c | static int sg_detect(Scsi_Device * SDp){ |
SDp | 524 | drivers/scsi/sg.c | switch (SDp->type) { |
SDp | 533 | drivers/scsi/sg.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
SDp | 577 | drivers/scsi/sg.c | static int sg_attach(Scsi_Device * SDp) |
SDp | 584 | drivers/scsi/sg.c | SDp->attached--; |
SDp | 593 | drivers/scsi/sg.c | scsi_generics[i].device=SDp; |
SDp | 608 | drivers/scsi/sg.c | static void sg_detach(Scsi_Device * SDp) |
SDp | 614 | drivers/scsi/sg.c | if(gpnt->device == SDp) { |
SDp | 616 | 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 | 1112 | drivers/scsi/sr.c | static void sr_detach(Scsi_Device * SDp) |
SDp | 1118 | drivers/scsi/sr.c | if(cpnt->device == SDp) { |
SDp | 1134 | drivers/scsi/sr.c | SDp->attached--; |
SDp | 2087 | drivers/scsi/st.c | static int st_attach(Scsi_Device * SDp){ |
SDp | 2091 | drivers/scsi/st.c | if(SDp->type != TYPE_TAPE) return 1; |
SDp | 2095 | drivers/scsi/st.c | SDp->attached--; |
SDp | 2104 | drivers/scsi/st.c | scsi_tapes[i].device = SDp; |
SDp | 2105 | drivers/scsi/st.c | if (SDp->scsi_level <= 2) |
SDp | 2133 | drivers/scsi/st.c | static int st_detect(Scsi_Device * SDp) |
SDp | 2135 | drivers/scsi/st.c | if(SDp->type != TYPE_TAPE) return 0; |
SDp | 2139 | drivers/scsi/st.c | SDp->host->host_no, SDp->channel, SDp->id, SDp->lun); |
SDp | 2250 | drivers/scsi/st.c | static void st_detach(Scsi_Device * SDp) |
SDp | 2256 | drivers/scsi/st.c | if(tpnt->device == SDp) { |
SDp | 2258 | drivers/scsi/st.c | SDp->attached--; |