Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/greybus/module.c gb_module_register_interface() -> gb_interface_add()

Type Parameter Key Value
PARAM_VALUE 0 intf 4096-ptr_max
PARAM_VALUE 0 intf->dme_read 1
PARAM_VALUE 0 intf->mutex.dep_map->name 0-255
PARAM_VALUE 0 intf->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 intf->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 intf->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 intf->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 intf->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 intf->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 intf->quirks 0,2-u64max
PARAM_VALUE 0 intf->type 1-u32max
CAPPED_DATA 0 &intf->mutex 1
DATA_SOURCE 0 intf $0
NOCHECK_CALL
LOCK2 0 &intf->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gb_interface)->mutex

drivers/greybus/module.c gb_module_register_interface() -> gb_interface_add()

Type Parameter Key Value
PARAM_VALUE 0 intf 4096-ptr_max
PARAM_VALUE 0 intf->active 1
PARAM_VALUE 0 intf->ddbl1_manufacturer_id 294
PARAM_VALUE 0 intf->dme_read 1
PARAM_VALUE 0 intf->ejected 0
PARAM_VALUE 0 intf->mutex.dep_map->name 0-255
PARAM_VALUE 0 intf->mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 intf->mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 intf->mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 intf->mutex.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 intf->mutex.wait_lock.owner (-1)
PARAM_VALUE 0 intf->mutex.wait_lock.owner_cpu u32max
PARAM_VALUE 0 intf->quirks 0,2-u64max
PARAM_VALUE 0 intf->removed 0
PARAM_VALUE 0 intf->type 1-4
CAPPED_DATA 0 &intf->mutex 1
DATA_SOURCE 0 intf $0
LOCK2 0 &intf->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct gb_interface)->mutex