Defined in 1 files as a function:

Referenced in 42 files:

Smatch caller information:

drivers/platform/x86/adv_swbutton.c adv_swbutton_probe() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 0 device 1-u64max
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/acpi_video.c acpi_video_dev_add_notify_handler() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &video->device_list_lock
LOCK2 _T->lock
TYPE_LOCK (struct acpi_video_bus)->device_list_lock

drivers/platform/x86/intel/hid.c intel_hid_probe() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max,(-1)
PARAM_VALUE 0 device->common.descriptor_type 15
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/quickstart.c quickstart_probe() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 0 device 1-u64max
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 240
DATA_SOURCE 3 context r devm_kzalloc
RX_PATH
TASK_NOT_RUNNING

drivers/virt/vmgenid.c vmgenid_add_acpi() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 0 device 0,4096-ptr_max,(-1)
PARAM_VALUE 0 device->common.descriptor_type 15
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 1616
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING

sound/hda/codecs/side-codecs/hda_component.c hda_component_manager_bind_acpi_notifications() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
DATA_SOURCE 2 handler $2
DATA_SOURCE 3 context $3
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &component_mutex

drivers/platform/x86/lenovo/ideapad-laptop.c ideapad_acpi_add() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 0 device 0,4096-ptr_max,(-1)
PARAM_VALUE 0 device->common.descriptor_type 15
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 2072
DATA_SOURCE 3 context r devm_kzalloc
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/intel/int340x_thermal/int3406_thermal.c int3406_thermal_probe() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 40
DATA_SOURCE 3 context r devm_kzalloc
RX_PATH
TASK_NOT_RUNNING

drivers/platform/chrome/cros_usbpd_notify.c cros_usbpd_notify_probe_acpi() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 3
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 40
DATA_SOURCE 3 context r devm_kzalloc
RX_PATH
TASK_NOT_RUNNING

drivers/xen/xen-acpi-pad.c acpi_pad_probe() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
RX_PATH
TASK_NOT_RUNNING
UNITS 3 context unit_byte

drivers/platform/chrome/cros_ec_lpc.c cros_ec_lpc_probe() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 3
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 704
DATA_SOURCE 3 context r cros_ec_device_alloc
RX_PATH
TASK_NOT_RUNNING

drivers/usb/typec/ucsi/ucsi_acpi.c ucsi_acpi_probe() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 56
DATA_SOURCE 3 context r devm_kzalloc
RX_PATH
TASK_NOT_RUNNING

drivers/ata/libata-zpodd.c ata_acpi_add_pm_notifier() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 1
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context (-1),8064
DATA_SOURCE 0 device r ata_dev_acpi_handle
DATA_SOURCE 3 context $0
NOCHECK_CALL

drivers/platform/x86/lenovo/thinkpad_acpi.c setup_acpi_notify() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max,(-1)
PARAM_VALUE 3 context 4096-ptr_max
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/eeepc-laptop.c eeepc_register_rfkill_notifier() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 1
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 1384
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING

drivers/pci/hotplug/acpiphp_ibm.c ibm_acpiphp_init() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 3308517720831791104
BUF_SIZE 3 context 16

drivers/acpi/device_pm.c acpi_add_pm_notifier() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 1
PARAM_VALUE 3 context 0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 device->object->string.length
LOCK2 global &acpi_pm_notifier_install_lock

drivers/platform/x86/amd/pmf/acpi.c apmf_install_handler() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 3
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 12400
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/amd/pmf/acpi.c apmf_install_handler() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 3
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 12400
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 0 device->object->string.length

drivers/thermal/intel/int340x_thermal/int3400_thermal.c int3400_thermal_probe() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 112
BUF_SIZE 3 context 112
BUF_SIZE 3 context->rel_misc_dev_res (-1),8,96,248,1296
BUF_SIZE 3 context->thermal 2576-s32max
DATA_SOURCE 3 context r _kzalloc_noprof
RX_PATH
TASK_NOT_RUNNING

drivers/net/wireless/ath/ath12k/acpi.c ath12k_acpi_start() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
DATA_SOURCE 3 context $0
HALF_LOCKED2 &pool->lock

drivers/acpi/processor_driver.c __acpi_processor_start() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &cpuhp_state_mutex
HALF_LOCKED2 irq

