Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/linux/memory_hotplug.h, line 207 (as a function)
- mm/memory_hotplug.c, line 213 (as a function)
Referenced in 7 files:
- arch/x86/virt/vmx/tdx/tdx.c, line 1168
- mm/kmemleak.c, line 1929
- mm/memory-failure.c, line 3001
- mm/memory-tiers.c, line 712
- mm/memory_hotplug.c
- mm/ptdump.c, line 179
- mm/vmscan.c, line 5369
Smatch caller information:
mm/memory-tiers.c memory_tier_late_init() -> get_online_mems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
mm/ptdump.c ptdump_walk_pgd() -> get_online_mems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &m->lock |
mm/memory_hotplug.c restore_online_page_callback() -> get_online_mems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &child_device->mutex | ||
| HALF_LOCKED2 | global &virtio_mem_mutex |
mm/memory_hotplug.c set_online_page_callback() -> get_online_mems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &virtio_mem_mutex |
arch/x86/virt/vmx/tdx/tdx.c init_tdx_module() -> get_online_mems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL |
mm/vmscan.c lru_gen_change_state() -> get_online_mems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | global &cgroup_mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/memory-failure.c soft_offline_page() -> get_online_mems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &mf_mutex | ||
| HALF_LOCKED2 | &of->mutex |
mm/kmemleak.c __kmemleak_scan() -> get_online_mems()
| Type | Parameter | Key | Value |
|---|---|---|---|
| NOCHECK_CALL | |||
| LOCK2 | global &scan_mutex |