Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 7 files:

Smatch caller information:

mm/damon/reclaim.c damon_reclaim_apply_parameters() -> damos_new_filter()

Type Parameter Key Value
PARAM_VALUE 0 type 0
PARAM_VALUE 1 matching 1
PARAM_VALUE 2 allow 0
RX_PATH
TASK_NOT_RUNNING

mm/damon/lru_sort.c damon_lru_sort_add_filters() -> damos_new_filter()

Type Parameter Key Value
PARAM_VALUE 0 type 3
PARAM_VALUE 1 matching 0
PARAM_VALUE 2 allow 0
RX_PATH
TASK_NOT_RUNNING

mm/damon/lru_sort.c damon_lru_sort_add_filters() -> damos_new_filter()

Type Parameter Key Value
PARAM_VALUE 0 type 3
PARAM_VALUE 1 matching 1
PARAM_VALUE 2 allow 0
RX_PATH
TASK_NOT_RUNNING

samples/damon/mtier.c damon_sample_mtier_build_ctx() -> damos_new_filter()

Type Parameter Key Value
PARAM_VALUE 0 type 3
PARAM_VALUE 1 matching 1
DATA_SOURCE 2 allow $0
RX_PATH
TASK_NOT_RUNNING

mm/damon/paddr.c damon_pa_pageout() -> damos_new_filter()

Type Parameter Key Value
PARAM_VALUE 0 type 3
PARAM_VALUE 1 matching 1
PARAM_VALUE 2 allow 0
LOCK2 &ctx->walk_control_lock
TYPE_LOCK (struct damon_ctx)->walk_control_lock

mm/damon/sysfs-schemes.c damon_sysfs_add_scheme_filters() -> damos_new_filter()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 global &damon_sysfs_lock

mm/damon/core.c damon_test_set_filters_default_reject() -> damos_new_filter()

Type Parameter Key Value
PARAM_VALUE 0 type 7
PARAM_VALUE 1 matching 1
PARAM_VALUE 2 allow 1

mm/damon/core.c damon_test_set_filters_default_reject() -> damos_new_filter()

Type Parameter Key Value
PARAM_VALUE 0 type 0
PARAM_VALUE 1 matching 1
PARAM_VALUE 2 allow 1

mm/damon/core.c damos_commit_core_filters() -> damos_new_filter()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

mm/damon/core.c damos_commit_ops_filters() -> damos_new_filter()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING

mm/damon/core.c damos_test_filter_out() -> damos_new_filter()

Type Parameter Key Value
PARAM_VALUE 0 type 6
PARAM_VALUE 1 matching 1
PARAM_VALUE 2 allow 0

mm/damon/core.c damos_test_new_filter() -> damos_new_filter()

Type Parameter Key Value
PARAM_VALUE 0 type 0
PARAM_VALUE 1 matching 1
PARAM_VALUE 2 allow 0