Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/usb/core/hub.c hub_port_disable() -> hub_set_port_link_state()

Type Parameter Key Value
PARAM_VALUE 0 hub 4096-ptr_max
PARAM_VALUE 0 hub->error 0
PARAM_VALUE 0 hub->hdev 4096-ptr_max
PARAM_VALUE 0 hub->hdev->descriptor.bDeviceProtocol 3
PARAM_VALUE 0 hub->hdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hub->ports 4096-ptr_max
PARAM_VALUE 0 *hub->hdev->toggle 0-4294967295
PARAM_VALUE 2 link_status 96
BUF_SIZE 0 hub s32min-(-1),1-s32max
BUF_SIZE 0 hub s32min-(-1),1-s32max
DATA_SOURCE 0 hub $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port_dev->status_lock

drivers/usb/core/hub.c hub_usb3_port_prepare_disable() -> hub_set_port_link_state()

Type Parameter Key Value
PARAM_VALUE 0 hub 4096-ptr_max
PARAM_VALUE 0 hub->error 0
PARAM_VALUE 0 hub->hdev 4096-ptr_max
PARAM_VALUE 0 hub->hdev->descriptor.bDeviceProtocol 3
PARAM_VALUE 0 hub->hdev->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 hub->ports 4096-ptr_max
PARAM_VALUE 0 *hub->hdev->toggle 0-4294967295
PARAM_VALUE 2 link_status 0
BUF_SIZE 0 hub s32min-(-1),1-s32max
BUF_SIZE 0 hub s32min-(-1),1-s32max
DATA_SOURCE 0 hub $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &hdev->dev.mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 &port_dev->status_lock

drivers/usb/core/hub.c usb_port_resume() -> hub_set_port_link_state()

Type Parameter Key Value
PARAM_VALUE 0 hub 4096-ptr_max
PARAM_VALUE 0 hub->child_usage_bits 4096-ptr_max
PARAM_VALUE 0 hub->hdev 4096-ptr_max
PARAM_VALUE 0 hub->hdev->descriptor.bDeviceProtocol 3
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->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 1 port1 0-255
PARAM_VALUE 2 link_status 0
BUF_SIZE 0 hub s32min-(-1),1-s32max
BUF_SIZE 0 hub s32min-(-1),1-s32max
DATA_SOURCE 0 hub r usb_hub_to_struct_hub
RX_PATH
TASK_NOT_RUNNING
UNITS 1 port1 unit_array_size
LOCK2 &port_dev->status_lock
TYPE_LOCK (struct usb_port)->status_lock

drivers/usb/core/hub.c usb_port_suspend() -> hub_set_port_link_state()

Type Parameter Key Value
PARAM_VALUE 0 hub 4096-ptr_max
PARAM_VALUE 0 hub->hdev 4096-ptr_max
PARAM_VALUE 0 hub->hdev->descriptor.bDeviceProtocol 3
PARAM_VALUE 0 hub->ports 4096-ptr_max
PARAM_VALUE 1 port1 0-255
PARAM_VALUE 2 link_status 96
BUF_SIZE 0 hub s32min-(-1),1-s32max
BUF_SIZE 0 hub s32min-(-1),1-s32max
DATA_SOURCE 0 hub r usb_hub_to_struct_hub
RX_PATH
TASK_NOT_RUNNING
UNITS 1 port1 unit_array_size
LOCK2 &port_dev->status_lock
TYPE_LOCK (struct usb_port)->status_lock