drivers/platform/x86/samsung-galaxybook.c galaxybook_acpi_init() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 0 device 0,4096-ptr_max,(-1)
PARAM_VALUE 0 device->common.descriptor_type 15
PARAM_VALUE 1 handler_type 3
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 1336
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/dptf/dptf_power.c dptf_power_add() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 0 device 0,4096-ptr_max,(-1)
PARAM_VALUE 0 device->common.descriptor_type 15
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/intel/int340x_thermal/int3402_thermal.c int3402_thermal_probe() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 0 device 0,4096-ptr_max,(-1)
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 16
DATA_SOURCE 3 context r devm_kzalloc
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/intel/int340x_thermal/processor_thermal_device.c proc_thermal_add() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 0 device 0,4096-ptr_max,(-1)
PARAM_VALUE 0 device->common.descriptor_type 15
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 104
BUF_SIZE 3 context 104
BUF_SIZE 3 context->int340x_zone 40
BUF_SIZE 3 context->priv_data (-1),216
CAPPED_DATA 3 context->int340x_zone->zone->num_trips 1
DATA_SOURCE 3 context $1
BIT_INFO 3 context->int340x_zone->zone->ops.get_temp 0x2202305141280000,0xffffffffffffffff
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/intel/int1092/intel_sar.c sar_probe() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING

drivers/ptp/ptp_vmclock.c vmclock_setup_acpi_notification() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 1616
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/button.c acpi_button_add_event_handler() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 3
PARAM_VALUE 2 handler 1848574292956127232
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 104
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/nfit/core.c acpi_nfit_add_dimm() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 2
DATA_SOURCE 3 context r acpi_find_child_device
BIT_INFO 3 context 0x0,0x0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &acpi_desc->init_mutex
LOCK2 _T->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct acpi_nfit_desc)->init_mutex

drivers/platform/x86/lg-laptop.c lg_laptop_input_init() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max,(-1)
PARAM_VALUE 0 device->common.descriptor_type 15
PARAM_VALUE 1 handler_type 3
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 2480
DATA_SOURCE 0 device $1
DATA_SOURCE 3 context r devm_input_allocate_device
RX_PATH
TASK_NOT_RUNNING

drivers/thermal/intel/int340x_thermal/int3403_thermal.c int3403_sensor_add() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 0 device 0,4096-ptr_max,(-1)
PARAM_VALUE 0 device->common.descriptor_type 15
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 32
BUF_SIZE 3 context 32
BUF_SIZE 3 context->priv 8
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING

drivers/platform/wmi/core.c acpi_wmi_probe() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 3
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 1616
DATA_SOURCE 3 context r device_create
RX_PATH
TASK_NOT_RUNNING

drivers/pci/pcie/edr.c pci_acpi_add_edr_notifier() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 1
PARAM_VALUE 3 context 4096-ptr_max
DATA_SOURCE 3 context $0

drivers/platform/x86/panasonic-laptop.c pcc_register_optd_notifier() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 1
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 108-1096
DATA_SOURCE 3 context $0
STR_LEN 0 device 24
RX_PATH
TASK_NOT_RUNNING

drivers/acpi/bus.c acpi_bus_init() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 0 device (-1)
PARAM_VALUE 1 handler_type 1
PARAM_VALUE 2 handler 4314183865351299072
PARAM_VALUE 3 context 0

drivers/acpi/bus.c acpi_dev_install_notify_handler() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 2-3
PARAM_VALUE 3 context 0,4096-ptr_max
BUF_SIZE 3 context (-1),24,40,108-1096,1384,1600,1616,1752,2576,7472
BUF_SIZE 3 context (-1),24,40,108-1096,1384,1600,1616,1752,2576,7472
DATA_SOURCE 1 handler_type $1
DATA_SOURCE 2 handler $2
DATA_SOURCE 3 context $3
HARD_MAX 1 handler_type 3
RX_PATH
TASK_NOT_RUNNING
UNITS 3 context unit_byte

drivers/acpi/bus.c acpi_setup_sb_notify_handler() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 0

drivers/platform/x86/intel/vbtn.c intel_vbtn_probe() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max,(-1)
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 3 context 4096-ptr_max
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/apple-gmux.c gmux_probe() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 0 device 4096-ptr_max,(-1)
PARAM_VALUE 0 device->common.descriptor_type 15
PARAM_VALUE 1 handler_type 2
PARAM_VALUE 2 handler 2850313661010944000
PARAM_VALUE 3 context 4096-ptr_max
DATA_SOURCE 3 context $0
RX_PATH
TASK_NOT_RUNNING

drivers/platform/x86/asus-wmi.c asus_register_rfkill_notifier() -> acpi_install_notify_handler()

Type Parameter Key Value
PARAM_VALUE 1 handler_type 1
PARAM_VALUE 3 context 4096-ptr_max
BUF_SIZE 3 context 5808
DATA_SOURCE 3 context $0
STR_LEN 0 device 14
RX_PATH
TASK_NOT_RUNNING