Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 4 files:
Smatch caller information:
mm/damon/paddr.c damon_pa_pageout() -> damos_destroy_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->allow | 0 |
| PARAM_VALUE | 0 | f->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | f->matching | 1 |
| PARAM_VALUE | 0 | f->type | 3 |
| BUF_SIZE | 0 | f | 40 |
| DATA_SOURCE | 0 | f | r damos_new_filter |
| NOCHECK_CALL | |||
| LOCK2 | &ctx->walk_control_lock | ||
| TYPE_LOCK | (struct damon_ctx)->walk_control_lock |
mm/damon/sysfs-schemes.c damon_sysfs_add_scheme_filters() -> damos_destroy_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | f->type | 2 |
| BUF_SIZE | 0 | f | 40 |
| DATA_SOURCE | 0 | f | r damos_new_filter |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &damon_sysfs_lock |
mm/damon/sysfs-schemes.c damon_sysfs_add_scheme_filters() -> damos_destroy_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | f->type | 6 |
| BUF_SIZE | 0 | f | 40 |
| DATA_SOURCE | 0 | f | r damos_new_filter |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &damon_sysfs_lock |
mm/damon/sysfs-schemes.c damon_sysfs_add_scheme_filters() -> damos_destroy_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.next | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.next->next | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.prev | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.prev->next | 4096-ptr_max |
| PARAM_VALUE | 0 | f->list.prev->prev | 4096-ptr_max |
| PARAM_VALUE | 0 | f->type | 4 |
| BUF_SIZE | 0 | f | 40 |
| DATA_SOURCE | 0 | f | r damos_new_filter |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | global &damon_sysfs_lock |
mm/damon/core.c damon_destroy_scheme() -> damos_destroy_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| CAPPED_DATA | 0 | &f->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
mm/damon/core.c damon_destroy_scheme() -> damos_destroy_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| CAPPED_DATA | 0 | &f->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
mm/damon/core.c damos_commit_core_filters() -> damos_destroy_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| CAPPED_DATA | 0 | &f->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
mm/damon/core.c damos_commit_ops_filters() -> damos_destroy_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| CAPPED_DATA | 0 | &f->list | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL |
mm/damon/core.c damos_test_filter_out() -> damos_destroy_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->allow | 0 |
| PARAM_VALUE | 0 | f->matching | 1 |
| PARAM_VALUE | 0 | f->type | 6 |
| BUF_SIZE | 0 | f | 40 |
| DATA_SOURCE | 0 | f | r damos_new_filter |
| NOCHECK_CALL |
mm/damon/core.c damos_test_filter_out() -> damos_destroy_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->allow | 0 |
| PARAM_VALUE | 0 | f->matching | 1 |
| PARAM_VALUE | 0 | f->type | 6 |
| BUF_SIZE | 0 | f | 40 |
| DATA_SOURCE | 0 | f | r damos_new_filter |
| NOCHECK_CALL |
mm/damon/core.c damos_test_new_filter() -> damos_destroy_filter()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | f | 4096-ptr_max |
| PARAM_VALUE | 0 | f->allow | 0 |
| PARAM_VALUE | 0 | f->matching | 1 |
| PARAM_VALUE | 0 | f->type | 0 |
| BUF_SIZE | 0 | f | 40 |
| DATA_SOURCE | 0 | f | r damos_new_filter |
| NOCHECK_CALL |