tag | line | file | source code |
st_template | 394 | drivers/scsi/hosts.c | scsi_register_device(&st_template); |
st_template | 373 | drivers/scsi/hosts.h | extern struct Scsi_Device_Template st_template; |
st_template | 87 | drivers/scsi/st.c | struct Scsi_Device_Template st_template = {NULL, "tape", "st", NULL, TYPE_TAPE, |
st_template | 164 | drivers/scsi/st.c | if ((st_nbr = SCpnt->request.dev) < st_template.nr_dev && st_nbr >= 0) { |
st_template | 433 | drivers/scsi/st.c | if (dev >= st_template.dev_max || !scsi_tapes[dev].device) |
st_template | 531 | drivers/scsi/st.c | if(st_template.usage_count) (*st_template.usage_count)++; |
st_template | 659 | drivers/scsi/st.c | if(st_template.usage_count) (*st_template.usage_count)++; |
st_template | 753 | drivers/scsi/st.c | if(st_template.usage_count) (*st_template.usage_count)--; |
st_template | 2030 | drivers/scsi/st.c | if(st_template.nr_dev >= st_template.dev_max) |
st_template | 2036 | drivers/scsi/st.c | for(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) |
st_template | 2039 | drivers/scsi/st.c | if(i >= st_template.dev_max) panic ("scsi_devices corrupt (st)"); |
st_template | 2065 | drivers/scsi/st.c | st_template.nr_dev++; |
st_template | 2074 | drivers/scsi/st.c | st_template.dev_noticed++, |
st_template | 2088 | drivers/scsi/st.c | if (st_template.dev_noticed == 0) return 0; |
st_template | 2100 | drivers/scsi/st.c | (st_template.dev_noticed + ST_EXTRA_DEVS) * |
st_template | 2107 | drivers/scsi/st.c | st_template.dev_max = st_template.dev_noticed + ST_EXTRA_DEVS; |
st_template | 2114 | drivers/scsi/st.c | for (i=0; i < st_template.dev_max; ++i) { |
st_template | 2141 | drivers/scsi/st.c | st_nbr_buffers = st_template.dev_noticed; |
st_template | 2154 | drivers/scsi/st.c | (st_template.dev_noticed + ST_EXTRA_DEVS) |
st_template | 2173 | drivers/scsi/st.c | (st_template.dev_noticed + ST_EXTRA_DEVS) |
st_template | 2199 | drivers/scsi/st.c | for(tpnt = scsi_tapes, i=0; i<st_template.dev_max; i++, tpnt++) |
st_template | 2203 | drivers/scsi/st.c | st_template.nr_dev--; |
st_template | 2204 | drivers/scsi/st.c | st_template.dev_noticed--; |
st_template | 2215 | drivers/scsi/st.c | st_template.usage_count = &mod_use_count_; |
st_template | 2216 | drivers/scsi/st.c | return scsi_register_module(MODULE_SCSI_DEV, &st_template); |
st_template | 2227 | drivers/scsi/st.c | scsi_unregister_module(MODULE_SCSI_DEV, &st_template); |
st_template | 2232 | drivers/scsi/st.c | (st_template.dev_noticed + ST_EXTRA_DEVS) |
st_template | 2246 | drivers/scsi/st.c | st_template.dev_max = 0; |