Defined in 1 files as a function:
Referenced in 2 files:
Smatch caller information:
mm/damon/sysfs.c damon_sysfs_add_target() -> damon_target_has_pid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | (-1),896 |
| BUF_SIZE | 0 | ctx | (-1),896 |
| DATA_SOURCE | 0 | ctx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/damon/sysfs.c damon_sysfs_add_targets() -> damon_target_has_pid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | 896 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/damon/core.c damon_commit_targets() -> damon_target_has_pid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| BUF_SIZE | 0 | ctx | (-1),896 |
| BUF_SIZE | 0 | ctx | (-1),896 |
| CAPPED_DATA | 0 | ctx->attrs.max_nr_regions | 1 |
| CAPPED_DATA | 0 | ctx->attrs.min_nr_regions | 1 |
| CAPPED_DATA | 0 | ctx->attrs.sample_interval | 1 |
| CAPPED_DATA | 0 | &ctx->adaptive_targets | 1 |
| DATA_SOURCE | 0 | ctx | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/damon/core.c damon_commit_targets() -> damon_target_has_pid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| DATA_SOURCE | 0 | ctx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/damon/core.c damon_commit_targets() -> damon_target_has_pid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| CAPPED_DATA | 0 | &ctx->adaptive_targets | 1 |
| DATA_SOURCE | 0 | ctx | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
mm/damon/core.c damon_revert_target_commits() -> damon_target_has_pid()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ctx | 4096-ptr_max |
| DATA_SOURCE | 0 | ctx | $2 |
| RX_PATH | |||
| TASK_NOT_RUNNING |