Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 33 files:
- drivers/acpi/acpi_video.c, line 1853
- drivers/acpi/battery.c, line 1379
- drivers/base/firmware_loader/main.c, line 1677
- drivers/char/apm-emulation.c, line 663
- drivers/gpu/drm/amd/amdgpu/amdgpu_device.c, line 4217
- drivers/gpu/drm/virtio/virtgpu_kms.c, line 349
- drivers/gpu/drm/vmwgfx/vmwgfx_drv.c, line 1162
- drivers/gpu/drm/xe/xe_pm.c
- drivers/greybus/svc_watchdog.c
- drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c, line 1777
- drivers/mfd/twl6030-irq.c, line 368
- drivers/net/usb/r8152.c, line 7178
- drivers/net/wireguard/device.c
- drivers/net/wireless/ath/ath11k/core.c, line 2681
- drivers/net/wireless/ath/wil6210/pcie_bus.c, line 470
- drivers/net/wwan/iosm/iosm_ipc_pcie.c, line 581
- drivers/phy/broadcom/phy-brcm-usb.c, line 593
- drivers/platform/x86/intel/speed_select_if/isst_if_mbox_msr.c, line 207
- drivers/platform/x86/intel/telemetry/debugfs.c, line 952
- drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c, line 319
- drivers/platform/x86/samsung-laptop.c, line 1747
- drivers/power/supply/ds2760_battery.c, line 726
- drivers/powercap/intel_rapl_common.c, line 1885
- drivers/staging/greybus/arche-platform.c
- drivers/video/fbdev/omap2/omapfb/dss/core.c, line 177
- drivers/virtio/virtio_mem.c
- drivers/watchdog/watchdog_core.c, line 415
- kernel/power/main.c, line 166
- kernel/trace/fgraph.c
- lib/pm-notifier-error-inject.c, line 41
- net/bluetooth/hci_core.c, line 2764
- sound/soc/soc-jack.c, line 285
- virt/kvm/kvm_main.c, line 914
Smatch caller information:
drivers/acpi/acpi_video.c acpi_video_bus_unregister_backlight() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
drivers/net/wwan/iosm/iosm_ipc_pcie.c iosm_ipc_driver_exit() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 6978202817442689024 |
| NOCHECK_CALL |
drivers/gpu/drm/xe/xe_pm.c xe_pm_fini() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
drivers/gpu/drm/xe/xe_pm.c xe_pm_init() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 5021753386572267520 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/mfd/twl6030-irq.c twl6030_exit_irq() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &dev->mutex |
kernel/trace/fgraph.c register_ftrace_graph() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 948552107564257280 |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | _T->lock |
kernel/trace/fgraph.c unregister_ftrace_graph() -> unregister_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_remove() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/gpu/drm/vmwgfx/vmwgfx_drv.c vmw_driver_unload() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/samsung-laptop.c samsung_exit() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| NOCHECK_CALL |
sound/soc/soc-jack.c jack_free_gpios() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | _T->lock |
drivers/watchdog/watchdog_core.c __watchdog_unregister_device() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &wtd_deferred_reg_mutex | ||
| HALF_LOCKED2 | &wdt->reg_lock |
drivers/platform/x86/intel/telemetry/debugfs.c telemetry_debugfs_exit() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 5570202506607394816 |
| NOCHECK_CALL |
drivers/virtio/virtio_mem.c virtio_mem_deinit_hotplug() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &_d->mutex | ||
| TYPE_LOCK | (struct device)->mutex |
drivers/virtio/virtio_mem.c virtio_mem_init_hotplug() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 262987717903671296 |
| PARAM_VALUE | 0 | nb->priority | s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/platform/x86/intel/uncore-frequency/uncore-frequency.c intel_uncore_exit() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 3855050701006499840 |
| NOCHECK_CALL |
lib/pm-notifier-error-inject.c err_inject_exit() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 2651964481145720832 |
| NOCHECK_CALL |
drivers/power/supply/ds2760_battery.c w1_ds2760_remove_slave() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &dev->list_mutex | ||
| HALF_LOCKED2 | &dev->bus_mutex | ||
| TYPE_LOCK | (struct w1_master)->list_mutex |
drivers/media/platform/ti/j721e-csi2rx/j721e-csi2rx.c ti_csi2rx_remove() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/usb/r8152.c rtl8152_close() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &netdev->lock | ||
| HALF_LOCKED2 | &rdev->wiphy.mtx | ||
| HALF_LOCKED2 | global &rtnl_mutex |
drivers/net/wireguard/device.c wg_device_init() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 416994890936053760 |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| NOCHECK_CALL |
drivers/net/wireguard/device.c wg_device_uninit() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 416994890936053760 |
| NOCHECK_CALL |
drivers/base/firmware_loader/main.c unregister_fw_pm_ops() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 6790809598455861616 |
| NOCHECK_CALL |
drivers/gpu/drm/virtio/virtgpu_kms.c virtio_gpu_deinit() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_d->mutex |
drivers/powercap/intel_rapl_common.c rapl_exit() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 7139907649400582144 |
| NOCHECK_CALL |
net/bluetooth/hci_core.c hci_unregister_suspend_notifier() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 1-u64max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/platform/x86/intel/speed_select_if/isst_if_mbox_msr.c isst_if_mbox_exit() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 1384637877321592832 |
| NOCHECK_CALL |
drivers/greybus/svc_watchdog.c gb_svc_watchdog_create() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 7327468184054906880 |
| NOCHECK_CALL | |||
| LOCK2 | &pool->lock |
drivers/greybus/svc_watchdog.c gb_svc_watchdog_destroy() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &pool->lock |
arch/x86/kvm/../../../virt/kvm/kvm_main.c kvm_destroy_pm_notifier() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &device->dev_set->lock | ||
| HALF_LOCKED2 | &dst_kvm->lock | ||
| HALF_LOCKED2 | &kvm->lock |
drivers/phy/broadcom/phy-brcm-usb.c brcm_usb_phy_remove() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/gpu/drm/amd/amdgpu/amdgpu_device.c amdgpu_device_fini_hw() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/staging/greybus/arche-platform.c arche_platform_probe() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| PARAM_VALUE | 0 | nb->next | 0,4096-ptr_max |
| PARAM_VALUE | 0 | nb->notifier_call | 8502409001664843776 |
| MEM_ZERO | 0 | nb | |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
drivers/staging/greybus/arche-platform.c arche_platform_remove() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &_dev->mutex |
drivers/net/wireless/ath/ath11k/core.c ath11k_core_pm_notifier_unregister() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/net/wireless/ath/wil6210/pcie_bus.c wil_pcie_remove() -> unregister_pm_notifier()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | nb | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |