Defined in 1 files as a function:
Referenced in 6 files:
- kernel/irq/chip.c
- kernel/irq/handle.c, line 260
- kernel/irq/internals.h
- kernel/irq/irqdesc.c
- kernel/irq/manage.c
- kernel/irq/pm.c
Smatch caller information:
kernel/irq/manage.c __irq_set_trigger() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 0-15 |
| DATA_SOURCE | 1 | mask | $1 [m] |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
kernel/irq/manage.c __irq_set_trigger() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 8192 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
kernel/irq/manage.c __setup_irq() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 2048 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &desc->lock | ||
| LOCK2 | &desc->request_mutex | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct irq_desc)->lock | ||
| TYPE_LOCK | (struct irq_desc)->request_mutex |
kernel/irq/manage.c __setup_irq() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 1024 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &desc->lock | ||
| LOCK2 | &desc->request_mutex | ||
| LOCK2 | flags | ||
| TYPE_LOCK | (struct irq_desc)->lock | ||
| TYPE_LOCK | (struct irq_desc)->request_mutex |
kernel/irq/manage.c irq_set_affinity_deactivated() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 4096 |
| BUF_SIZE | 0 | d | (-1),56 |
| BUF_SIZE | 0 | d | (-1),56 |
| DATA_SOURCE | 0 | d | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &sparse_irq_lock |
kernel/irq/manage.c irq_set_affinity_locked() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 4096 |
| BUF_SIZE | 0 | d | (-1),56 |
| BUF_SIZE | 0 | d | (-1),56 |
| DATA_SOURCE | 0 | d | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &sparse_irq_lock |
kernel/irq/manage.c irq_set_irq_wake() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 16384 |
| NOCHECK_CALL |
kernel/irq/handle.c handle_irq_event() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 262144 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &desc->lock | ||
| TYPE_LOCK | (struct irq_desc)->lock |
kernel/irq/pm.c irq_state_set_disabled() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 65536 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &desc->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct irq_desc)->lock |
kernel/irq/pm.c irq_state_set_masked() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 131072 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &desc->lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct irq_desc)->lock |
kernel/irq/pm.c rearm_wake_irq() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 524288 |
| 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 suspend_device_irq() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 524288 |
| BUF_SIZE | 0 | d | 56 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &desc->lock | ||
| LOCK2 | global &system_transition_mutex | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| TYPE_LOCK | (struct irq_desc)->lock |
kernel/irq/pm.c suspend_device_irq() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 536870912 |
| BUF_SIZE | 0 | d | 56 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &desc->lock | ||
| LOCK2 | global &system_transition_mutex | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | global &acpi_scan_lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock | ||
| TYPE_LOCK | (struct irq_desc)->lock |
kernel/irq/chip.c handle_untracked_irq() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 262144 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &desc->lock | ||
| TYPE_LOCK | (struct irq_desc)->lock |
kernel/irq/chip.c irq_modify_status() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 1024 |
| NOCHECK_CALL |
kernel/irq/chip.c irq_modify_status() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 2048 |
| NOCHECK_CALL |
kernel/irq/chip.c irq_modify_status() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 8192 |
| NOCHECK_CALL |
kernel/irq/chip.c irq_modify_status() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 0-15 |
| NOCHECK_CALL |
kernel/irq/chip.c irq_state_set_disabled() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 65536 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/irq/chip.c irq_state_set_masked() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 131072 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->lock |
kernel/irq/chip.c irq_state_set_started() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 4194304 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &desc->lock | ||
| HALF_LOCKED2 | &desc->request_mutex | ||
| HALF_LOCKED2 | flags |
kernel/irq/irqdesc.c desc_set_defaults() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 65536 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
kernel/irq/irqdesc.c desc_set_defaults() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 131072 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
kernel/irq/irqdesc.c init_desc() -> irqd_set()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | d | 4096-ptr_max |
| PARAM_VALUE | 0 | d->common | 4096-ptr_max |
| PARAM_VALUE | 1 | mask | 0,4096,10489856 |
| DATA_SOURCE | 1 | mask | $3 |
| BIT_INFO | 1 | mask | 0x0,0xa01000 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |