Defined in 1 files as a prototype:

Defined in 2 files as a member:

Defined in 4 files as a function:

Referenced in 38 files:

Smatch caller information:

drivers/base/core.c dev_attr_show() -> (struct device_attribute)->show()

Type Parameter Key Value
PARAM_VALUE 1 host 4096-ptr_max
PARAM_VALUE 1 host->show 1-u64max
PARAM_VALUE 2 buf 1-u64max
CAPPED_DATA 2 buf 1
DATA_SOURCE 2 buf $2
CONTAINER 1 -40+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/scsi/scsi_proc.c proc_scsi_show() -> (struct scsi_host_template)->show_info()

Type Parameter Key Value
PARAM_VALUE 0 m 4096-ptr_max
PARAM_VALUE 0 m->buf 1-u64max
PARAM_VALUE 0 m->count 0-999999999
PARAM_VALUE 0 m->from 0
PARAM_VALUE 0 m->lock.dep_map->name 0-255
PARAM_VALUE 0 m->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 m->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 m->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 m->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 m->lock.wait_lock.owner (-1)
PARAM_VALUE 0 m->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 m->op 4096-ptr_max
PARAM_VALUE 0 m->private 4096-ptr_max
PARAM_VALUE 1 host 4096-ptr_max
PARAM_VALUE 1 host->hostt 4096-ptr_max
BUF_SIZE 0 m s32min-(-2),1-s32max
BUF_SIZE 0 m s32min-(-2),1-s32max
BUF_SIZE 0 m->buf (-1)-2147479552
BUF_SIZE 1 host s32min-(-2),1-s32max
BUF_SIZE 1 host s32min-(-2),1-s32max
CAPPED_DATA 0 m->count 1
DATA_SOURCE 0 m $0
CONTAINER 1 -232-416+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 m->read_pos 0-13442450941
LOCK2 0 &m->lock
TYPE_LOCK (struct seq_file)->lock