Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
- mm/damon/lru_sort.c, line 321
- mm/damon/reclaim.c, line 233
- samples/damon/mtier.c, line 158
- samples/damon/prcl.c, line 106
Smatch caller information:
mm/damon/reclaim.c damon_reclaim_apply_parameters() -> damon_set_schemes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->attrs.aggr_interval | 100000 |
| PARAM_VALUE | 0 | ctx->attrs.max_nr_regions | 3-u64max |
| PARAM_VALUE | 0 | ctx->attrs.min_nr_regions | 3-u64max |
| PARAM_VALUE | 0 | ctx->attrs.ops_update_interval | 60000000 |
| PARAM_VALUE | 0 | ctx->attrs.sample_interval | 5000 |
| PARAM_VALUE | 0 | ctx->kdamond_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->kdamond_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->kdamond_started.done | 0 |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->min_region_sz | 1-u64max |
| PARAM_VALUE | 0 | ctx->next_aggregation_sis | 0 |
| PARAM_VALUE | 0 | ctx->next_ops_update_sis | 0 |
| PARAM_VALUE | 0 | ctx->passed_sample_intervals | 0 |
| PARAM_VALUE | 0 | ctx->rnd_state.s1 | 2-4294967295 |
| PARAM_VALUE | 0 | ctx->rnd_state.s2 | 2-4294967295 |
| PARAM_VALUE | 0 | ctx->rnd_state.s3 | 2-4294967295 |
| PARAM_VALUE | 0 | ctx->rnd_state.s4 | 2-4294967295 |
| PARAM_VALUE | 1 | schemes | 5047298047494897664 |
| PARAM_VALUE | 1 | *schemes | 4096-ptr_max |
| PARAM_VALUE | 2 | nr_schemes | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
mm/damon/lru_sort.c damon_lru_sort_apply_parameters() -> damon_set_schemes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->attrs.aggr_interval | 100000 |
| PARAM_VALUE | 0 | ctx->attrs.max_nr_regions | 3-u64max |
| PARAM_VALUE | 0 | ctx->attrs.min_nr_regions | 3-u64max |
| PARAM_VALUE | 0 | ctx->attrs.ops_update_interval | 60000000 |
| PARAM_VALUE | 0 | ctx->attrs.sample_interval | 5000 |
| PARAM_VALUE | 0 | ctx->kdamond_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->kdamond_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->kdamond_started.done | 0 |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.lock.owner_cpu | 4294967295 |
| PARAM_VALUE | 0 | ctx->min_region_sz | 1-u64max |
| PARAM_VALUE | 0 | ctx->next_aggregation_sis | 0 |
| PARAM_VALUE | 0 | ctx->next_ops_update_sis | 0 |
| PARAM_VALUE | 0 | ctx->passed_sample_intervals | 0 |
| PARAM_VALUE | 0 | ctx->rnd_state.s1 | 2-4294967295 |
| PARAM_VALUE | 0 | ctx->rnd_state.s2 | 2-4294967295 |
| PARAM_VALUE | 0 | ctx->rnd_state.s3 | 2-4294967295 |
| PARAM_VALUE | 0 | ctx->rnd_state.s4 | 2-4294967295 |
| PARAM_VALUE | 1 | schemes | 5724399409836531712 |
| PARAM_VALUE | 1 | *schemes | 4096-ptr_max |
| PARAM_VALUE | 2 | nr_schemes | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
samples/damon/mtier.c damon_sample_mtier_build_ctx() -> damon_set_schemes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->adaptive_targets.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->adaptive_targets.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->adaptive_targets.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->adaptive_targets.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->adaptive_targets.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->addr_unit | 1 |
| PARAM_VALUE | 0 | ctx->attrs.aggr_interval | 100000 |
| PARAM_VALUE | 0 | ctx->attrs.max_nr_regions | 3-u64max |
| PARAM_VALUE | 0 | ctx->attrs.min_nr_regions | 3-u64max |
| PARAM_VALUE | 0 | ctx->attrs.ops_update_interval | 60000000 |
| PARAM_VALUE | 0 | ctx->attrs.sample_interval | 5000 |
| PARAM_VALUE | 0 | ctx->call_controls.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->call_controls.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->call_controls.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->call_controls.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->call_controls.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->call_controls_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->call_controls_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->call_controls_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->call_controls_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->kdamond_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->kdamond_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->kdamond_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->kdamond_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->kdamond_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->kdamond_started.done | 0 |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->min_region_sz | 4096 |
| PARAM_VALUE | 0 | ctx->next_aggregation_sis | 0 |
| PARAM_VALUE | 0 | ctx->next_ops_update_sis | 0 |
| PARAM_VALUE | 0 | ctx->passed_sample_intervals | 0 |
| PARAM_VALUE | 0 | ctx->probes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->probes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->probes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->probes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->probes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->rnd_state.s1 | 2-u32max |
| PARAM_VALUE | 0 | ctx->rnd_state.s2 | 2-u32max |
| PARAM_VALUE | 0 | ctx->rnd_state.s3 | 2-u32max |
| PARAM_VALUE | 0 | ctx->rnd_state.s4 | 2-u32max |
| PARAM_VALUE | 0 | ctx->schemes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->schemes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->schemes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->schemes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->schemes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->walk_control_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->walk_control_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->walk_control_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->walk_control_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->walk_control_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | schemes | 7444239369427206144 |
| PARAM_VALUE | 1 | *schemes | 4096-ptr_max |
| PARAM_VALUE | 2 | nr_schemes | 1 |
| BUF_SIZE | 0 | ctx | 896 |
| DATA_SOURCE | 0 | ctx | r damon_new_ctx |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
samples/damon/prcl.c damon_sample_prcl_start() -> damon_set_schemes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->adaptive_targets.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->adaptive_targets.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->adaptive_targets.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->adaptive_targets.prev->next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->adaptive_targets.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->addr_unit | 1 |
| PARAM_VALUE | 0 | ctx->attrs.aggr_interval | 100000 |
| PARAM_VALUE | 0 | ctx->attrs.max_nr_regions | 1000 |
| PARAM_VALUE | 0 | ctx->attrs.min_nr_regions | 10 |
| PARAM_VALUE | 0 | ctx->attrs.ops_update_interval | 60000000 |
| PARAM_VALUE | 0 | ctx->attrs.sample_interval | 5000 |
| PARAM_VALUE | 0 | ctx->call_controls.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->call_controls.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->call_controls.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->call_controls.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->call_controls.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->call_controls_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->call_controls_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->call_controls_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->call_controls_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->kdamond_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->kdamond_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->kdamond_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->kdamond_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->kdamond_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | ctx->kdamond_started.done | 0 |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->kdamond_started.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->min_region_sz | 4096 |
| PARAM_VALUE | 0 | ctx->next_aggregation_sis | 0 |
| PARAM_VALUE | 0 | ctx->next_ops_update_sis | 0 |
| PARAM_VALUE | 0 | ctx->passed_sample_intervals | 0 |
| PARAM_VALUE | 0 | ctx->probes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->probes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->probes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->probes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->probes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->rnd_state.s1 | 2-u32max |
| PARAM_VALUE | 0 | ctx->rnd_state.s2 | 2-u32max |
| PARAM_VALUE | 0 | ctx->rnd_state.s3 | 2-u32max |
| PARAM_VALUE | 0 | ctx->rnd_state.s4 | 2-u32max |
| PARAM_VALUE | 0 | ctx->schemes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->schemes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->schemes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->schemes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->schemes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->walk_control_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | ctx->walk_control_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | ctx->walk_control_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | ctx->walk_control_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | ctx->walk_control_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | schemes | 6182735771556098048 |
| PARAM_VALUE | 1 | *schemes | 4096-ptr_max |
| PARAM_VALUE | 2 | nr_schemes | 1 |
| BUF_SIZE | 0 | ctx | 896 |
| DATA_SOURCE | 0 | ctx | r damon_new_ctx |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |