taglinefilesource code
st_template393drivers/scsi/hosts.cscsi_register_device(&st_template);
st_template356drivers/scsi/hosts.hextern struct Scsi_Device_Template st_template;
st_template102drivers/scsi/st.cstruct Scsi_Device_Template st_template = {NULL, "tape", "st", NULL, TYPE_TAPE, 
st_template179drivers/scsi/st.cif ((st_nbr = SCpnt->request.dev) < st_template.nr_dev && st_nbr >= 0) {
st_template432drivers/scsi/st.cif (dev >= st_template.dev_max || !scsi_tapes[dev].device)
st_template658drivers/scsi/st.cif(st_template.usage_count) (*st_template.usage_count)++;
st_template748drivers/scsi/st.cif(st_template.usage_count) (*st_template.usage_count)--;
st_template1957drivers/scsi/st.cif(st_template.nr_dev >= st_template.dev_max) 
st_template1963drivers/scsi/st.cfor(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) 
st_template1966drivers/scsi/st.cif(i >= st_template.dev_max) panic ("scsi_devices corrupt (st)");
st_template1974drivers/scsi/st.cst_template.nr_dev++;
st_template1983drivers/scsi/st.cst_template.dev_noticed++,
st_template1996drivers/scsi/st.cif (st_template.dev_noticed == 0) return;
st_template2008drivers/scsi/st.c(st_template.dev_noticed + ST_EXTRA_DEVS) * 
st_template2010drivers/scsi/st.cst_template.dev_max = st_template.dev_noticed + ST_EXTRA_DEVS;
st_template2017drivers/scsi/st.cfor (i=0; i < st_template.dev_max; ++i) {
st_template2043drivers/scsi/st.cst_nbr_buffers = st_template.dev_noticed + ST_EXTRA_DEVS;
st_template2070drivers/scsi/st.cfor(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) 
st_template2074drivers/scsi/st.cst_template.nr_dev--;
st_template2075drivers/scsi/st.cst_template.dev_noticed--;
st_template2086drivers/scsi/st.cst_template.usage_count = &mod_use_count_;
st_template2087drivers/scsi/st.creturn scsi_register_module(MODULE_SCSI_DEV, &st_template);
st_template2098drivers/scsi/st.cscsi_unregister_module(MODULE_SCSI_DEV, &st_template);
st_template2102drivers/scsi/st.c(st_template.dev_noticed + ST_EXTRA_DEVS) 
st_template2112drivers/scsi/st.cst_template.dev_max = 0;