taglinefilesource code
st_template394drivers/scsi/hosts.cscsi_register_device(&st_template);
st_template373drivers/scsi/hosts.hextern struct Scsi_Device_Template st_template;
st_template87drivers/scsi/st.cstruct Scsi_Device_Template st_template = {NULL, "tape", "st", NULL, TYPE_TAPE, 
st_template164drivers/scsi/st.cif ((st_nbr = SCpnt->request.dev) < st_template.nr_dev && st_nbr >= 0) {
st_template433drivers/scsi/st.cif (dev >= st_template.dev_max || !scsi_tapes[dev].device)
st_template531drivers/scsi/st.cif(st_template.usage_count) (*st_template.usage_count)++;
st_template659drivers/scsi/st.cif(st_template.usage_count) (*st_template.usage_count)++;
st_template753drivers/scsi/st.cif(st_template.usage_count) (*st_template.usage_count)--;
st_template2030drivers/scsi/st.cif(st_template.nr_dev >= st_template.dev_max) 
st_template2036drivers/scsi/st.cfor(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) 
st_template2039drivers/scsi/st.cif(i >= st_template.dev_max) panic ("scsi_devices corrupt (st)");
st_template2065drivers/scsi/st.cst_template.nr_dev++;
st_template2074drivers/scsi/st.cst_template.dev_noticed++,
st_template2088drivers/scsi/st.cif (st_template.dev_noticed == 0) return 0;
st_template2100drivers/scsi/st.c(st_template.dev_noticed + ST_EXTRA_DEVS) * 
st_template2107drivers/scsi/st.cst_template.dev_max = st_template.dev_noticed + ST_EXTRA_DEVS;
st_template2114drivers/scsi/st.cfor (i=0; i < st_template.dev_max; ++i) {
st_template2141drivers/scsi/st.cst_nbr_buffers = st_template.dev_noticed;
st_template2154drivers/scsi/st.c(st_template.dev_noticed + ST_EXTRA_DEVS) 
st_template2173drivers/scsi/st.c(st_template.dev_noticed + ST_EXTRA_DEVS) 
st_template2199drivers/scsi/st.cfor(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) 
st_template2203drivers/scsi/st.cst_template.nr_dev--;
st_template2204drivers/scsi/st.cst_template.dev_noticed--;
st_template2215drivers/scsi/st.cst_template.usage_count = &mod_use_count_;
st_template2216drivers/scsi/st.creturn scsi_register_module(MODULE_SCSI_DEV, &st_template);
st_template2227drivers/scsi/st.cscsi_unregister_module(MODULE_SCSI_DEV, &st_template);
st_template2232drivers/scsi/st.c(st_template.dev_noticed + ST_EXTRA_DEVS) 
st_template2246drivers/scsi/st.cst_template.dev_max = 0;