Defined in 2 files as a function:
Referenced in 2 files:
Smatch caller information:
mm/memory_hotplug.c __add_memory() -> release_memory_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | resource | 4096-ptr_max |
| PARAM_VALUE | 0 | resource->parent->child | 4096-ptr_max |
| PARAM_VALUE | 0 | resource->sibling->start | 1-u64max |
| BUF_SIZE | 0 | resource | 64 |
| CAPPED_DATA | 0 | resource | 1 |
| DATA_SOURCE | 0 | resource | r register_memory_resource |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| HALF_LOCKED2 | global &device_hotplug_lock |
mm/memory_hotplug.c __add_memory_driver_managed() -> release_memory_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | resource | 4096-ptr_max |
| PARAM_VALUE | 0 | resource->parent | 4096-ptr_max |
| PARAM_VALUE | 0 | resource->parent->child | 4096-ptr_max |
| PARAM_VALUE | 0 | resource->sibling | 0,4096-ptr_max |
| PARAM_VALUE | 0 | resource->sibling->start | 1-u64max |
| BUF_SIZE | 0 | resource | 64 |
| CAPPED_DATA | 0 | resource | 1 |
| DATA_SOURCE | 0 | resource | r register_memory_resource |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &device_hotplug_lock | ||
| HALF_LOCKED2 | &pool->lock |
drivers/xen/balloon.c reserve_additional_memory() -> release_memory_resource()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | resource | 0,4096-ptr_max |
| PARAM_VALUE | 0 | resource->parent->child | 4096-ptr_max |
| PARAM_VALUE | 0 | resource->sibling->start | 1-u64max |
| BUF_SIZE | 0 | resource | (-1),64 |
| BUF_SIZE | 0 | resource | (-1),64 |
| CAPPED_DATA | 0 | resource | 1 |
| DATA_SOURCE | 0 | resource | r additional_memory_resource |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &balloon_mutex |