Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/scsi/st.c check_tape() -> set_mode_densblk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | STp | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->blksize_changed | 0 |
| PARAM_VALUE | 0 | STp->buffer | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.deferred | 0-1 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.fixed_format | 0-1 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.flags | 0-224 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.have_sense | 0-1 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.remainder_valid | 0-1 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.uremainder64 | 0-255 |
| PARAM_VALUE | 0 | STp->compression_changed | 0 |
| PARAM_VALUE | 0 | STp->current_mode | 0-3 |
| PARAM_VALUE | 0 | STp->density_changed | 0 |
| PARAM_VALUE | 0 | STp->device | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->device->host | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->device->host->shost_state | 0-4,8-u32max |
| PARAM_VALUE | 0 | STp->device->request_queue | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | STp->device->sdev_gendev.power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | STp->device->sdev_state | 0-3,5,8-u32max |
| PARAM_VALUE | 0 | STp->drv_write_prot | 0-1 |
| PARAM_VALUE | 0 | STp->first_tur | 0 |
| PARAM_VALUE | 0 | STp->inited | 1 |
| PARAM_VALUE | 0 | STp->max_block | (-1)-16777215 |
| PARAM_VALUE | 0 | STp->min_block | (-1)-u16max |
| PARAM_VALUE | 0 | STp->modes | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->ps | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->ready | 0 |
| PARAM_VALUE | 0 | STp->wait.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | STp->wait.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | STp->wait.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | STp->wait.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->wait.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->wait.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->wait.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 1 | STm | 4096-ptr_max |
| PARAM_VALUE | 1 | STm->defaults_for_writes | 0 |
| BUF_SIZE | 0 | STp | s32min-(-1),1-s32max |
| BUF_SIZE | 0 | STp | s32min-(-1),1-s32max |
| CAPPED_DATA | 0 | STp->current_mode | 1 |
| DATA_SOURCE | 0 | STp | $0 |
| FUZZY_MAX | 0 | STp->drv_write_prot | 1 |
| HARD_MAX | 0 | STp->drv_write_prot | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 0 | STp->buffer->map_data.offset | 0-4095[c] |
| USER_DATA | 0 | STp->write_prot | 0-1 |
| NO_OVERFLOW_SIMPLE | 0 | STp->buffer->buffer_size | |
| HALF_LOCKED2 | 0 | &STp->lock |
drivers/scsi/st.c st_set_options() -> set_mode_densblk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | STp | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->blksize_changed | 0 |
| PARAM_VALUE | 0 | STp->modes | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->ready | 0 |
| PARAM_VALUE | 1 | STm | 4096-ptr_max |
| PARAM_VALUE | 1 | STm->default_blksize | 0-268435454 |
| DATA_SOURCE | 0 | STp | $0 |
| NOCHECK_CALL |
drivers/scsi/st.c st_set_options() -> set_mode_densblk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | STp | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->density_changed | 0 |
| PARAM_VALUE | 0 | STp->modes | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->ready | 0 |
| PARAM_VALUE | 1 | STm | 4096-ptr_max |
| PARAM_VALUE | 1 | STm->default_density | 0-254 |
| DATA_SOURCE | 0 | STp | $0 |
| NOCHECK_CALL |
drivers/scsi/st.c st_write() -> set_mode_densblk()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | STp | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.deferred | 0-1 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.fixed_format | 0-1 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.flags | 0-224 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.have_sense | 0-1 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.remainder_valid | 0-1 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.sense_hdr.additional_length | 0 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.sense_hdr.asc | 0 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.sense_hdr.ascq | 0 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.sense_hdr.byte4 | 0 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.sense_hdr.byte5 | 0 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.sense_hdr.byte6 | 0 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.sense_hdr.response_code | 0-127 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.sense_hdr.sense_key | 0-15 |
| PARAM_VALUE | 0 | STp->buffer->cmdstat.uremainder64 | 0-255 |
| PARAM_VALUE | 0 | STp->buffer->map_data.offset | 0 |
| PARAM_VALUE | 0 | STp->buffer->syscall_result | (-16),(-5)-(-4),0 |
| PARAM_VALUE | 0 | STp->device | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->device->changed | 1 |
| PARAM_VALUE | 0 | STp->device->host->shost_state | 0-4,8-u32max |
| PARAM_VALUE | 0 | STp->device->lockable | 0 |
| PARAM_VALUE | 0 | STp->device->request_queue->dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | STp->door_locked | 2-3 |
| PARAM_VALUE | 0 | STp->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | STp->lock.first_waiter | 0,4096-5159360019465732095,5159360019465732097-ptr_max |
| PARAM_VALUE | 0 | STp->lock.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | STp->lock.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | STp->lock.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | STp->lock.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | STp->lock.wait_lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | STp->modes | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->partition | 0-3 |
| PARAM_VALUE | 0 | STp->ps | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->ready | 0 |
| PARAM_VALUE | 0 | STp->wait.done | 0-4294967293,u32max |
| PARAM_VALUE | 0 | STp->wait.wait.lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | STp->wait.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | STp->wait.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | STp->wait.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | STp->wait.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->wait.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->wait.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->wait.wait.task_list.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->wait.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | STp->write_prot | 0 |
| BUF_SIZE | 0 | STp | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | STp | s32min-(-2),1-s32max |
| CAPPED_DATA | 0 | STp->partition | 1 |
| CAPPED_DATA | 0 | &STp->lock | 1 |
| LOCK2 | 0 | &STp->lock | |
| TYPE_LOCK | (struct scsi_tape)->lock |