Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/pci/hotplug/pciehp_core.c pciehp_check_presence() -> pciehp_request()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie 4096-ptr_max
PARAM_VALUE 0 ctrl->reset_lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 ctrl->reset_lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 ctrl->reset_lock.first_waiter->type 0-1
PARAM_VALUE 0 ctrl->reset_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->reset_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ctrl->reset_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ctrl->state 0-2,5
PARAM_VALUE 0 ctrl->state_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->state_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctrl->state_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctrl->state_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctrl->state_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->state_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ctrl->state_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 action 8
BUF_SIZE 0 ctrl 168,944,1056
BUF_SIZE 0 ctrl 168,944,1056
CAPPED_DATA 0 &ctrl->reset_lock 1
CAPPED_DATA 0 &ctrl->state_lock 1
DATA_SOURCE 0 ctrl $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ctrl->dsn 0[c]
HOST_DATA 0 ctrl->hotplug_slot.pci_slot->number 0-61[c]
HOST_DATA 0 ctrl->pcie->port->current_state 0-3[c]
HOST_DATA 0 ctrl->slot_cap 0,262144[c]
HOST_DATA 0 ctrl->slot_ctrl 0-16448[c]
LOCK2 0 &ctrl->reset_lock
LOCK2 0 &ctrl->state_lock
TYPE_LOCK (struct controller)->reset_lock
TYPE_LOCK (struct controller)->state_lock

drivers/pci/hotplug/pciehp_core.c pciehp_resume_noirq() -> pciehp_request()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->cmd_busy 1
PARAM_VALUE 0 ctrl->pcie 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie->port 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie->port->error_state 0-2,4-u32max
PARAM_VALUE 0 ctrl->pcie->port->subordinate 4096-ptr_max
PARAM_VALUE 0 ctrl->state 2,5
PARAM_VALUE 1 action 8
BUF_SIZE 0 ctrl 168,944,1056
BUF_SIZE 0 ctrl 168,944,1056
FUZZY_MAX 0 ctrl->state 5
NOCHECK_CALL

drivers/pci/hotplug/pciehp_ctrl.c pciehp_queue_pushbutton_work() -> pciehp_request()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->state 2
PARAM_VALUE 0 ctrl->state_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->state_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctrl->state_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctrl->state_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctrl->state_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->state_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ctrl->state_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 action 65536
CAPPED_DATA 0 &ctrl->state_lock 1
NOCHECK_CALL
LOCK2 0 &ctrl->state_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct controller)->state_lock

drivers/pci/hotplug/pciehp_ctrl.c pciehp_queue_pushbutton_work() -> pciehp_request()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->state 1
PARAM_VALUE 0 ctrl->state_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->state_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctrl->state_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctrl->state_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctrl->state_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->state_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ctrl->state_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 1 action 8
CAPPED_DATA 0 &ctrl->state_lock 1
NOCHECK_CALL
LOCK2 0 &ctrl->state_lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct controller)->state_lock

drivers/pci/hotplug/pciehp_ctrl.c pciehp_sysfs_disable_slot() -> pciehp_request()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->state 2,5
PARAM_VALUE 0 ctrl->state_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->state_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctrl->state_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctrl->state_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->state_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ctrl->state_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ctrl->state_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ctrl->state_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ctrl->state_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctrl->state_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 action 65536
CAPPED_DATA 0 &ctrl->state_lock 1
DATA_SOURCE 0 ctrl r to_ctrl
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/pci/hotplug/pciehp_ctrl.c pciehp_sysfs_enable_slot() -> pciehp_request()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->request_result (-19)
PARAM_VALUE 0 ctrl->state 0-1
PARAM_VALUE 0 ctrl->state_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->state_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctrl->state_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctrl->state_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->state_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ctrl->state_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ctrl->state_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ctrl->state_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ctrl->state_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctrl->state_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 1 action 8
CAPPED_DATA 0 &ctrl->state_lock 1
DATA_SOURCE 0 ctrl r to_ctrl
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/pci/hotplug/pciehp_hpc.c pciehp_ignore_link_change() -> pciehp_request()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->hotplug_slot.pci_slot 4096-ptr_max
PARAM_VALUE 0 ctrl->ist_running 1
PARAM_VALUE 0 ctrl->pcie 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie->port 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie->port->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ctrl->reset_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->reset_lock.first_waiter->list.next 2212933610777083904
PARAM_VALUE 0 ctrl->reset_lock.first_waiter->list.prev 2212933610777083904
PARAM_VALUE 0 ctrl->reset_lock.first_waiter->type 0-1
PARAM_VALUE 0 ctrl->reset_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->reset_lock.wait_lock.owner (-1)
PARAM_VALUE 0 ctrl->reset_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 ctrl->state 5
PARAM_VALUE 1 action 256,264
BUF_SIZE 0 ctrl (-1),128
BUF_SIZE 0 ctrl (-1),128
CAPPED_DATA 0 &ctrl->reset_lock 1
DATA_SOURCE 0 ctrl $0
DATA_SOURCE 1 action $3
FUZZY_MAX 1 action 256
BIT_INFO 1 action 0x100,0x108
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ctrl->pcie->port->current_state 0-3[c]
HOST_DATA 0 ctrl->slot_ctrl 0-16448[c]
LOCK2 0 &ctrl->reset_lock
HALF_LOCKED2 _T->lock
HALF_LOCKED2 irq
TYPE_LOCK (struct controller)->reset_lock

drivers/pci/hotplug/pciehp_hpc.c pciehp_slot_reset() -> pciehp_request()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie 4096-ptr_max
PARAM_VALUE 0 ctrl->state 5
PARAM_VALUE 1 action 256
BUF_SIZE 0 ctrl 168,944,1056
BUF_SIZE 0 ctrl 168,944,1056
NOCHECK_CALL