Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/misc/tifm_7xx1.c tifm_7xx1_switch_media() -> tifm_alloc_device()

Type Parameter Key Value
PARAM_VALUE 0 fm 4096-ptr_max
PARAM_VALUE 0 fm->lock.rlock.dep_map->name 0-255
PARAM_VALUE 0 fm->num_sockets 1-u32max
PARAM_VALUE 0 fm->socket_change_set 0
PARAM_VALUE 0 fm->sockets 4096-ptr_max
PARAM_VALUE 2 type 0-7
CAPPED_DATA 1 id 1
DATA_SOURCE 2 type r tifm_7xx1_toggle_sock_power
PARAM_COMPARE 1 id < $0->num_sockets
CONSTRAINT 1 id <3464
HALF_LOCKED2 &pool->lock