Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/pci/hotplug/pciehp_hpc.c pcie_enable_notification() -> pcie_write_cmd_nowait()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->ctrl_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->ctrl_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 ctrl->ctrl_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 ctrl->ctrl_lock.first_waiter->list.prev->prev 5159360019465732096
PARAM_VALUE 0 ctrl->ctrl_lock.first_waiter->task->blocked_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->ctrl_lock.first_waiter->task->blocked_lock.owner (-1)
PARAM_VALUE 0 ctrl->ctrl_lock.first_waiter->task->blocked_lock.owner_cpu 4294967295
PARAM_VALUE 0 ctrl->ctrl_lock.first_waiter->task->blocked_lock.raw_lock.val.counter s32min-s32max
PARAM_VALUE 0 ctrl->ctrl_lock.first_waiter->task->usage.refs.counter s32min-s32max
PARAM_VALUE 0 ctrl->ctrl_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 ctrl->depth 0-s32max
PARAM_VALUE 0 ctrl->hotplug_slot->mod_name 0-255
PARAM_VALUE 0 ctrl->hotplug_slot.mod_name 3154391598105935872
PARAM_VALUE 0 ctrl->hotplug_slot.ops 4096-ptr_max
PARAM_VALUE 0 ctrl->hotplug_slot.ops->disable_slot 5410172028375957504
PARAM_VALUE 0 ctrl->hotplug_slot.ops->enable_slot 9083966681780129792
PARAM_VALUE 0 ctrl->hotplug_slot.ops->get_adapter_status 6207541993425117184
PARAM_VALUE 0 ctrl->hotplug_slot.ops->get_power_status 3016498237305540608
PARAM_VALUE 0 ctrl->hotplug_slot.ops->reset_slot 5143579473040220160
PARAM_VALUE 0 ctrl->hotplug_slot.owner 0
PARAM_VALUE 0 ctrl->hotplug_slot.pci_slot 4096-ptr_max
PARAM_VALUE 0 ctrl->hotplug_slot.pci_slot->kobj.entry.next 4096-ptr_max
PARAM_VALUE 0 ctrl->hotplug_slot.pci_slot->kobj.kref.refcount.refs.counter 1
PARAM_VALUE 0 ctrl->hotplug_slot.pci_slot->kobj.ktype 4096-ptr_max
PARAM_VALUE 0 ctrl->hotplug_slot.pci_slot->kobj.sd 4096-ptr_max
PARAM_VALUE 0 ctrl->hotplug_slot.pci_slot->kobj.state_in_sysfs 1
PARAM_VALUE 0 ctrl->hotplug_slot.pci_slot->kobj.state_initialized 1
PARAM_VALUE 0 ctrl->hotplug_slot.pci_slot->list.next 4096-ptr_max
PARAM_VALUE 0 ctrl->hotplug_slot.pci_slot->list.prev 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie->port 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie->port->pcie_cap 0-1
PARAM_VALUE 0 ctrl->pcie->port->subordinate->slots.next 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie->port->subordinate->slots.next->next 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie->port->subordinate->slots.next->prev 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie->service 4
PARAM_VALUE 0 ctrl->queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 ctrl->queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ctrl->queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctrl->requester.head.next 4096-ptr_max
PARAM_VALUE 0 ctrl->requester.head.next->next 4096-ptr_max
PARAM_VALUE 0 ctrl->requester.head.prev 4096-ptr_max
PARAM_VALUE 0 ctrl->requester.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ctrl->requester.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctrl->reset_lock.count.counter 0
PARAM_VALUE 0 ctrl->reset_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->reset_lock.first_waiter 0
PARAM_VALUE 0 ctrl->reset_lock.magic 4096-ptr_max
PARAM_VALUE 0 ctrl->reset_lock.osq.tail.counter 0
PARAM_VALUE 0 ctrl->reset_lock.owner.counter 0
PARAM_VALUE 0 ctrl->slot_cap 0,64,262144,262208
PARAM_VALUE 0 ctrl->state 0,5
PARAM_VALUE 0 ctrl->state_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->state_lock.first_waiter 0
PARAM_VALUE 0 ctrl->state_lock.magic 4096-ptr_max
PARAM_VALUE 0 ctrl->state_lock.osq.tail.counter 0
PARAM_VALUE 0 ctrl->state_lock.owner.counter 0
PARAM_VALUE 1 cmd 4097,4104,4129,4136,4145,4152
PARAM_VALUE 2 mask 4155
BUF_SIZE 0 ctrl 944
DATA_SOURCE 0 ctrl $0
BIT_INFO 1 cmd 0x1000,0x1039
TERMINATED 0 ctrl->hotplug_slot.mod_name 1
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ctrl->dsn 0[c]
HOST_DATA 0 ctrl->slot_cap 0,262144[c]
HOST_DATA 0 ctrl->slot_ctrl 0-16448[c]

