Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/hugetlb.c hugetlb_pages_alloc_boot_node() -> alloc_pool_huge_folio()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 0 h->order 9,18
PARAM_VALUE 1 nodes_allowed 2407241423065825304
PARAM_VALUE 2 node_alloc_noretry 6814207949914554368
PARAM_VALUE 3 next_node 8928443103835439104
PARAM_VALUE 3 *next_node 0-64
BUF_SIZE 0 h 66112
BUF_SIZE 0 h 66112
BUF_SIZE 1 nodes_allowed 384
DATA_SOURCE 0 h $2

mm/hugetlb.c set_max_huge_pages() -> alloc_pool_huge_folio()

Type Parameter Key Value
PARAM_VALUE 0 h 4096-ptr_max
PARAM_VALUE 0 h->next_nid_to_alloc 0-64
PARAM_VALUE 0 h->next_nid_to_free 0-64
PARAM_VALUE 0 h->order 9,18
PARAM_VALUE 0 h->resize_lock.dep_map->name 0-255
PARAM_VALUE 0 h->resize_lock.first_waiter 0,4096-ptr_max
PARAM_VALUE 0 h->resize_lock.first_waiter->list.prev->next 5159360019465732096
PARAM_VALUE 0 h->resize_lock.osq.tail.counter 0-s32max
PARAM_VALUE 0 h->resize_lock.wait_lock.dep_map->name 0-255
PARAM_VALUE 0 h->resize_lock.wait_lock.owner (-1)
PARAM_VALUE 0 h->resize_lock.wait_lock.owner_cpu u32max
PARAM_VALUE 0 *h->surplus_huge_pages_node 0-4294967295
PARAM_VALUE 1 nodes_allowed 2407241423065825304,8639069060854718464
PARAM_VALUE 2 node_alloc_noretry 4096-ptr_max
PARAM_VALUE 3 next_node 4096-ptr_max
PARAM_VALUE 3 *next_node 0-64
BUF_SIZE 1 nodes_allowed 128,384
BUF_SIZE 1 nodes_allowed 128,384
BUF_SIZE 2 node_alloc_noretry 128
CAPPED_DATA 0 &h->resize_lock 1
DATA_SOURCE 0 h $0
DATA_SOURCE 1 nodes_allowed $3
DATA_SOURCE 2 node_alloc_noretry r _kmalloc_noprof
BIT_INFO 1 nodes_allowed 0x2160210002500000,0x7fffffffffffffff
BIT_INFO 1 nodes_allowed 0x2160210002500000,0xffffffffffffffff
MEM_ZERO 2 node_alloc_noretry->bits
RX_PATH
TASK_NOT_RUNNING
LOCK2 0 &h->resize_lock
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct hstate)->resize_lock