Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
drivers/base/power/runtime.c __rpm_put_suppliers() -> device_links_read_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_links_srcu | ||
| HALF_LOCKED2 | &dev->driver_data->sfd_lock | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/base/power/runtime.c pm_runtime_get_suppliers() -> device_links_read_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_links_srcu | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/base/power/runtime.c pm_runtime_put_suppliers() -> device_links_read_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_links_srcu | ||
| HALF_LOCKED2 | &dev->mutex |
drivers/base/power/runtime.c rpm_get_suppliers() -> device_links_read_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_links_srcu |
drivers/base/power/runtime.c rpm_suspend_suppliers() -> device_links_read_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_links_srcu | ||
| HALF_LOCKED2 | &dev->driver_data->sfd_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | flags |
drivers/base/power/main.c device_prepare_smart_suspend() -> device_links_read_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_links_srcu | ||
| LOCK2 | global &system_transition_mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
drivers/base/power/main.c dpm_async_resume_subordinate() -> device_links_read_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_links_srcu | ||
| HALF_LOCKED2 | global &system_transition_mutex |
drivers/base/power/main.c dpm_async_suspend_superior() -> device_links_read_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_links_srcu | ||
| HALF_LOCKED2 | global &system_transition_mutex |
drivers/base/power/main.c dpm_clear_superiors_direct_complete() -> device_links_read_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &dev->mutex | ||
| LOCK2 | global &device_links_srcu | ||
| HALF_LOCKED2 | global &system_transition_mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/base/power/main.c dpm_superior_set_must_resume() -> device_links_read_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_links_srcu | ||
| HALF_LOCKED2 | global &system_transition_mutex |
drivers/base/power/main.c dpm_wait_for_consumers() -> device_links_read_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_links_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |
drivers/base/power/main.c dpm_wait_for_suppliers() -> device_links_read_lock_held()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &device_links_srcu | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &system_transition_mutex |