Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/hugetlb.c set_max_huge_pages() -> adjust_pool_surplus()
| 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 | 1-u64max |
| PARAM_VALUE | 0 | *h->surplus_huge_pages_node | 0-4294967295 |
| PARAM_VALUE | 1 | nodes_allowed | 2407241423065825304,8639069060854718464 |
| PARAM_VALUE | 2 | delta | (-1) |
| BUF_SIZE | 1 | nodes_allowed | 128,384 |
| BUF_SIZE | 1 | nodes_allowed | 128,384 |
| CAPPED_DATA | 0 | &h->resize_lock | 1 |
| DATA_SOURCE | 0 | h | $0 |
| DATA_SOURCE | 1 | nodes_allowed | $3 |
| BIT_INFO | 1 | nodes_allowed | 0x2160210002500000,0x7fffffffffffffff |
| BIT_INFO | 1 | nodes_allowed | 0x2160210002500000,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &hugetlb_lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &h->resize_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hstate)->resize_lock |
mm/hugetlb.c set_max_huge_pages() -> adjust_pool_surplus()
| 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 | delta | 1 |
| BUF_SIZE | 1 | nodes_allowed | 128,384 |
| BUF_SIZE | 1 | nodes_allowed | 128,384 |
| CAPPED_DATA | 0 | &h->resize_lock | 1 |
| DATA_SOURCE | 0 | h | $0 |
| DATA_SOURCE | 1 | nodes_allowed | $3 |
| BIT_INFO | 1 | nodes_allowed | 0x2160210002500000,0x7fffffffffffffff |
| BIT_INFO | 1 | nodes_allowed | 0x2160210002500000,0xffffffffffffffff |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &hugetlb_lock | ||
| LOCK2 | irq | ||
| LOCK2 | 0 | &h->resize_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hstate)->resize_lock |