drivers/pci/hotplug/pciehp_hpc.c pcie_init() -> pcie_write_cmd_nowait()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->ctrl_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->ctrl_lock.first_waiter 0
PARAM_VALUE 0 ctrl->ctrl_lock.magic 4096-ptr_max
PARAM_VALUE 0 ctrl->ctrl_lock.osq.tail.counter 0
PARAM_VALUE 0 ctrl->ctrl_lock.owner.counter 0
PARAM_VALUE 0 ctrl->depth 0-s32max
PARAM_VALUE 0 ctrl->pcie 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie->port 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie->port->pcie_cap 0-1
PARAM_VALUE 0 ctrl->pcie->service 4
PARAM_VALUE 0 ctrl->queue.head.next 4096-ptr_max
PARAM_VALUE 0 ctrl->queue.head.next->next 4096-ptr_max
PARAM_VALUE 0 ctrl->queue.head.prev 4096-ptr_max
PARAM_VALUE 0 ctrl->queue.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ctrl->queue.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctrl->requester.head.next 4096-ptr_max
PARAM_VALUE 0 ctrl->requester.head.next->next 4096-ptr_max
PARAM_VALUE 0 ctrl->requester.head.prev 4096-ptr_max
PARAM_VALUE 0 ctrl->requester.head.prev->next 4096-ptr_max
PARAM_VALUE 0 ctrl->requester.head.prev->prev 4096-ptr_max
PARAM_VALUE 0 ctrl->reset_lock.count.counter 0
PARAM_VALUE 0 ctrl->reset_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->reset_lock.first_waiter 0
PARAM_VALUE 0 ctrl->reset_lock.magic 4096-ptr_max
PARAM_VALUE 0 ctrl->reset_lock.osq.tail.counter 0
PARAM_VALUE 0 ctrl->reset_lock.owner.counter 0
PARAM_VALUE 0 ctrl->slot_cap 0,64,262144,262208
PARAM_VALUE 0 ctrl->state 0,5
PARAM_VALUE 0 ctrl->state_lock.dep_map->name 0-255
PARAM_VALUE 0 ctrl->state_lock.first_waiter 0
PARAM_VALUE 0 ctrl->state_lock.magic 4096-ptr_max
PARAM_VALUE 0 ctrl->state_lock.osq.tail.counter 0
PARAM_VALUE 0 ctrl->state_lock.owner.counter 0
PARAM_VALUE 1 cmd 16384
PARAM_VALUE 2 mask 16384
BUF_SIZE 0 ctrl 944
DATA_SOURCE 0 ctrl r _kzalloc_noprof
FUZZY_MAX 0 ctrl->state 5
BIT_INFO 0 ctrl->slot_cap 0x0,0x4007f
BIT_INFO 0 ctrl->state 0x0,0x5
HARD_MAX 0 ctrl->state 5
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ctrl->slot_cap 0,262144[c]

