taglinefilesource code
sg_template397drivers/scsi/hosts.cscsi_register_device(&sg_template);
sg_template375drivers/scsi/hosts.hextern struct Scsi_Device_Template sg_template;
sg_template40drivers/scsi/sg.cstruct Scsi_Device_Template sg_template = {NULL, NULL, "sg", NULL, 0xff, 
sg_template75drivers/scsi/sg.cif ((dev<0) || (dev>=sg_template.dev_max))
sg_template96drivers/scsi/sg.cif (dev>=sg_template.dev_max || !scsi_generics[dev].device)
sg_template149drivers/scsi/sg.cif(sg_template.usage_count) (*sg_template.usage_count)++;
sg_template160drivers/scsi/sg.cif(sg_template.usage_count) (*sg_template.usage_count)--;
sg_template505drivers/scsi/sg.c++sg_template.dev_noticed;
sg_template514drivers/scsi/sg.cif (sg_template.dev_noticed == 0) return 0;
sg_template538drivers/scsi/sg.cscsi_init_malloc((sg_template.dev_noticed + SG_EXTRA_DEVS) 
sg_template540drivers/scsi/sg.cmemset(scsi_generics, 0, (sg_template.dev_noticed + SG_EXTRA_DEVS)
sg_template543drivers/scsi/sg.csg_template.dev_max = sg_template.dev_noticed + SG_EXTRA_DEVS;
sg_template552drivers/scsi/sg.cif(sg_template.nr_dev >= sg_template.dev_max) 
sg_template558drivers/scsi/sg.cfor(gpnt = scsi_generics, i=0; i<sg_template.dev_max; i++, gpnt++) 
sg_template561drivers/scsi/sg.cif(i >= sg_template.dev_max) panic ("scsi_devices corrupt (sg)");
sg_template572drivers/scsi/sg.csg_template.nr_dev++;
sg_template583drivers/scsi/sg.cfor(gpnt = scsi_generics, i=0; i<sg_template.dev_max; i++, gpnt++) 
sg_template587drivers/scsi/sg.csg_template.nr_dev--;
sg_template597drivers/scsi/sg.csg_template.usage_count = &mod_use_count_;
sg_template598drivers/scsi/sg.creturn scsi_register_module(MODULE_SCSI_DEV, &sg_template);
sg_template607drivers/scsi/sg.cscsi_unregister_module(MODULE_SCSI_DEV, &sg_template);
sg_template612drivers/scsi/sg.c(sg_template.dev_noticed + SG_EXTRA_DEVS) 
sg_template615drivers/scsi/sg.csg_template.dev_max = 0;