Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/scsi/st.c do_load_unload() -> check_tape()

Type Parameter Key Value
PARAM_VALUE 0 STp 4096-ptr_max
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,32-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 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.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
DATA_SOURCE 0 STp $0
DATA_SOURCE 1 filp $1

drivers/scsi/st.c st_open() -> check_tape()

Type Parameter Key Value
PARAM_VALUE 0 STp 4096-ptr_max
PARAM_VALUE 0 STp->autorew_dev 0-1
PARAM_VALUE 0 STp->buffer 4096-ptr_max
PARAM_VALUE 0 STp->device 4096-ptr_max
PARAM_VALUE 0 STp->device->host 4096-ptr_max
PARAM_VALUE 0 STp->device->host->hostt->module->refcnt.counter 0-s32max
PARAM_VALUE 0 STp->device->host->hostt->module->state 0-1,3-u32max
PARAM_VALUE 0 STp->device->host->shost_state 0-4,8-u32max
PARAM_VALUE 0 STp->device->sdev_gendev.bus 0,4096-ptr_max
PARAM_VALUE 0 STp->device->sdev_gendev.power.request 0-4
PARAM_VALUE 0 STp->device->sdev_gendev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 STp->device->sdev_gendev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 STp->device->sdev_gendev.type 0,4096-ptr_max
PARAM_VALUE 0 STp->device->sdev_state 0-2,5,8-u32max
PARAM_VALUE 0 STp->dirty 0
PARAM_VALUE 0 STp->in_use 1
PARAM_VALUE 0 STp->nbr_dio 0
PARAM_VALUE 0 STp->nbr_finished 0
PARAM_VALUE 0 STp->nbr_pages 0
PARAM_VALUE 0 STp->nbr_requests 0
PARAM_VALUE 0 STp->nbr_waits 0
PARAM_VALUE 0 STp->ps 4096-ptr_max
PARAM_VALUE 0 STp->recover_count 0
PARAM_VALUE 0 STp->rew_at_close 0-1
PARAM_VALUE 0 STp->write_prot 0-1
PARAM_VALUE 1 filp 4096-ptr_max
PARAM_VALUE 1 filp->f_path.dentry->d_sb->s_cop->empty_dir 0,86,661756434209751040,4392966320616476672,5234023279986843648,8614756098313990144
PARAM_VALUE 1 filp->f_path.dentry->d_sb->s_cop->get_context 0,706,17350455714160640,4513809449498124288,5149251875611672576,7067778626864828416
PARAM_VALUE 1 filp->f_path.dentry->d_sb->s_cop->set_context 0,67,317457138841939968,3250154607523569664,5979066299606671360,6756104566897242112
PARAM_VALUE 1 filp->private_data 4096-ptr_max
BUF_SIZE 1 filp (-1)-s32max
BUF_SIZE 1 filp (-1)-s32max
BUF_SIZE 1 filp->__f_path.dentry (-1),1-s32max
DATA_SOURCE 0 STp r scsi_tape_get
DATA_SOURCE 1 filp $1
FUZZY_MAX 0 STp->autorew_dev 1
FUZZY_MAX 0 STp->write_prot 1
BIT_INFO 1 filp->f_mode 0x0,0xffffffe7
HARD_MAX 0 STp->autorew_dev 1
HARD_MAX 0 STp->write_prot 1
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 STp->write_prot 0-1
USER_DATA 1 filp->__f_path.dentry->__d_name.hash 0-u32max[c]
USER_DATA 1 filp->f_flags 0-u32max
USER_DATA 1 filp->f_mode 0,4-u32max[c]
NO_OVERFLOW_SIMPLE 0 STp->buffer->buffer_size
NO_OVERFLOW_SIMPLE 1 filp->f_inode->i_blkbits
NO_OVERFLOW_SIMPLE 1 filp->f_inode->i_size
NO_OVERFLOW_SIMPLE 1 filp->f_path.d_inode->i_size
NO_OVERFLOW_SIMPLE 1 filp->f_path.dentry->d_inode->i_blkbits
NO_OVERFLOW_SIMPLE 1 filp->f_path.dentry->d_inode->i_size
NO_OVERFLOW_SIMPLE 1 filp->f_path.moved->d_inode->i_size
USER_PTR 1 filp->__f_path.dentry->__d_name.name