Defined in 19 files as a prototype:

Defined in 111 files as a member:

Defined in 1 files as a macro:

Defined in 4 files as a function:

Defined in 1 files as a enumerator:

Referenced in 552 files:

Smatch caller information:

fs/sysfs/file.c sysfs_kf_read() -> (struct sysfs_ops)->show()

Type Parameter Key Value
PARAM_VALUE 2 buf 1-u64max
BUF_SIZE 0 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 0 kobj 40,136,480,696,928,1128,1160,1392,1624,1848,8192
BUF_SIZE 1 attr 40,136,480,696,928,1128,1160,1392,1624,1848,8192
CAPPED_DATA 2 buf 1
DATA_SOURCE 0 kobj r sysfs_file_kobj
DATA_SOURCE 2 buf $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

0 sysfs_kf_seq_show() -> (struct sysfs_ops)->show()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 2 buf 4096-ptr_max
BUF_SIZE 2 buf 4096

kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->show()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->buf 1-u64max
PARAM_VALUE 0 kobj->count 0
PARAM_VALUE 0 kobj->from 0
PARAM_VALUE 0 kobj->lock.dep_map->name 0-255
PARAM_VALUE 0 kobj->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 kobj->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 kobj->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 kobj->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 kobj->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 kobj->lock.wait_lock.owner (-1)
PARAM_VALUE 0 kobj->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 kobj->op 4096-ptr_max
PARAM_VALUE 1 attr 1-ptr_max
BUF_SIZE 0 kobj s32min-(-2),1-s32max
BUF_SIZE 0 kobj s32min-(-2),1-s32max
BUF_SIZE 0 kobj->buf 32768,u64max
CAPPED_DATA 0 &kobj->lock 1
CONTAINER 0 -24-208+0 $(-1)
LOCK2 0 &kobj->lock
TYPE_LOCK (struct seq_file)->lock

kernel/bpf/bpf_iter.c bpf_seq_read() -> (struct seq_operations)->show()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->buf 1-u64max
PARAM_VALUE 0 kobj->count 0
PARAM_VALUE 0 kobj->from 0
PARAM_VALUE 0 kobj->lock.dep_map->name 0-255
PARAM_VALUE 0 kobj->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 kobj->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 kobj->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 kobj->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 kobj->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 kobj->lock.wait_lock.owner (-1)
PARAM_VALUE 0 kobj->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 kobj->op 4096-ptr_max
PARAM_VALUE 1 attr 1-ptr_max
BUF_SIZE 0 kobj s32min-(-2),1-s32max
BUF_SIZE 0 kobj s32min-(-2),1-s32max
BUF_SIZE 0 kobj->buf 32768,u64max
CAPPED_DATA 0 &kobj->lock 1
CONTAINER 0 -24-208+0 $(-1)
PARAM_COMPARE 0 kobj->count <= $0->size
LOCK2 0 &kobj->lock
TYPE_LOCK (struct seq_file)->lock

fs/seq_file.c seq_read_iter() -> (struct seq_operations)->show()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->buf 1-u64max
PARAM_VALUE 0 kobj->count 0
PARAM_VALUE 0 kobj->from 0
PARAM_VALUE 0 kobj->lock.dep_map->name 0-255
PARAM_VALUE 0 kobj->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 kobj->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 kobj->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 kobj->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 kobj->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 kobj->lock.wait_lock.owner (-1)
PARAM_VALUE 0 kobj->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 kobj->op 4096-ptr_max
PARAM_VALUE 1 attr 1-ptr_max
BUF_SIZE 0 kobj s32min-(-2),1-s32max
BUF_SIZE 0 kobj s32min-(-2),1-s32max
BUF_SIZE 0 kobj->buf (-1)-2147479552
CAPPED_DATA 0 &kobj->lock 1
CONTAINER 0 -24-208+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 kobj->read_pos 0-13442450941[c]
LOCK2 0 &kobj->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct seq_file)->lock

fs/seq_file.c seq_read_iter() -> (struct seq_operations)->show()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->buf 1-u64max
PARAM_VALUE 0 kobj->count 0-999999999
PARAM_VALUE 0 kobj->from 0
PARAM_VALUE 0 kobj->lock.dep_map->name 0-255
PARAM_VALUE 0 kobj->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 kobj->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 kobj->lock.first_waiter->task->blocked_on 0
PARAM_VALUE 0 kobj->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 kobj->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 kobj->lock.wait_lock.owner (-1)
PARAM_VALUE 0 kobj->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 kobj->op 4096-ptr_max
PARAM_VALUE 1 attr 1-ptr_max
BUF_SIZE 0 kobj s32min-(-2),1-s32max
BUF_SIZE 0 kobj s32min-(-2),1-s32max
BUF_SIZE 0 kobj->buf (-1)-2147479552
CAPPED_DATA 0 kobj->count 1
CAPPED_DATA 0 &kobj->lock 1
CONTAINER 0 -24-208+0 $(-1)
PARAM_COMPARE 0 kobj->count != $0->size
RX_PATH
TASK_NOT_RUNNING
USER_DATA 0 kobj->read_pos 0-13442450941[c]
LOCK2 0 &kobj->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct seq_file)->lock

