Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/vmscan.c get_tier_idx() -> read_ctrl_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lruvec | 4096-ptr_max |
| PARAM_VALUE | 0 | lruvec->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | type | 0-1 |
| PARAM_VALUE | 2 | tier | 0 |
| PARAM_VALUE | 3 | gain | 2 |
| PARAM_VALUE | 4 | pos | 3607210419909017600 |
| BUF_SIZE | 0 | lruvec->pgdat | (-1),64,128,280,1024 |
| DATA_SOURCE | 0 | lruvec | $0 |
| DATA_SOURCE | 1 | type | $1 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | type | 0-1 |
| LOCK2 | irq | ||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &lruvec->lru_lock | |
| TYPE_LOCK | (struct lruvec)->lru_lock |
mm/vmscan.c get_tier_idx() -> read_ctrl_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lruvec | 4096-ptr_max |
| PARAM_VALUE | 0 | lruvec->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | type | 0-1 |
| PARAM_VALUE | 2 | tier | 1-3 |
| PARAM_VALUE | 3 | gain | 3 |
| PARAM_VALUE | 4 | pos | 2205514911598592000 |
| PARAM_VALUE | 4 | pos->gain | 0,3 |
| BUF_SIZE | 0 | lruvec->pgdat | (-1),64,128,280,1024 |
| DATA_SOURCE | 0 | lruvec | $0 |
| DATA_SOURCE | 1 | type | $1 |
| FUZZY_MAX | 2 | tier | 3 |
| HARD_MAX | 2 | tier | 3 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 1 | type | 0-1 |
| LOCK2 | irq | ||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &lruvec->lru_lock | |
| TYPE_LOCK | (struct lruvec)->lru_lock |
mm/vmscan.c get_type_to_scan() -> read_ctrl_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lruvec | 4096-ptr_max |
| PARAM_VALUE | 0 | lruvec->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | type | 0 |
| PARAM_VALUE | 2 | tier | 4 |
| PARAM_VALUE | 3 | gain | 2-199 |
| PARAM_VALUE | 4 | pos | 5107364740558192640 |
| BUF_SIZE | 0 | lruvec->pgdat | (-1),64,128,280,1024 |
| DATA_SOURCE | 0 | lruvec | $0 |
| DATA_SOURCE | 3 | gain | $1 |
| HARD_MAX | 3 | gain | 199 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | gain | 2-199 |
| LOCK2 | irq | ||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &lruvec->lru_lock | |
| TYPE_LOCK | (struct lruvec)->lru_lock |
mm/vmscan.c get_type_to_scan() -> read_ctrl_pos()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | lruvec | 4096-ptr_max |
| PARAM_VALUE | 0 | lruvec->lru_lock.rlock.dep_map->name | 0-255 |
| PARAM_VALUE | 1 | type | 1 |
| PARAM_VALUE | 2 | tier | 4 |
| PARAM_VALUE | 3 | gain | 1-198 |
| PARAM_VALUE | 4 | pos | 8411335999301083136 |
| PARAM_VALUE | 4 | pos->gain | 0 |
| PARAM_VALUE | 4 | pos->refaulted | 0 |
| PARAM_VALUE | 4 | pos->total | 0 |
| BUF_SIZE | 0 | lruvec->pgdat | (-1),64,128,280,1024 |
| DATA_SOURCE | 0 | lruvec | $0 |
| PREEMPT_ADD | |||
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| USER_DATA | 3 | gain | 1-198[c] |
| LOCK2 | irq | ||
| LOCK2 | rcu_read | ||
| LOCK2 | 0 | &lruvec->lru_lock | |
| TYPE_LOCK | (struct lruvec)->lru_lock |