Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/hugetlb.c add_reservation_in_range() -> hugetlb_resv_map_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | from | s64min-9223372036854775805 |
| PARAM_VALUE | 3 | to | 0-9223372036854775806 |
| PARAM_VALUE | 4 | h | 0,4096-ptr_max |
| PARAM_VALUE | 4 | h->next_nid_to_free | s32min-1023 |
| PARAM_VALUE | 5 | cg | 0,4096-ptr_max |
| PARAM_VALUE | 6 | regions_needed | 0,2352379853175152640,3343876540758507520,5549863024936091648 |
| PARAM_VALUE | 6 | *regions_needed | 0-1 |
| BUF_SIZE | 0 | map | (-1),312 |
| BUF_SIZE | 0 | map | (-1),312 |
| CAPPED_DATA | 2 | from | 1 |
| CAPPED_DATA | 2 | from | 1 |
| CAPPED_DATA | 3 | to | 1 |
| CAPPED_DATA | 3 | to | 1 |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 4 | h | $4 |
| DATA_SOURCE | 5 | cg | $3 |
| DATA_SOURCE | 6 | regions_needed | $5 |
| PARAM_COMPARE | 2 | from | < $3 |
| PARAM_COMPARE | 3 | to | > $2 |
| PARAM_COMPARE | 3 | to | > $2 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | from | 1-26388283260927[c] |
| LOCK2 | 0 | &map->lock | |
| TYPE_LOCK | (struct resv_map)->lock |
mm/hugetlb.c add_reservation_in_range() -> hugetlb_resv_map_add()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | map | 4096-ptr_max |
| PARAM_VALUE | 0 | map->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 2 | from | s64min-9223372036854775806 |
| PARAM_VALUE | 3 | to | 0-s64max |
| PARAM_VALUE | 4 | h | 0,4096-ptr_max |
| PARAM_VALUE | 4 | h->next_nid_to_free | s32min-1023 |
| PARAM_VALUE | 5 | cg | 0,4096-ptr_max |
| PARAM_VALUE | 6 | regions_needed | 0,2352379853175152640,3343876540758507520,5549863024936091648 |
| PARAM_VALUE | 6 | *regions_needed | 0-2 |
| BUF_SIZE | 0 | map | (-1),312 |
| BUF_SIZE | 0 | map | (-1),312 |
| CAPPED_DATA | 2 | from | 1 |
| CAPPED_DATA | 2 | from | 1 |
| CAPPED_DATA | 3 | to | 1 |
| CAPPED_DATA | 3 | to | 1 |
| DATA_SOURCE | 0 | map | $0 |
| DATA_SOURCE | 3 | to | $2 |
| DATA_SOURCE | 4 | h | $4 |
| DATA_SOURCE | 5 | cg | $3 |
| DATA_SOURCE | 6 | regions_needed | $5 |
| PARAM_COMPARE | 2 | from | < $3 |
| PARAM_COMPARE | 2 | from | < $3 |
| PARAM_COMPARE | 3 | to | > $2 |
| NOSPEC | 3 | to | |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 2 | from | 1-26388283260927[c] |
| USER_DATA | 3 | to | 0-s64max[c] |
| LOCK2 | 0 | &map->lock | |
| TYPE_LOCK | (struct resv_map)->lock |