Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

mm/damon/sysfs.c damon_sysfs_contexts_add_dirs() -> damon_sysfs_contexts_rm_dirs()

Type Parameter Key Value
PARAM_VALUE 0 contexts 4096-ptr_max
DATA_SOURCE 0 contexts $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &damon_sysfs_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

mm/damon/sysfs.c damon_sysfs_contexts_add_dirs() -> damon_sysfs_contexts_rm_dirs()

Type Parameter Key Value
PARAM_VALUE 0 contexts 4096-ptr_max
PARAM_VALUE 0 contexts->contexts_arr 4096-ptr_max
PARAM_VALUE 0 contexts->nr 0
BUF_SIZE 0 contexts->contexts_arr 8
DATA_SOURCE 0 contexts $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &damon_sysfs_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

mm/damon/sysfs.c damon_sysfs_contexts_add_dirs() -> damon_sysfs_contexts_rm_dirs()

Type Parameter Key Value
PARAM_VALUE 0 contexts 4096-ptr_max
PARAM_VALUE 0 contexts->contexts_arr 4096-ptr_max
PARAM_VALUE 0 contexts->nr 0
BUF_SIZE 0 contexts->contexts_arr 8
DATA_SOURCE 0 contexts $0
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &damon_sysfs_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

mm/damon/sysfs.c damon_sysfs_kdamond_rm_dirs() -> damon_sysfs_contexts_rm_dirs()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &of->mutex
LOCK2 global &damon_sysfs_lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex