Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/host/xen-hcd.c xenhcd_rhport_connect() -> xenhcd_set_connect_state()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->devices 4096-ptr_max
PARAM_VALUE 0 info->ports 4096-ptr_max
PARAM_VALUE 1 portnum 1-255
CAPPED_DATA 1 portnum 1
DATA_SOURCE 0 info $0
DATA_SOURCE 1 portnum $1
FUZZY_MAX 1 portnum 1
PARAM_COMPARE 0 info->rh_numports >= $1
PARAM_COMPARE 1 portnum <= $0->rh_numports
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &info->lock
HALF_LOCKED2 _T->lock
TYPE_LOCK (struct xenhcd_info)->lock

drivers/usb/host/xen-hcd.c xenhcd_rhport_power_on() -> xenhcd_set_connect_state()

Type Parameter Key Value
PARAM_VALUE 0 info 4096-ptr_max
PARAM_VALUE 0 info->devices 4096-ptr_max
PARAM_VALUE 0 info->ports 4096-ptr_max
PARAM_VALUE 1 portnum 1-u16max
CAPPED_DATA 1 portnum 1
DATA_SOURCE 0 info $0
DATA_SOURCE 1 portnum $1
PREEMPT_ADD
NOCHECK_CALL
LOCK2 flags
LOCK2 0 &info->lock
TYPE_LOCK (struct xenhcd_info)->lock