fs/seq_file.c traverse() -> (struct seq_operations)->show()

Type Parameter Key Value
PARAM_VALUE 0 kobj 4096-ptr_max
PARAM_VALUE 0 kobj->buf 1-u64max
PARAM_VALUE 0 kobj->count 0
PARAM_VALUE 0 kobj->from 0
PARAM_VALUE 0 kobj->index 0
PARAM_VALUE 0 kobj->lock.dep_map->name 0-255
PARAM_VALUE 0 kobj->lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 kobj->lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 kobj->lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 kobj->lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 kobj->lock.wait_lock.owner (-1)
PARAM_VALUE 0 kobj->lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 kobj->op 4096-ptr_max
PARAM_VALUE 1 attr 1-ptr_max
BUF_SIZE 0 kobj s32min-(-2),1-s32max
BUF_SIZE 0 kobj s32min-(-2),1-s32max
BUF_SIZE 0 kobj->buf (-1)-2147479552
DATA_SOURCE 0 kobj $0
CONTAINER 0 -24-208+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &kobj->lock
TYPE_LOCK (struct seq_file)->lock

Smatch assignments to (struct driver_attribute)->show:

drivers/video/fbdev/uvesafb.c (null)() -> (struct driver_attribute)->show [7526014625764933632]

drivers/scsi/scsi_debug.c (null)() -> (struct driver_attribute)->show [4096-ptr_max]

drivers/input/gameport/gameport.c (null)() -> (struct driver_attribute)->show [9134176773692710912]

drivers/dax/bus.c (null)() -> (struct driver_attribute)->show [0]

drivers/input/serio/serio.c (null)() -> (struct driver_attribute)->show [6633279747130224640,7673817113792913408]

drivers/usb/core/driver.c (null)() -> (struct driver_attribute)->show [463986476061634560,8835291024631128064]

drivers/hv/vmbus_drv.c (null)() -> (struct driver_attribute)->show [0]

drivers/pcmcia/ds.c (null)() -> (struct driver_attribute)->show [0]

drivers/platform/x86/lenovo/thinkpad_acpi.c (null)() -> (struct driver_attribute)->show [703068999875170304,2586335052103569408,5316063704693948416,5886853507528798208,7489794543153647616,7884181445409492992,8734378575713169408,9026811351847063552]

drivers/net/wireless/intel/ipw2x00/ipw2100.c (null)() -> (struct driver_attribute)->show [928680668164575232]

drivers/dma/idxd/compat.c (null)() -> (struct driver_attribute)->show [0]

drivers/xen/xen-pciback/pci_stub.c (null)() -> (struct driver_attribute)->show [0,4326798978858467328,4346737145720516608,4424266298203336704,7503558422216224768,8321794825296146432]

drivers/crypto/intel/iaa/iaa_crypto_main.c (null)() -> (struct driver_attribute)->show [4926103964361269248,7545605301618774016]

drivers/most/core.c (null)() -> (struct driver_attribute)->show [4050990190051532800,5357682618349367296]

drivers/base/bus.c (null)() -> (struct driver_attribute)->show [0]

drivers/fpga/altera-cvp.c (null)() -> (struct driver_attribute)->show [1882948533031137280]

drivers/usb/serial/bus.c (null)() -> (struct driver_attribute)->show [4625107982634860544]

drivers/hid/hid-core.c (null)() -> (struct driver_attribute)->show [0]

drivers/usb/usbip/stub_main.c (null)() -> (struct driver_attribute)->show [0,5320882395119345664]

drivers/gpio/gpio-aggregator.c (null)() -> (struct driver_attribute)->show [0]

drivers/scsi/megaraid/megaraid_sas_base.c (null)() -> (struct driver_attribute)->show [21401695855628288,2676564210738036736,3891592636885233664,4338184127215370240,4861424391457165312,8457607960873426944,8596236879192571904]

drivers/pci/pci-driver.c (null)() -> (struct driver_attribute)->show [0]

drivers/scsi/st.c (null)() -> (struct driver_attribute)->show [748284075153907712,1538623312129294336,2950974848237596672,3965504114351153152,8739576678745366528]

drivers/net/wireless/intel/ipw2x00/ipw2200.c (null)() -> (struct driver_attribute)->show [2772687020347199488]

drivers/scsi/aic94xx/aic94xx_init.c (null)() -> (struct driver_attribute)->show [1088677007545655296]

drivers/scsi/mpi3mr/mpi3mr_os.c (null)() -> (struct driver_attribute)->show [8038951670305951744]