tag | line | file | source code |
st_template | 393 | drivers/scsi/hosts.c | scsi_register_device(&st_template); |
st_template | 356 | drivers/scsi/hosts.h | extern struct Scsi_Device_Template st_template; |
st_template | 102 | drivers/scsi/st.c | struct Scsi_Device_Template st_template = {NULL, "tape", "st", NULL, TYPE_TAPE, |
st_template | 179 | drivers/scsi/st.c | if ((st_nbr = SCpnt->request.dev) < st_template.nr_dev && st_nbr >= 0) { |
st_template | 432 | drivers/scsi/st.c | if (dev >= st_template.dev_max || !scsi_tapes[dev].device) |
st_template | 658 | drivers/scsi/st.c | if(st_template.usage_count) (*st_template.usage_count)++; |
st_template | 748 | drivers/scsi/st.c | if(st_template.usage_count) (*st_template.usage_count)--; |
st_template | 1957 | drivers/scsi/st.c | if(st_template.nr_dev >= st_template.dev_max) |
st_template | 1963 | drivers/scsi/st.c | for(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) |
st_template | 1966 | drivers/scsi/st.c | if(i >= st_template.dev_max) panic ("scsi_devices corrupt (st)"); |
st_template | 1974 | drivers/scsi/st.c | st_template.nr_dev++; |
st_template | 1983 | drivers/scsi/st.c | st_template.dev_noticed++, |
st_template | 1996 | drivers/scsi/st.c | if (st_template.dev_noticed == 0) return; |
st_template | 2008 | drivers/scsi/st.c | (st_template.dev_noticed + ST_EXTRA_DEVS) * |
st_template | 2010 | drivers/scsi/st.c | st_template.dev_max = st_template.dev_noticed + ST_EXTRA_DEVS; |
st_template | 2017 | drivers/scsi/st.c | for (i=0; i < st_template.dev_max; ++i) { |
st_template | 2043 | drivers/scsi/st.c | st_nbr_buffers = st_template.dev_noticed + ST_EXTRA_DEVS; |
st_template | 2070 | drivers/scsi/st.c | for(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) |
st_template | 2074 | drivers/scsi/st.c | st_template.nr_dev--; |
st_template | 2075 | drivers/scsi/st.c | st_template.dev_noticed--; |
st_template | 2086 | drivers/scsi/st.c | st_template.usage_count = &mod_use_count_; |
st_template | 2087 | drivers/scsi/st.c | return scsi_register_module(MODULE_SCSI_DEV, &st_template); |
st_template | 2098 | drivers/scsi/st.c | scsi_unregister_module(MODULE_SCSI_DEV, &st_template); |
st_template | 2102 | drivers/scsi/st.c | (st_template.dev_noticed + ST_EXTRA_DEVS) |
st_template | 2112 | drivers/scsi/st.c | st_template.dev_max = 0; |