Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
- include/linux/memory_hotplug.h, line 290 (as a function)
- mm/memory_hotplug.c, line 2461 (as a function)
Referenced in 2 files:
Smatch caller information:
mm/memory_hotplug.c offline_and_remove_memory() -> offline_and_remove_memory_ranges()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ranges | 1246268606321176576 |
| PARAM_VALUE | 1 | nr_ranges | 1 |
| HALF_LOCKED2 | &pool->lock |
drivers/dax/kmem.c dax_kmem_do_hotremove() -> offline_and_remove_memory_ranges()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ranges | 4096-ptr_max |
| PARAM_VALUE | 1 | nr_ranges | 1-s32max |
| BUF_SIZE | 0 | ranges | 0-u64max |
| DATA_SOURCE | 0 | ranges | r _kmalloc_noprof |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |