Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 41 files:
- arch/arm64/mm/mmu.c, line 1108
- drivers/acpi/acpi_video.c, line 1823
- drivers/acpi/battery.c, line 1372
- drivers/base/firmware_loader/main.c, line 1665
- drivers/base/power/trace.c, line 280
- drivers/char/apm-emulation.c, line 646
- drivers/char/random.c, line 914
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 4148
- drivers/gpu/drm/virtio/virtgpu_kms.c, line 317
- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c, line 1122
- drivers/gpu/drm/xe/xe_pm.c, line 490
- drivers/greybus/svc_watchdog.c, line 125
- drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c, line 1746
- drivers/mfd/mt6397-irq.c, line 236
- drivers/mfd/twl6030-irq.c, line 357
- drivers/net/usb/r8152.c, line 7159
- drivers/net/wireguard/device.c, line 441
- drivers/net/wireless/ath/ath11k/core.c, line 2674
- drivers/net/wireless/ath/wil6210/pcie_bus.c, line 434
- drivers/net/wwan/iosm/iosm_ipc_pcie.c, line 573
- drivers/phy/broadcom/phy-brcm-usb.c, line 548
- drivers/platform/x86/intel/speed_select_if/isst_if_mbox_msr.c, line 197
- drivers/platform/x86/intel/telemetry/debugfs.c, line 928
- drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c, line 298
- drivers/platform/x86/samsung-laptop.c, line 1720
- drivers/power/supply/ds2760_battery.c, line 711
- drivers/powercap/intel_rapl_common.c, line 1880
- drivers/soc/tegra/regulators-tegra20.c, line 555
- drivers/soc/tegra/regulators-tegra30.c, line 529
- drivers/staging/greybus/arche-platform.c, line 525
- drivers/video/fbdev/omap2/omapfb/dss/core.c, line 170
- drivers/virtio/virtio_mem.c, line 2646
- drivers/watchdog/watchdog_core.c, line 352
- include/linux/suspend.h, line 461
- kernel/power/main.c, line 160
- kernel/sched/ext/ext.c, line 10944
- kernel/trace/fgraph.c, line 1394
- lib/pm-notifier-error-inject.c, line 32
- net/bluetooth/hci_core.c, line 2753
- sound/soc/soc-jack.c, line 378
- virt/kvm/kvm_main.c, line 909
Smatch caller information:
kernel/rcu/tree.c rcu_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4862265776591761408 |
| PARAM_VALUE | 0 | nb->next | 0 |
| PARAM_VALUE | 0 | nb->notifier_call | 7052539140190191616 |
| PARAM_VALUE | 0 | nb->priority | 0 |
| NOCHECK_CALL | |||
| LOCK2 | irq |
drivers/acpi/acpi_video.c acpi_video_bus_register_backlight() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 8464806692720353280 |
| PARAM_VALUE | 0 | nb->priority | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | _T->lock | ||
| HALF_LOCKED2 | global &video_list_lock |
drivers/net/wwan/iosm/iosm_ipc_pcie.c iosm_ipc_driver_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 6978202817442689024 |
| NOCHECK_CALL |
drivers/mfd/mt6397-irq.c mt6397_irq_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 8006212531938267136 |
| MEM_ZERO | 0 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_pm.c xe_pm_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 5021753386572267520 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/mfd/twl6030-irq.c twl6030_init_irq() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 2728997180002009088 |
| MEM_ZERO | 0 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
kernel/trace/fgraph.c register_ftrace_graph() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 948552107564257280 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
drivers/acpi/battery.c acpi_battery_probe() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 5287510594120749056 |
| MEM_ZERO | 0 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c vmw_driver_load() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 5703518047572602880 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/samsung-laptop.c samsung_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 4546765086868361216 |
| NOCHECK_CALL |
sound/soc/soc-jack.c snd_soc_jack_add_gpios() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 117423060013916160 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &card->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/watchdog/watchdog_core.c ___watchdog_register_device() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 7768557446965932032 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &wtd_deferred_reg_mutex |
drivers/platform/x86/intel/telemetry/debugfs.c telemetry_debugfs_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 5570202506607394816 |
| NOCHECK_CALL |
drivers/virtio/virtio_mem.c virtio_mem_init_hotplug() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 262987717903671296 |
| PARAM_VALUE | 0 | nb->priority | s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c intel_uncore_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 3855050701006499840 |
lib/pm-notifier-error-inject.c err_inject_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 2651964481145720832 |
| PARAM_VALUE | 0 | nb->notifier_call | 5458315161292881920 |
drivers/power/supply/ds2760_battery.c w1_ds2760_add_slave() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 7945187275137662976 |
| MEM_ZERO | 0 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &w1_mlock | ||
| TYPE_LOCK | (struct w1_master)->mutex |
kernel/hung_task.c hung_task_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 5537271225139802112 |
| PARAM_VALUE | 0 | nb->next | 0 |
| PARAM_VALUE | 0 | nb->notifier_call | 6442563519175450624 |
| PARAM_VALUE | 0 | nb->priority | 0 |
| NOCHECK_CALL |
drivers/base/power/trace.c early_resume_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 6126323431738236928 |
| NOCHECK_CALL |
drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c ti_csi2rx_probe() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 1680466208808902656 |
| MEM_ZERO | 0 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/usb/r8152.c rtl8152_open() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 4773431216002306048 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireguard/device.c wg_device_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 416994890936053760 |
kernel/cpu.c cpu_hotplug_pm_sync_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 3966009039539724288 |
| PARAM_VALUE | 0 | nb->next | 0 |
| PARAM_VALUE | 0 | nb->notifier_call | 3161482299737280512 |
| PARAM_VALUE | 0 | nb->priority | 0 |
| NOCHECK_CALL |
drivers/base/firmware_loader/main.c register_fw_pm_ops() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 6790809598455861616 |
| PARAM_VALUE | 0 | nb->notifier_call | 8293132507025940480 |
drivers/char/random.c random_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 8645298358218051584 |
| LOCK2 | irq |
drivers/gpu/drm/virtio/virtgpu_kms.c virtio_gpu_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 3004373753450627072 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/powercap/intel_rapl_common.c rapl_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 7139907649400582144 |
net/bluetooth/hci_core.c hci_register_suspend_notifier() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 1245318815566303232 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &data->open_mutex | ||
| HALF_LOCKED2 | &tty->ldisc_sem |
drivers/platform/x86/intel/speed_select_if/isst_if_mbox_msr.c isst_if_mbox_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 1384637877321592832 |
arch/x86/power/cpu.c bsp_pm_check_init() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 3329670184615288832 |
| PARAM_VALUE | 0 | nb->next | 0 |
| PARAM_VALUE | 0 | nb->notifier_call | 3426997291245568 |
| PARAM_VALUE | 0 | nb->priority | (-2147483647) |
| NOCHECK_CALL |
drivers/greybus/svc_watchdog.c gb_svc_watchdog_create() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 7327468184054906880 |
| LOCK2 | &pool->lock |
arch/x86/kvm/../../../virt/kvm/kvm_main.c kvm_init_pm_notifier() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 4580285172013899776 |
| PARAM_VALUE | 0 | nb->priority | s32max |
| NOCHECK_CALL |
drivers/phy/broadcom/phy-brcm-usb.c brcm_usb_phy_probe() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 2287516996462702592 |
| MEM_ZERO | 0 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/staging/greybus/arche-platform.c arche_platform_probe() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 8502409001664843776 |
| MEM_ZERO | 0 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/wireless/ath/ath11k/core.c ath11k_core_pm_notifier_register() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 4768373504665329664 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/wireless/ath/wil6210/pcie_bus.c wil_pcie_probe() -> register_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 8012453707359727616 |
| RX_PATH | |||
| TASK_NOT_RUNNING |