Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/ssb/pcmcia.c ssb_sprom_show() -> ssb_attr_sprom_show()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 0 bus->bustype 2
PARAM_VALUE 0 bus->host_pcmcia 4096-ptr_max
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 2 sprom_read 148703423677403136
CAPPED_DATA 0 bus->host_pcmcia 1
CAPPED_DATA 1 buf 1
DATA_SOURCE 0 bus r ssb_pcmcia_dev_to_bus
DATA_SOURCE 1 buf $2
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/ssb/pci.c ssb_sprom_show() -> ssb_attr_sprom_show()

Type Parameter Key Value
PARAM_VALUE 0 bus 4096-ptr_max
PARAM_VALUE 0 bus->bustype 1
PARAM_VALUE 0 bus->host_pci 4096-ptr_max
PARAM_VALUE 1 buf 1-u64max
PARAM_VALUE 2 sprom_read 2153946043114881024
CAPPED_DATA 0 bus->host_pci 1
CAPPED_DATA 1 buf 1
DATA_SOURCE 0 bus r ssb_pci_dev_to_bus
DATA_SOURCE 1 buf $2
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex