Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
kernel/irq/manage.c __setup_irq() -> __enable_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->irq_count | 0 |
| PARAM_VALUE | 0 | desc->irq_data.chip | 4096-6665201918528172031,6665201918528172033-ptr_max |
| PARAM_VALUE | 0 | desc->irq_data.common | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->irq_data.domain | 0,4096-ptr_max |
| PARAM_VALUE | 0 | desc->irq_data.domain->pm_dev->power.request | 0-4 |
| PARAM_VALUE | 0 | desc->irq_data.domain->pm_dev->power.runtime_error | s32min-(-17),(-15)-(-14),(-12),(-10)-s32max |
| PARAM_VALUE | 0 | desc->irq_data.domain->pm_dev->power.wakeirq->status | 0-4294967295 |
| PARAM_VALUE | 0 | desc->irqs_unhandled | 0 |
| PARAM_VALUE | 0 | desc->lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | desc->lock.owner_cpu | 0 |
| PARAM_VALUE | 0 | desc->lock.raw_lock.val.counter | 0-s32max |
| PARAM_VALUE | 0 | desc->owner | 0,4096-ptr_max |
| PARAM_VALUE | 0 | desc->owner->refcnt.counter | 0-s32max |
| PARAM_VALUE | 0 | desc->owner->state | 0-1,3-u32max |
| PARAM_VALUE | 0 | desc->request_mutex.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | desc->request_mutex.first_waiter | 0,4096-ptr_max |
| PARAM_VALUE | 0 | desc->request_mutex.first_waiter->list.prev->next | 5159360019465732096 |
| PARAM_VALUE | 0 | desc->request_mutex.osq.tail.counter | 0-s32max |
| PARAM_VALUE | 0 | desc->request_mutex.wait_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | desc->request_mutex.wait_lock.owner | (-1) |
| PARAM_VALUE | 0 | desc->request_mutex.wait_lock.owner_cpu | u32max |
| CAPPED_DATA | 0 | &desc->request_mutex | 1 |
| DATA_SOURCE | 0 | desc | $1 |
| BIT_INFO | 0 | desc->core_internal_state__do_not_mess_with_it | 0x0,0xfffffffd |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | flags | ||
| LOCK2 | 0 | &desc->lock | |
| LOCK2 | 0 | &desc->request_mutex | |
| TYPE_LOCK | (struct irq_desc)->lock | ||
| TYPE_LOCK | (struct irq_desc)->request_mutex |
kernel/irq/manage.c enable_irq() -> __enable_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->irq_data.chip | 1-u64max |
| DATA_SOURCE | 0 | desc | r class_irqdesc_lock_lock_ptr |
| NOCHECK_CALL |
kernel/irq/pm.c rearm_wake_irq() -> __enable_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->irq_data.common | 4096-ptr_max |
| DATA_SOURCE | 0 | desc | r class_irqdesc_lock_lock_ptr |
| BIT_INFO | 0 | desc->core_internal_state__do_not_mess_with_it | 0x0,0xfffff7ff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
kernel/irq/pm.c resume_irq() -> __enable_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->action | 0,4096-ptr_max |
| PARAM_VALUE | 0 | desc->force_resume_depth | 1-u32max |
| PARAM_VALUE | 0 | desc->irq_data.common | 4096-ptr_max |
| DATA_SOURCE | 0 | desc | $0 |
| BIT_INFO | 0 | desc->core_internal_state__do_not_mess_with_it | 0x0,0xfffff7ff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| LOCK2 | 0 | &desc->lock | |
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct irq_desc)->lock |
kernel/irq/pm.c suspend_device_irq() -> __enable_irq()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | desc | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->action | 1-6585027550600671231,6585027550600671233-u64max |
| PARAM_VALUE | 0 | desc->irq_data.common | 4096-ptr_max |
| PARAM_VALUE | 0 | desc->no_suspend_depth | 0 |
| DATA_SOURCE | 0 | desc | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &system_transition_mutex | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &desc->lock | |
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| TYPE_LOCK | (struct irq_desc)->lock |