Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/hugetlb.c __alloc_bootmem_huge_page() -> hstate_next_node_to_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | next_node | 4096-ptr_max |
| PARAM_VALUE | 1 | nodes_allowed | 4256094302744453120 |
mm/hugetlb.c adjust_pool_surplus() -> hstate_next_node_to_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | next_node | 4096-ptr_max |
| PARAM_VALUE | 0 | *next_node | s32min-1023 |
| PARAM_VALUE | 1 | nodes_allowed | 2407241423065825304,8639069060854718464 |
| BUF_SIZE | 1 | nodes_allowed | 128,384 |
| BUF_SIZE | 1 | nodes_allowed | 128,384 |
| DATA_SOURCE | 1 | nodes_allowed | $1 |
| BIT_INFO | 1 | nodes_allowed | 0x2160210002500000,0x7fffffffffffffff |
| BIT_INFO | 1 | nodes_allowed | 0x2160210002500000,0xffffffffffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &h->resize_lock | ||
| LOCK2 | global &hugetlb_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hstate)->resize_lock |
mm/hugetlb.c adjust_pool_surplus() -> hstate_next_node_to_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | next_node | 4096-ptr_max |
| PARAM_VALUE | 0 | *next_node | 0-64 |
| PARAM_VALUE | 1 | nodes_allowed | 2407241423065825304,8639069060854718464 |
| BUF_SIZE | 1 | nodes_allowed | 128,384 |
| BUF_SIZE | 1 | nodes_allowed | 128,384 |
| CAPPED_DATA | 1 | *nodes_allowed->bits | 1 |
| DATA_SOURCE | 1 | nodes_allowed | $1 |
| BIT_INFO | 1 | nodes_allowed | 0x2160210002500000,0x7fffffffffffffff |
| BIT_INFO | 1 | nodes_allowed | 0x2160210002500000,0xffffffffffffffff |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &h->resize_lock | ||
| LOCK2 | global &hugetlb_lock | ||
| LOCK2 | irq | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hstate)->resize_lock |
mm/hugetlb.c alloc_pool_huge_folio() -> hstate_next_node_to_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | next_node | 4096-ptr_max |
| PARAM_VALUE | 0 | *next_node | s32min-1023 |
| PARAM_VALUE | 1 | nodes_allowed | 2407241423065825304,8639069060854718464 |
| BUF_SIZE | 1 | nodes_allowed | 128,384 |
| BUF_SIZE | 1 | nodes_allowed | 128,384 |
| DATA_SOURCE | 0 | next_node | $3 |
| DATA_SOURCE | 1 | nodes_allowed | $1 |
| BIT_INFO | 1 | nodes_allowed | 0x2160210002500000,0x7fffffffffffffff |
| BIT_INFO | 1 | nodes_allowed | 0x2160210002500000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &h->resize_lock |
mm/hugetlb.c alloc_pool_huge_folio() -> hstate_next_node_to_alloc()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | next_node | 4096-ptr_max |
| PARAM_VALUE | 0 | *next_node | 0-64 |
| PARAM_VALUE | 1 | nodes_allowed | 2407241423065825304,8639069060854718464 |
| BUF_SIZE | 1 | nodes_allowed | 128,384 |
| BUF_SIZE | 1 | nodes_allowed | 128,384 |
| CAPPED_DATA | 1 | *nodes_allowed->bits | 1 |
| DATA_SOURCE | 0 | next_node | $3 |
| DATA_SOURCE | 1 | nodes_allowed | $1 |
| BIT_INFO | 1 | nodes_allowed | 0x2160210002500000,0x7fffffffffffffff |
| BIT_INFO | 1 | nodes_allowed | 0x2160210002500000,0xffffffffffffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &h->resize_lock |