Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/core/hub.c hub_port_wait_reset() -> hub_ext_port_status()

Type Parameter Key Value
PARAM_VALUE 0 hub 4096-ptr_max
PARAM_VALUE 0 hub->change_bits 4096-ptr_max
PARAM_VALUE 0 hub->event_bits 4096-ptr_max
PARAM_VALUE 0 hub->hdev 4096-ptr_max
PARAM_VALUE 0 hub->hdev->bos 4096-ptr_max
PARAM_VALUE 0 hub->hdev->bos->ssp_cap 1-u64max
PARAM_VALUE 0 hub->hdev->descriptor.bDeviceProtocol 3
PARAM_VALUE 0 hub->hdev->descriptor.bcdUSB 784-u16max
PARAM_VALUE 0 hub->hdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hub->ports 4096-ptr_max
PARAM_VALUE 0 hub->status_mutex.dep_map->name 0-255
PARAM_VALUE 0 hub->status_mutex.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 hub->status_mutex.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 hub->status_mutex.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 hub->status_mutex.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 hub->status_mutex.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 hub->status_mutex.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 hub->status_mutex.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 hub->status_mutex.osq.tail.counter 0-s32max
PARAM_VALUE 0 hub->wakeup_bits 4096-ptr_max
PARAM_VALUE 0 hub->warm_reset_bits 4096-ptr_max
PARAM_VALUE 0 *hub->hdev->toggle 0-4294967295
PARAM_VALUE 1 port1 1-s32max
PARAM_VALUE 2 type 2
PARAM_VALUE 3 status 4876444857222381568
PARAM_VALUE 4 change 6692885904152817664
PARAM_VALUE 5 ext_status 1789251134775791616
CAPPED_DATA 0 hub->hdev->maxchild 1
CAPPED_DATA 1 port1 1
DATA_SOURCE 0 hub $0
DATA_SOURCE 1 port1 $1
CONSTRAINT 1 port1 <=3318
UNITS 1 port1 unit_array_size
LOCK2 &hdev->dev.mutex
LOCK2 &port_dev->status_lock
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 global &ehci_cf_port_reset_rwsem
TYPE_LOCK (struct device)->mutex
TYPE_LOCK (struct usb_port)->status_lock

drivers/usb/core/hub.c usb_hub_port_status() -> hub_ext_port_status()

Type Parameter Key Value
PARAM_VALUE 0 hub 4096-ptr_max
PARAM_VALUE 0 hub->hdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 *hub->hdev->toggle 0-4294967295
PARAM_VALUE 1 port1 0-s32max
PARAM_VALUE 2 type 0
PARAM_VALUE 5 ext_status 0
BUF_SIZE 0 hub s32min-(-1),1-s32max
BUF_SIZE 0 hub s32min-(-1),1-s32max
CAPPED_DATA 1 port1 1
DATA_SOURCE 0 hub $0
DATA_SOURCE 1 port1 $1
DATA_SOURCE 3 status $2
DATA_SOURCE 4 change $3
RX_PATH
TASK_NOT_RUNNING
UNITS 0 hub unit_byte
UNITS 1 port1 unit_array_size
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port_dev->status_lock