tag | line | file | source code |
dev_max | 291 | drivers/scsi/hosts.h | unsigned char dev_max; /* Current size of arrays */ |
dev_max | 77 | drivers/scsi/sd.c | if(target >= sd_template.dev_max || !rscsi_disks[target].device) |
dev_max | 146 | drivers/scsi/sd.c | for (i = 0; i < sd_template.dev_max; ++i) |
dev_max | 149 | drivers/scsi/sd.c | sd_gendisk.nr_real = sd_template.dev_max; |
dev_max | 422 | drivers/scsi/sd.c | if (dev >= (sd_template.dev_max << 4) || |
dev_max | 761 | drivers/scsi/sd.c | if (target >= sd_template.dev_max || |
dev_max | 1012 | drivers/scsi/sd.c | sd_template.dev_max = sd_template.dev_noticed; |
dev_max | 1015 | drivers/scsi/sd.c | scsi_init_malloc(sd_template.dev_max * sizeof(Scsi_Disk)); |
dev_max | 1016 | drivers/scsi/sd.c | memset(rscsi_disks, 0, sd_template.dev_max * sizeof(Scsi_Disk)); |
dev_max | 1018 | drivers/scsi/sd.c | sd_sizes = (int *) scsi_init_malloc((sd_template.dev_max << 4) * |
dev_max | 1020 | drivers/scsi/sd.c | memset(sd_sizes, 0, (sd_template.dev_max << 4) * sizeof(int)); |
dev_max | 1022 | drivers/scsi/sd.c | sd_blocksizes = (int *) scsi_init_malloc((sd_template.dev_max << 4) * |
dev_max | 1024 | drivers/scsi/sd.c | for(i=0;i<(sd_template.dev_max << 4);i++) sd_blocksizes[i] = 1024; |
dev_max | 1027 | drivers/scsi/sd.c | sd = (struct hd_struct *) scsi_init_malloc((sd_template.dev_max << 4) * |
dev_max | 1031 | drivers/scsi/sd.c | sd_gendisk.max_nr = sd_template.dev_max; |
dev_max | 1042 | drivers/scsi/sd.c | for (i = 0; i < sd_template.dev_max; ++i) |
dev_max | 1082 | drivers/scsi/sd.c | if(sd_template.nr_dev >= sd_template.dev_max) |
dev_max | 1085 | drivers/scsi/sd.c | for(dpnt = rscsi_disks, i=0; i<sd_template.dev_max; i++, dpnt++) |
dev_max | 1088 | drivers/scsi/sd.c | if(i >= sd_template.dev_max) panic ("scsi_devices corrupt (sd)"); |
dev_max | 66 | drivers/scsi/sg.c | if ((dev<0) || (dev>=sg_template.dev_max)) |
dev_max | 84 | drivers/scsi/sg.c | if (dev>=sg_template.dev_max || !scsi_generics[dev].device) |
dev_max | 345 | drivers/scsi/sg.c | sg_template.dev_max = sg_template.dev_noticed; |
dev_max | 356 | drivers/scsi/sg.c | if(sg_template.nr_dev >= sg_template.dev_max) |
dev_max | 359 | drivers/scsi/sg.c | for(gpnt = scsi_generics, i=0; i<sg_template.dev_max; i++, gpnt++) |
dev_max | 362 | drivers/scsi/sg.c | if(i >= sg_template.dev_max) panic ("scsi_devices corrupt (sg)"); |
dev_max | 672 | drivers/scsi/sr.c | if (sr_template.nr_dev >= sr_template.dev_max) |
dev_max | 675 | drivers/scsi/sr.c | for(cpnt = scsi_CDs, i=0; i<sr_template.dev_max; i++, cpnt++) |
dev_max | 678 | drivers/scsi/sr.c | if(i >= sr_template.dev_max) panic ("scsi_devices corrupt (sr)"); |
dev_max | 683 | drivers/scsi/sr.c | if(sr_template.nr_dev > sr_template.dev_max) |
dev_max | 782 | drivers/scsi/sr.c | sr_template.dev_max = sr_template.dev_noticed; |
dev_max | 783 | drivers/scsi/sr.c | scsi_CDs = (Scsi_CD *) scsi_init_malloc(sr_template.dev_max * sizeof(Scsi_CD)); |
dev_max | 784 | drivers/scsi/sr.c | memset(scsi_CDs, 0, sr_template.dev_max * sizeof(Scsi_CD)); |
dev_max | 786 | drivers/scsi/sr.c | sr_sizes = (int *) scsi_init_malloc(sr_template.dev_max * sizeof(int)); |
dev_max | 787 | drivers/scsi/sr.c | memset(sr_sizes, 0, sr_template.dev_max * sizeof(int)); |
dev_max | 789 | drivers/scsi/sr.c | sr_blocksizes = (int *) scsi_init_malloc(sr_template.dev_max * |
dev_max | 791 | drivers/scsi/sr.c | for(i=0;i<sr_template.dev_max;i++) sr_blocksizes[i] = 2048; |
dev_max | 392 | drivers/scsi/st.c | if (dev >= st_template.dev_max || !scsi_tapes[dev].device) |
dev_max | 1696 | drivers/scsi/st.c | if(st_template.nr_dev >= st_template.dev_max) |
dev_max | 1699 | drivers/scsi/st.c | for(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) |
dev_max | 1702 | drivers/scsi/st.c | if(i >= st_template.dev_max) panic ("scsi_devices corrupt (st)"); |
dev_max | 1744 | drivers/scsi/st.c | st_template.dev_max = st_template.dev_noticed; |