Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 13 files:

Smatch caller information:

mm/mmap.c init_reserve_notifier() -> register_memory_notifier()

Type Parameter Key Value
PARAM_VALUE 0 nb 8313322360521117696
PARAM_VALUE 0 nb->next 0
PARAM_VALUE 0 nb->notifier_call 83820514467983360
PARAM_VALUE 0 nb->priority 0

drivers/hv/hv_balloon.c balloon_probe() -> register_memory_notifier()

Type Parameter Key Value
PARAM_VALUE 0 nb 1418978316046991360
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL

kernel/crash_core.c crash_hotplug_init() -> register_memory_notifier()

Type Parameter Key Value
PARAM_VALUE 0 nb 1479971308318904320
NOCHECK_CALL

mm/page_ext.c page_ext_init() -> register_memory_notifier()

Type Parameter Key Value
PARAM_VALUE 0 nb 5542717433060229120
PARAM_VALUE 0 nb->next 0
PARAM_VALUE 0 nb->notifier_call 625134656930455552
PARAM_VALUE 0 nb->priority 0
NOCHECK_CALL
HALF_LOCKED2 irq

mm/mm_init.c mm_compute_batch_init() -> register_memory_notifier()

Type Parameter Key Value
PARAM_VALUE 0 nb 6353926163784146944
PARAM_VALUE 0 nb->next 0
PARAM_VALUE 0 nb->notifier_call 8446325131519856640
PARAM_VALUE 0 nb->priority 10
NOCHECK_CALL

drivers/virtio/virtio_mem.c virtio_mem_init_hotplug() -> register_memory_notifier()

Type Parameter Key Value
PARAM_VALUE 0 nb 4096-ptr_max
PARAM_VALUE 0 nb->notifier_call 3902013258354638848
RX_PATH
TASK_NOT_RUNNING

mm/ksm.c ksm_init() -> register_memory_notifier()

Type Parameter Key Value
PARAM_VALUE 0 nb 587511903608979456
PARAM_VALUE 0 nb->next 0
PARAM_VALUE 0 nb->notifier_call 1065197344553979904
PARAM_VALUE 0 nb->priority 100
NOCHECK_CALL

arch/x86/virt/vmx/tdx/tdx.c tdx_init() -> register_memory_notifier()

Type Parameter Key Value
PARAM_VALUE 0 nb 1634625934304538624

lib/memory-notifier-error-inject.c err_inject_init() -> register_memory_notifier()

Type Parameter Key Value
PARAM_VALUE 0 nb 3226790167614914560
PARAM_VALUE 0 nb->notifier_call 5458315161292881920

drivers/xen/balloon.c balloon_init() -> register_memory_notifier()

Type Parameter Key Value
PARAM_VALUE 0 nb 379868426411819008
NOCHECK_CALL

fs/proc/kcore.c proc_kcore_init() -> register_memory_notifier()

Type Parameter Key Value
PARAM_VALUE 0 nb 946810484376551424
PARAM_VALUE 0 nb->next 0
PARAM_VALUE 0 nb->notifier_call 3392384714921775104
PARAM_VALUE 0 nb->priority 0
NOCHECK_CALL

mm/kasan/shadow.c kasan_memhotplug_init() -> register_memory_notifier()

Type Parameter Key Value
PARAM_VALUE 0 nb 6728383758991908864
PARAM_VALUE 0 nb->next 0
PARAM_VALUE 0 nb->notifier_call 1410452808417173504
PARAM_VALUE 0 nb->priority 0
NOCHECK_CALL