Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/memory_hotplug.c __add_memory_driver_managed() -> __add_memory_resource()

Type Parameter Key Value
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 1 res->parent 4096-ptr_max
PARAM_VALUE 1 res->parent->child 4096-ptr_max
PARAM_VALUE 1 res->sibling 0,4096-ptr_max
PARAM_VALUE 1 res->sibling->start 1-u64max
PARAM_VALUE 2 mhp_flags 4-6
PARAM_VALUE 3 online_type 0-3
BUF_SIZE 1 res 64
DATA_SOURCE 0 nid $0
DATA_SOURCE 1 res r register_memory_resource
DATA_SOURCE 2 mhp_flags $4
DATA_SOURCE 3 online_type $5
FUZZY_MAX 2 mhp_flags 4
BIT_INFO 2 mhp_flags 0x4,0x7
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &device_hotplug_lock
HALF_LOCKED2 &pool->lock

mm/memory_hotplug.c add_memory_resource() -> __add_memory_resource()

Type Parameter Key Value
PARAM_VALUE 1 res 4096-ptr_max
PARAM_VALUE 1 res->parent->child 4096-ptr_max
PARAM_VALUE 1 res->sibling->start 1-u64max
PARAM_VALUE 2 mhp_flags 0-1,6
PARAM_VALUE 3 online_type 0-3
BUF_SIZE 1 res 64
CAPPED_DATA 1 res 1
DATA_SOURCE 0 nid $0
DATA_SOURCE 1 res $1
DATA_SOURCE 2 mhp_flags $2
HARD_MAX 2 mhp_flags 6
PREEMPT_ADD
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &device_hotplug_lock