drivers/pci/hotplug/pciehp_hpc.c pciehp_set_indicators() -> pcie_write_cmd_nowait()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie->port->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 0 ctrl->pcie->port->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 ctrl->pcie->port->subordinate->self->link_bwctrl->cdev (-22),(-19),(-12),0-s64max
PARAM_VALUE 0 ctrl->reset_lock.first_waiter->handoff_set 0-1
PARAM_VALUE 0 ctrl->reset_lock.first_waiter->type 0-1
PARAM_VALUE 0 ctrl->slot_cap 8-u32max
PARAM_VALUE 0 *ctrl->pcie->port->saved_config_space 0-4294967295
PARAM_VALUE 1 cmd 1-1023
PARAM_VALUE 2 mask 192,768,960
BUF_SIZE 0 ctrl (-1),128
BUF_SIZE 0 ctrl (-1),128
DATA_SOURCE 0 ctrl $0
BIT_INFO 1 cmd 0x0,0x3c0
BIT_INFO 2 mask 0x0,0x3c0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
HOST_DATA 0 ctrl->dsn 0[c]
HOST_DATA 0 ctrl->pcie->port->acs_capabilities 0-u16max
HOST_DATA 0 ctrl->pcie->port->bus->bridge_ctl 0-u16max
HOST_DATA 0 ctrl->pcie->port->bus->parent->bridge_ctl 0-u16max
HOST_DATA 0 ctrl->pcie->port->class 0-16777215
HOST_DATA 0 ctrl->pcie->port->current_state 0-3[c]
HOST_DATA 0 ctrl->pcie->port->devcap 0-u32max
HOST_DATA 0 ctrl->pcie->port->devfn 0-503[c]
HOST_DATA 0 ctrl->pcie->port->device 0-u16max
HOST_DATA 0 ctrl->pcie->port->eetlp_prefix_max 0-7[c]
HOST_DATA 0 ctrl->pcie->port->fm_enabled 0-1[c]
HOST_DATA 0 ctrl->pcie->port->hdr_type 0-255[c]
HOST_DATA 0 ctrl->pcie->port->ide_cfg 0-1[c]
HOST_DATA 0 ctrl->pcie->port->ide_tee_limit 0-1[c]
HOST_DATA 0 ctrl->pcie->port->irq 0-255
HOST_DATA 0 ctrl->pcie->port->is_cxl 0-1
HOST_DATA 0 ctrl->pcie->port->multifunction 0-1[c]
HOST_DATA 0 ctrl->pcie->port->nr_ide_mem 0-255[c]
HOST_DATA 0 ctrl->pcie->port->pcie_flags_reg 0-u16max
HOST_DATA 0 ctrl->pcie->port->pcie_mpss 0-7[c]
HOST_DATA 0 ctrl->pcie->port->physfn->acs_capabilities 0-u16max
HOST_DATA 0 ctrl->pcie->port->physfn->bus->bridge_ctl 0-u16max
HOST_DATA 0 ctrl->pcie->port->physfn->bus->parent->bridge_ctl 0-u16max
HOST_DATA 0 ctrl->pcie->port->physfn->class 0-16777215
HOST_DATA 0 ctrl->pcie->port->physfn->current_state 0-3[c]
HOST_DATA 0 ctrl->pcie->port->physfn->devcap 0-u32max
HOST_DATA 0 ctrl->pcie->port->physfn->devfn 1-503[c]
HOST_DATA 0 ctrl->pcie->port->physfn->device 0-u16max
HOST_DATA 0 ctrl->pcie->port->physfn->eetlp_prefix_max 0-7[c]
HOST_DATA 0 ctrl->pcie->port->physfn->fm_enabled 0-1[c]
HOST_DATA 0 ctrl->pcie->port->physfn->hdr_type 0-255[c]
HOST_DATA 0 ctrl->pcie->port->physfn->ide_cfg 0-1[c]
HOST_DATA 0 ctrl->pcie->port->physfn->ide_tee_limit 0-1[c]
HOST_DATA 0 ctrl->pcie->port->physfn->irq 0-255
HOST_DATA 0 ctrl->pcie->port->physfn->is_cxl 0-1
HOST_DATA 0 ctrl->pcie->port->physfn->multifunction 0-1[c]
HOST_DATA 0 ctrl->pcie->port->physfn->nr_ide_mem 0-255[c]
HOST_DATA 0 ctrl->pcie->port->physfn->pcie_flags_reg 0-u16max
HOST_DATA 0 ctrl->pcie->port->physfn->pcie_mpss 0-7[c]
HOST_DATA 0 ctrl->pcie->port->physfn->pin 0
HOST_DATA 0 ctrl->pcie->port->physfn->pme_support 0-31[c]
HOST_DATA 0 ctrl->pcie->port->physfn->ptm_granularity 0-255[c]
HOST_DATA 0 ctrl->pcie->port->physfn->revision 0-255
HOST_DATA 0 ctrl->pcie->port->physfn->sriov->class 0-u32max
HOST_DATA 0 ctrl->pcie->port->physfn->sriov->hdr_type 0-255
HOST_DATA 0 ctrl->pcie->port->physfn->sriov->max_VF_buses 0-255[c]
HOST_DATA 0 ctrl->pcie->port->physfn->sriov->offset 0-u16max
HOST_DATA 0 ctrl->pcie->port->physfn->sriov->stride 0-u16max
HOST_DATA 0 ctrl->pcie->port->physfn->sriov->subsystem_device 0-u16max
HOST_DATA 0 ctrl->pcie->port->physfn->sriov->subsystem_vendor 0-u16max
HOST_DATA 0 ctrl->pcie->port->physfn->subsystem_device 0-u16max
HOST_DATA 0 ctrl->pcie->port->physfn->subsystem_vendor 0-u16max
HOST_DATA 0 ctrl->pcie->port->physfn->supported_speeds 0,2-254[c]
HOST_DATA 0 ctrl->pcie->port->physfn->transparent 0[c]
HOST_DATA 0 ctrl->pcie->port->physfn->vendor 0-u16max
HOST_DATA 0 ctrl->pcie->port->pin 0
HOST_DATA 0 ctrl->pcie->port->pme_support 0-31[c]
HOST_DATA 0 ctrl->pcie->port->ptm_granularity 0-255[c]
HOST_DATA 0 ctrl->pcie->port->revision 0-255
HOST_DATA 0 ctrl->pcie->port->sriov->max_VF_buses 0-255[c]
HOST_DATA 0 ctrl->pcie->port->subsystem_device 0-u16max
HOST_DATA 0 ctrl->pcie->port->subsystem_vendor 0-u16max
HOST_DATA 0 ctrl->pcie->port->supported_speeds 0,2-254[c]
HOST_DATA 0 ctrl->pcie->port->transparent 0[c]
HOST_DATA 0 ctrl->pcie->port->vendor 0-u16max
HOST_DATA 0 ctrl->slot_ctrl 0-u16max[c]
HOST_DATA 0 *ctrl->pcie->port->dev.driver_data s64min-s64max
HOST_DATA 0 *ctrl->pcie->port->physfn->dev.driver_data s64min-s64max
USER_DATA 1 cmd 1-1023[c][u]
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 0 &ctrl->reset_lock
HALF_LOCKED2 0 &ctrl->state_lock

drivers/pci/hotplug/pciehp_hpc.c pciehp_set_raw_indicator_status() -> pcie_write_cmd_nowait()

Type Parameter Key Value
PARAM_VALUE 0 ctrl 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie 4096-ptr_max
PARAM_VALUE 0 ctrl->pcie->port->dev.power.wakeirq->status 0-4294967295
PARAM_VALUE 1 cmd 0,64-960
PARAM_VALUE 2 mask 960
DATA_SOURCE 0 ctrl r to_ctrl
BIT_INFO 1 cmd 0x0,0x3c0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
USER_DATA 1 cmd 0,64-960[c]
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex