Defined in 1 files as a function:
Referenced in 3 files:
Smatch caller information:
mm/hugetlb_sysctl.c hugetlb_overcommit_handler() -> hstate_is_gigantic_no_runtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &pool->lock |
mm/hugetlb.c __nr_hugepages_store_common() -> hstate_is_gigantic_no_runtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| DATA_SOURCE | 0 | h | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &pool->lock |
mm/hugetlb.c __update_and_free_hugetlb_folio() -> hstate_is_gigantic_no_runtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 0,4096-ptr_max |
| BUF_SIZE | 0 | h | (-1),66112 |
| BUF_SIZE | 0 | h | (-1),66112 |
| CAPPED_DATA | 0 | h | 1 |
| DATA_SOURCE | 0 | h | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | 0 | &h->resize_lock |
mm/hugetlb.c alloc_surplus_hugetlb_folio() -> hstate_is_gigantic_no_runtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| DATA_SOURCE | 0 | h | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/hugetlb.c hugetlb_init_hstates() -> hstate_is_gigantic_no_runtime()
| 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 |
| CAPPED_DATA | 0 | h->next_nid_to_free | 1 |
mm/hugetlb.c remove_hugetlb_folio() -> hstate_is_gigantic_no_runtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 0,4096-ptr_max |
| PARAM_VALUE | 0 | h->order | 9,18 |
| BUF_SIZE | 0 | h | (-1),66112 |
| BUF_SIZE | 0 | h | (-1),66112 |
| CAPPED_DATA | 0 | h | 1 |
| DATA_SOURCE | 0 | h | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &hugetlb_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | flags | ||
| HALF_LOCKED2 | global &pcp_batch_high_lock | ||
| HALF_LOCKED2 | irq | ||
| HALF_LOCKED2 | 0 | &h->resize_lock |
mm/hugetlb.c return_unused_surplus_pages() -> hstate_is_gigantic_no_runtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| DATA_SOURCE | 0 | h | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &hugetlb_lock | ||
| LOCK2 | irq |
mm/hugetlb_sysfs.c nr_overcommit_hugepages_store() -> hstate_is_gigantic_no_runtime()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | h | 4096-ptr_max |
| DATA_SOURCE | 0 | h | r kobj_to_hstate |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |