Home
last modified time | relevance | path

Searched refs:kdamond_lock (Results 1 – 4 of 4) sorted by relevance

/Linux-v6.1/mm/damon/
Ddbgfs.c56 mutex_lock(&ctx->kdamond_lock); in dbgfs_attrs_read()
61 mutex_unlock(&ctx->kdamond_lock); in dbgfs_attrs_read()
87 mutex_lock(&ctx->kdamond_lock); in dbgfs_attrs_write()
97 mutex_unlock(&ctx->kdamond_lock); in dbgfs_attrs_write()
173 mutex_lock(&ctx->kdamond_lock); in dbgfs_schemes_read()
175 mutex_unlock(&ctx->kdamond_lock); in dbgfs_schemes_read()
304 mutex_lock(&ctx->kdamond_lock); in dbgfs_schemes_write()
315 mutex_unlock(&ctx->kdamond_lock); in dbgfs_schemes_write()
355 mutex_lock(&ctx->kdamond_lock); in dbgfs_target_ids_read()
357 mutex_unlock(&ctx->kdamond_lock); in dbgfs_target_ids_read()
[all …]
Dcore.c393 mutex_init(&ctx->kdamond_lock); in damon_new_ctx()
519 mutex_lock(&ctx->kdamond_lock); in __damon_start()
529 mutex_unlock(&ctx->kdamond_lock); in __damon_start()
584 mutex_lock(&ctx->kdamond_lock); in __damon_stop()
588 mutex_unlock(&ctx->kdamond_lock); in __damon_stop()
593 mutex_unlock(&ctx->kdamond_lock); in __damon_stop()
1204 mutex_lock(&ctx->kdamond_lock); in kdamond_fn()
1206 mutex_unlock(&ctx->kdamond_lock); in kdamond_fn()
Dsysfs.c2037 mutex_lock(&ctx->kdamond_lock); in damon_sysfs_ctx_running()
2039 mutex_unlock(&ctx->kdamond_lock); in damon_sysfs_ctx_running()
2354 mutex_lock(&ctx->kdamond_lock); in damon_sysfs_before_terminate()
2359 mutex_unlock(&ctx->kdamond_lock); in damon_sysfs_before_terminate()
2632 mutex_lock(&ctx->kdamond_lock); in pid_show()
2635 mutex_unlock(&ctx->kdamond_lock); in pid_show()
/Linux-v6.1/include/linux/
Ddamon.h458 struct mutex kdamond_lock; member