Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/hugetlb.c region_add() -> add_reservation_in_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | resv | 4096-ptr_max |
| PARAM_VALUE | 0 | resv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | f | 0-36028797018963967 |
| PARAM_VALUE | 2 | t | 0-s64max |
| PARAM_VALUE | 3 | h_cg | 0 |
| PARAM_VALUE | 4 | h | 0 |
| PARAM_VALUE | 5 | regions_needed | 3343876540758507520 |
| PARAM_VALUE | 5 | *regions_needed | 0-3 |
| BUF_SIZE | 0 | resv | (-1),312 |
| BUF_SIZE | 0 | resv | (-1),312 |
| CAPPED_DATA | 1 | f | 1 |
| CAPPED_DATA | 1 | f | 1 |
| DATA_SOURCE | 0 | resv | $0 |
| DATA_SOURCE | 1 | f | $1 |
| DATA_SOURCE | 2 | t | $2 |
| NOSPEC | 1 | f | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | f | 1-36028797018963967[c] |
| USER_DATA | 2 | t | 0-s64max |
| LOCK2 | 0 | &resv->lock | |
| TYPE_LOCK | (struct resv_map)->lock |
mm/hugetlb.c region_add() -> add_reservation_in_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | resv | 4096-ptr_max |
| PARAM_VALUE | 0 | resv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | f | 0-36028797018963967 |
| PARAM_VALUE | 2 | t | 0-s64max |
| PARAM_VALUE | 3 | h_cg | 0,4096-ptr_max |
| PARAM_VALUE | 4 | h | 0,4096-ptr_max |
| PARAM_VALUE | 4 | h->next_nid_to_free | s32min-1023 |
| PARAM_VALUE | 5 | regions_needed | 0 |
| BUF_SIZE | 0 | resv | (-1),312 |
| BUF_SIZE | 0 | resv | (-1),312 |
| CAPPED_DATA | 1 | f | 1 |
| CAPPED_DATA | 1 | f | 1 |
| DATA_SOURCE | 0 | resv | $0 |
| DATA_SOURCE | 1 | f | $1 |
| DATA_SOURCE | 2 | t | $2 |
| DATA_SOURCE | 3 | h_cg | $5 |
| DATA_SOURCE | 4 | h | $4 |
| NOSPEC | 1 | f | |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | f | 1-36028797018963967[c] |
| USER_DATA | 2 | t | 0-s64max |
| LOCK2 | 0 | &resv->lock | |
| TYPE_LOCK | (struct resv_map)->lock |
mm/hugetlb.c region_chg() -> add_reservation_in_range()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | resv | 4096-ptr_max |
| PARAM_VALUE | 0 | resv->lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | f | 0-36028797018963967 |
| PARAM_VALUE | 2 | t | 0-s64max |
| PARAM_VALUE | 3 | h_cg | 0 |
| PARAM_VALUE | 4 | h | 0 |
| PARAM_VALUE | 5 | regions_needed | 2352379853175152640,5549863024936091648 |
| PARAM_VALUE | 5 | *regions_needed | 0-3 |
| CAPPED_DATA | 1 | f | 1 |
| CAPPED_DATA | 1 | f | 1 |
| DATA_SOURCE | 0 | resv | $0 |
| DATA_SOURCE | 1 | f | $1 |
| DATA_SOURCE | 2 | t | $2 |
| DATA_SOURCE | 5 | regions_needed | $3 |
| PREEMPT_ADD | <- disables preempt | ||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | f | 1-36028797018963967[c] |
| USER_DATA | 2 | t | 0-s64max |
| LOCK2 | 0 | &resv->lock | |
| TYPE_LOCK | (struct resv_map)->lock |