Defined in 2 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/staging/greybus/bootrom.c gb_bootrom_firmware_size_request() -> find_firmware()

Type Parameter Key Value
PARAM_VALUE 0 bootrom 4096-ptr_max
PARAM_VALUE 0 bootrom->dwork.work.lockdep_map->name 0-255
PARAM_VALUE 0 bootrom->mutex.dep_map->name 0-255
PARAM_VALUE 0 bootrom->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 bootrom->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 bootrom->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 bootrom->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 bootrom->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 bootrom->mutex.wait_lock.owner_cpu u32max
BUF_SIZE 0 bootrom 64,176,208,272,360,504,696,976,1656,1728,1776,2360,2864-5752
BUF_SIZE 0 bootrom 64,176,208,272,360,504,696,976,1656,1728,1776,2360,2864-5752
CAPPED_DATA 0 &bootrom->mutex 1
LOCK2 0 &bootrom->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gb_bootrom)->mutex

drivers/staging/greybus/fw-download.c fw_download_find_firmware() -> find_firmware()

Type Parameter Key Value
BUF_SIZE 0 bootrom 64,176,208,272,360,504,696,976,1656,1728,1776,2360,2864-5752
BUF_SIZE 0 bootrom 64,176,208,272,360,504,696,976,1656,1728,1776,2360,2864-5752
BUF_SIZE 1 stage 10
BUF_SIZE 1 stage 10
HALF_LOCKED2 &pool->lock