Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
mm/damon/core.c damon_commit_ctx() -> __damon_commit_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->adaptive_targets.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->adaptive_targets.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->adaptive_targets.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->adaptive_targets.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->adaptive_targets.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->attrs.aggr_interval | 100000 |
| PARAM_VALUE | 0 | dst->attrs.max_nr_regions | 1000 |
| PARAM_VALUE | 0 | dst->attrs.min_nr_regions | 10 |
| PARAM_VALUE | 0 | dst->attrs.ops_update_interval | 60000000 |
| PARAM_VALUE | 0 | dst->attrs.sample_interval | 5000 |
| PARAM_VALUE | 0 | dst->call_controls.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->call_controls.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->call_controls.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->call_controls.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->call_controls.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->call_controls_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dst->call_controls_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dst->kdamond_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | dst->kdamond_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | dst->kdamond_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | dst->kdamond_started.done | 0 |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->maybe_corrupted | 0 |
| PARAM_VALUE | 0 | dst->next_aggregation_sis | 0 |
| PARAM_VALUE | 0 | dst->next_ops_update_sis | 0 |
| PARAM_VALUE | 0 | dst->passed_sample_intervals | 0 |
| PARAM_VALUE | 0 | dst->probes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->probes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->probes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->probes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->probes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->rnd_state.s1 | 2-u32max |
| PARAM_VALUE | 0 | dst->rnd_state.s2 | 2-u32max |
| PARAM_VALUE | 0 | dst->rnd_state.s3 | 2-u32max |
| PARAM_VALUE | 0 | dst->rnd_state.s4 | 2-u32max |
| PARAM_VALUE | 0 | dst->schemes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->schemes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->schemes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->schemes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->schemes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->walk_control_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dst->walk_control_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 1 | src->attrs.aggr_interval | 100000 |
| PARAM_VALUE | 1 | src->attrs.max_nr_regions | 3-u64max |
| PARAM_VALUE | 1 | src->attrs.min_nr_regions | 3-u64max |
| PARAM_VALUE | 1 | src->attrs.ops_update_interval | 60000000 |
| PARAM_VALUE | 1 | src->attrs.sample_interval | 5000 |
| PARAM_VALUE | 1 | src->kdamond_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | src->kdamond_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | src->kdamond_started.done | 0 |
| PARAM_VALUE | 1 | src->kdamond_started.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | src->kdamond_started.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | src->kdamond_started.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | src->min_region_sz | 1-u64max |
| PARAM_VALUE | 1 | src->next_aggregation_sis | 0 |
| PARAM_VALUE | 1 | src->next_ops_update_sis | 0 |
| PARAM_VALUE | 1 | src->passed_sample_intervals | 0 |
| PARAM_VALUE | 1 | src->rnd_state.s1 | 2-u32max |
| PARAM_VALUE | 1 | src->rnd_state.s2 | 2-u32max |
| PARAM_VALUE | 1 | src->rnd_state.s3 | 2-u32max |
| PARAM_VALUE | 1 | src->rnd_state.s4 | 2-u32max |
| PARAM_VALUE | 1 | src->schemes.prev->next | 4096-ptr_max |
| BUF_SIZE | 0 | dst | 896 |
| BUF_SIZE | 1 | src | (-1),896 |
| BUF_SIZE | 1 | src | (-1),896 |
| DATA_SOURCE | 0 | dst | r damon_new_test_ctx |
| DATA_SOURCE | 1 | src | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/damon/core.c damon_commit_ctx() -> __damon_commit_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | src | 4096-ptr_max |
| PARAM_VALUE | 1 | src->attrs.aggr_interval | 100000 |
| PARAM_VALUE | 1 | src->attrs.max_nr_regions | 3-u64max |
| PARAM_VALUE | 1 | src->attrs.min_nr_regions | 3-u64max |
| PARAM_VALUE | 1 | src->attrs.ops_update_interval | 60000000 |
| PARAM_VALUE | 1 | src->attrs.sample_interval | 5000 |
| PARAM_VALUE | 1 | src->kdamond_lock.first_waiter | 0 |
| PARAM_VALUE | 1 | src->kdamond_lock.owner.counter | 0 |
| PARAM_VALUE | 1 | src->kdamond_started.done | 0 |
| PARAM_VALUE | 1 | src->kdamond_started.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 1 | src->kdamond_started.wait.lock.owner | (-1) |
| PARAM_VALUE | 1 | src->kdamond_started.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 1 | src->min_region_sz | 1-u64max |
| PARAM_VALUE | 1 | src->next_aggregation_sis | 0 |
| PARAM_VALUE | 1 | src->next_ops_update_sis | 0 |
| PARAM_VALUE | 1 | src->passed_sample_intervals | 0 |
| PARAM_VALUE | 1 | src->rnd_state.s1 | 2-u32max |
| PARAM_VALUE | 1 | src->rnd_state.s2 | 2-u32max |
| PARAM_VALUE | 1 | src->rnd_state.s3 | 2-u32max |
| PARAM_VALUE | 1 | src->rnd_state.s4 | 2-u32max |
| PARAM_VALUE | 1 | src->schemes.prev->next | 4096-ptr_max |
| BUF_SIZE | 0 | dst | (-1),896 |
| BUF_SIZE | 0 | dst | (-1),896 |
| BUF_SIZE | 1 | src | (-1),896 |
| BUF_SIZE | 1 | src | (-1),896 |
| CAPPED_DATA | 0 | dst->attrs.min_nr_regions | 1 |
| CAPPED_DATA | 0 | dst->attrs.sample_interval | 1 |
| CAPPED_DATA | 1 | src->attrs.min_nr_regions | 1 |
| DATA_SOURCE | 0 | dst | $0 |
| DATA_SOURCE | 1 | src | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/damon/core.c damon_new_test_ctx() -> __damon_commit_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->adaptive_targets.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->adaptive_targets.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->adaptive_targets.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->adaptive_targets.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->adaptive_targets.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->addr_unit | 1 |
| PARAM_VALUE | 0 | dst->attrs.aggr_interval | 100000 |
| PARAM_VALUE | 0 | dst->attrs.max_nr_regions | 1000 |
| PARAM_VALUE | 0 | dst->attrs.min_nr_regions | 10 |
| PARAM_VALUE | 0 | dst->attrs.ops_update_interval | 60000000 |
| PARAM_VALUE | 0 | dst->attrs.sample_interval | 5000 |
| PARAM_VALUE | 0 | dst->call_controls.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->call_controls.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->call_controls.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->call_controls.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->call_controls.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->call_controls_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dst->call_controls_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dst->kdamond_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | dst->kdamond_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | dst->kdamond_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | dst->kdamond_started.done | 0 |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->min_region_sz | 4096 |
| PARAM_VALUE | 0 | dst->next_aggregation_sis | 0 |
| PARAM_VALUE | 0 | dst->next_ops_update_sis | 0 |
| PARAM_VALUE | 0 | dst->passed_sample_intervals | 0 |
| PARAM_VALUE | 0 | dst->probes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->probes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->probes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->probes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->probes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->rnd_state.s1 | 2-u32max |
| PARAM_VALUE | 0 | dst->rnd_state.s2 | 2-u32max |
| PARAM_VALUE | 0 | dst->rnd_state.s3 | 2-u32max |
| PARAM_VALUE | 0 | dst->rnd_state.s4 | 2-u32max |
| PARAM_VALUE | 0 | dst->schemes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->schemes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->schemes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->schemes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->schemes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->walk_control_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dst->walk_control_lock.magic | 4096-ptr_max |
| BUF_SIZE | 0 | dst | 896 |
| BUF_SIZE | 1 | src | (-1),896 |
| BUF_SIZE | 1 | src | (-1),896 |
| DATA_SOURCE | 0 | dst | r damon_new_ctx |
| DATA_SOURCE | 1 | src | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/damon/core.c damon_start() -> __damon_commit_ctx()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | dst | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->adaptive_targets.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->adaptive_targets.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->adaptive_targets.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->adaptive_targets.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->adaptive_targets.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->addr_unit | 1 |
| PARAM_VALUE | 0 | dst->attrs.aggr_interval | 100000 |
| PARAM_VALUE | 0 | dst->attrs.max_nr_regions | 1000 |
| PARAM_VALUE | 0 | dst->attrs.min_nr_regions | 10 |
| PARAM_VALUE | 0 | dst->attrs.ops_update_interval | 60000000 |
| PARAM_VALUE | 0 | dst->attrs.sample_interval | 5000 |
| PARAM_VALUE | 0 | dst->call_controls.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->call_controls.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->call_controls.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->call_controls.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->call_controls.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->call_controls_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dst->call_controls_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dst->kdamond_lock.first_waiter | 0 |
| PARAM_VALUE | 0 | dst->kdamond_lock.magic | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_lock.osq.tail.counter | 0 |
| PARAM_VALUE | 0 | dst->kdamond_lock.owner.counter | 0 |
| PARAM_VALUE | 0 | dst->kdamond_started.done | 0 |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.lock.magic | 3735899821 |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.lock.owner | (-1) |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.lock.owner_cpu | u32max |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.task_list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.task_list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.task_list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.task_list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->kdamond_started.wait.task_list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->min_region_sz | 4096 |
| PARAM_VALUE | 0 | dst->next_aggregation_sis | 0 |
| PARAM_VALUE | 0 | dst->next_ops_update_sis | 0 |
| PARAM_VALUE | 0 | dst->passed_sample_intervals | 0 |
| PARAM_VALUE | 0 | dst->probes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->probes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->probes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->probes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->probes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->rnd_state.s1 | 2-u32max |
| PARAM_VALUE | 0 | dst->rnd_state.s2 | 2-u32max |
| PARAM_VALUE | 0 | dst->rnd_state.s3 | 2-u32max |
| PARAM_VALUE | 0 | dst->rnd_state.s4 | 2-u32max |
| PARAM_VALUE | 0 | dst->schemes.next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->schemes.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->schemes.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->schemes.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->schemes.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | dst->walk_control_lock.dep_map->name | 0-255 |
| PARAM_VALUE | 0 | dst->walk_control_lock.magic | 4096-ptr_max |
| BUF_SIZE | 0 | dst | 896 |
| DATA_SOURCE | 0 | dst | r damon_new_ctx |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &damon_sysfs_lock |