Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/linux/memory_hotplug.h, line 218 (as a function)
- mm/memory_hotplug.c, line 1362 (as a function)
Referenced in 3 files:
Smatch caller information:
drivers/dax/bus.c memmap_on_memory_store() -> mhp_supports_memmap_on_memory()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
mm/memory_hotplug.c __add_memory_resource() -> mhp_supports_memmap_on_memory()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &device_hotplug_lock |