Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/hugetlb.c __update_and_free_hugetlb_folio() -> hugetlb_vmemmap_restore_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| PARAM_VALUE | 0 | h->next_nid_to_alloc | s32min-1023 |
| PARAM_VALUE | 0 | h->next_nid_to_free | s32min-1023 |
| PARAM_VALUE | 0 | h->order | 9,18 |
| PARAM_VALUE | 0 | *h->surplus_huge_pages_node | 0-4294967295 |
| PARAM_VALUE | 1 | folio | 4096-ptr_max |
| PARAM_VALUE | 1 | folio->mapping->host->i_sb->s_cop->inode_info_offs | 1632,1720,1808,2632,2648 |
| BUF_SIZE | 0 | h | (-1),66112 |
| BUF_SIZE | 0 | h | (-1),66112 |
| CAPPED_DATA | 0 | h | 1 |
| DATA_SOURCE | 0 | h | $0 |
| DATA_SOURCE | 1 | folio | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &h->resize_lock |
mm/hugetlb.c bulk_vmemmap_restore_error() -> hugetlb_vmemmap_restore_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 | s32min-1023 |
| PARAM_VALUE | 0 | *h->surplus_huge_pages_node | 0-4294967295 |
| PARAM_VALUE | 1 | folio | 4096-ptr_max |
| DATA_SOURCE | 0 | h | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &h->resize_lock |
mm/hugetlb.c dissolve_free_hugetlb_folio() -> hugetlb_vmemmap_restore_folio()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 3469904130518499328-18446744073709547519 |
| PARAM_VALUE | 0 | h->order | 9,18 |
| PARAM_VALUE | 0 | h->surplus_huge_pages_node | 4096-ptr_max |
| PARAM_VALUE | 1 | folio | 4096-ptr_max |
| PARAM_VALUE | 1 | folio->page.page_type | u32max |
| BUF_SIZE | 0 | h | (-1),66112 |
| BUF_SIZE | 0 | h | (-1),66112 |
| CAPPED_DATA | 0 | h | 1 |
| DATA_SOURCE | 0 | h | r folio_hstate |
| DATA_SOURCE | 1 | folio | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 1 | folio | unit_page |
| LOCK2 | global &pcp_batch_high_lock | ||
| HALF_LOCKED2 | &dev->mutex | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &mf_mutex |