Home
last modified time | relevance | path

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

/linux-6.6.21/mm/damon/
Ddbgfs.c64 mutex_lock(&ctx->kdamond_lock); in dbgfs_attrs_read()
69 mutex_unlock(&ctx->kdamond_lock); in dbgfs_attrs_read()
95 mutex_lock(&ctx->kdamond_lock); in dbgfs_attrs_write()
105 mutex_unlock(&ctx->kdamond_lock); in dbgfs_attrs_write()
181 mutex_lock(&ctx->kdamond_lock); in dbgfs_schemes_read()
183 mutex_unlock(&ctx->kdamond_lock); in dbgfs_schemes_read()
312 mutex_lock(&ctx->kdamond_lock); in dbgfs_schemes_write()
323 mutex_unlock(&ctx->kdamond_lock); in dbgfs_schemes_write()
363 mutex_lock(&ctx->kdamond_lock); in dbgfs_target_ids_read()
365 mutex_unlock(&ctx->kdamond_lock); in dbgfs_target_ids_read()
[all …]
Dcore.c437 mutex_init(&ctx->kdamond_lock); in damon_new_ctx()
638 mutex_lock(&ctx->kdamond_lock); in __damon_start()
651 mutex_unlock(&ctx->kdamond_lock); in __damon_start()
706 mutex_lock(&ctx->kdamond_lock); in __damon_stop()
710 mutex_unlock(&ctx->kdamond_lock); in __damon_stop()
715 mutex_unlock(&ctx->kdamond_lock); in __damon_stop()
1432 mutex_lock(&ctx->kdamond_lock); in kdamond_fn()
1434 mutex_unlock(&ctx->kdamond_lock); in kdamond_fn()
Dsysfs.c981 mutex_lock(&ctx->kdamond_lock); in damon_sysfs_ctx_running()
983 mutex_unlock(&ctx->kdamond_lock); in damon_sysfs_ctx_running()
1251 mutex_lock(&ctx->kdamond_lock); in damon_sysfs_before_terminate()
1256 mutex_unlock(&ctx->kdamond_lock); in damon_sysfs_before_terminate()
1569 mutex_lock(&ctx->kdamond_lock); in pid_show()
1572 mutex_unlock(&ctx->kdamond_lock); in pid_show()
/linux-6.6.21/include/linux/
Ddamon.h542 struct mutex kdamond_lock; member