Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/thunderbolt/switch.c tb_switch_alloc_dp_resource() -> usb4_switch_alloc_dp_resource()

Type Parameter Key Value
PARAM_VALUE 0 sw 4096-ptr_max
PARAM_VALUE 0 sw->dev.bus 0,4096-ptr_max
PARAM_VALUE 0 sw->dev.class 0,4096-ptr_max
PARAM_VALUE 0 sw->dev.power.request 0-4
PARAM_VALUE 0 sw->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 0 sw->dev.power.wakeirq 0,4096-ptr_max
PARAM_VALUE 0 sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 sw->dev.type 0,4096-ptr_max
PARAM_VALUE 1 in 4096-ptr_max
PARAM_VALUE 1 in->config.type 917761
PARAM_VALUE 1 in->group->index 1-7
PARAM_VALUE 1 in->sw 4096-ptr_max
PARAM_VALUE 1 in->sw->dev.bus 0,4096-ptr_max
PARAM_VALUE 1 in->sw->dev.class 0,4096-ptr_max
PARAM_VALUE 1 in->sw->dev.power.request 0-4
PARAM_VALUE 1 in->sw->dev.power.runtime_error s32min-(-17),(-15)-(-14),(-12),(-10)-s32max
PARAM_VALUE 1 in->sw->dev.power.wakeirq 0,4096-ptr_max
PARAM_VALUE 1 in->sw->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 in->sw->dev.type 0,4096-ptr_max
DATA_SOURCE 0 sw $0
DATA_SOURCE 1 in $1
LOCK2 &tb->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct tb)->lock