Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/typec/class.c preferred_role_store() -> (struct typec_operations)->try_role()

Type Parameter Key Value
PARAM_VALUE 0 p 4096-ptr_max
PARAM_VALUE 0 p->cap 4096-ptr_max
PARAM_VALUE 0 p->cap->type 2
PARAM_VALUE 0 p->ops 4096-ptr_max
PARAM_VALUE 0 p->ops->try_role 1984053582809899008,2013159759474634752,6012352628367368192
PARAM_VALUE 1 role (-1)-1
CAPPED_DATA 1 role 1
CONTAINER 0 -0-2096+0 $(-1)
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex