Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
mm/hugetlb.c flush_free_hpage_work() -> hugetlb_vmemmap_optimizable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 0 | h->order | 9,18 |
| DATA_SOURCE | 0 | h | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | 0 | &h->resize_lock | |
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct hstate)->resize_lock |
mm/hugetlb.c hugetlb_pages_alloc_boot() -> hugetlb_vmemmap_optimizable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 3469904130518499328-18446744073709547519 |
| PARAM_VALUE | 0 | h->order | 9,18 |
| BUF_SIZE | 0 | h | (-1),66112 |
| BUF_SIZE | 0 | h | (-1),66112 |
| CAPPED_DATA | 0 | h | 1 |
| CAPPED_DATA | 0 | h->next_nid_to_alloc | 1 |
| DATA_SOURCE | 0 | h | $0 |
| PARAM_COMPARE | 0 | h->max_huge_pages | != $0->nr_huge_pages |
| HALF_LOCKED2 | irq |
mm/hugetlb_vmemmap.c hugetlb_vmemmap_init() -> hugetlb_vmemmap_optimizable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 3469904130518499328-18446744073709547519 |
| BUF_SIZE | 0 | h | (-1),66112 |
| BUF_SIZE | 0 | h | (-1),66112 |
| CAPPED_DATA | 0 | h | 1 |
mm/hugetlb_vmemmap.c vmemmap_should_optimize_bootmem_page() -> hugetlb_vmemmap_optimizable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| LOCK2 | irq |
mm/hugetlb_vmemmap.c vmemmap_should_optimize_folio() -> hugetlb_vmemmap_optimizable()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h->order | 9,18 |
| BUF_SIZE | 0 | h | (-1),66112 |
| BUF_SIZE | 0 | h | (-1),66112 |
| DATA_SOURCE | 0 | h | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &h->resize_lock |