Home
last modified time | relevance | path

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

/linux-5.19.10/mm/damon/
Ddbgfs.c56 mutex_lock(&ctx->kdamond_lock); in dbgfs_attrs_read()
61 mutex_unlock(&ctx->kdamond_lock); in dbgfs_attrs_read()
84 mutex_lock(&ctx->kdamond_lock); in dbgfs_attrs_write()
94 mutex_unlock(&ctx->kdamond_lock); in dbgfs_attrs_write()
142 mutex_lock(&ctx->kdamond_lock); in dbgfs_schemes_read()
144 mutex_unlock(&ctx->kdamond_lock); in dbgfs_schemes_read()
258 mutex_lock(&ctx->kdamond_lock); in dbgfs_schemes_write()
271 mutex_unlock(&ctx->kdamond_lock); in dbgfs_schemes_write()
316 mutex_lock(&ctx->kdamond_lock); in dbgfs_target_ids_read()
318 mutex_unlock(&ctx->kdamond_lock); in dbgfs_target_ids_read()
[all …]
Dcore.c370 mutex_init(&ctx->kdamond_lock); in damon_new_ctx()
510 mutex_lock(&ctx->kdamond_lock); in __damon_start()
520 mutex_unlock(&ctx->kdamond_lock); in __damon_start()
575 mutex_lock(&ctx->kdamond_lock); in __damon_stop()
579 mutex_unlock(&ctx->kdamond_lock); in __damon_stop()
584 mutex_unlock(&ctx->kdamond_lock); in __damon_stop()
1208 mutex_lock(&ctx->kdamond_lock); in kdamond_fn()
1210 mutex_unlock(&ctx->kdamond_lock); in kdamond_fn()
Dsysfs.c2050 mutex_lock(&ctx->kdamond_lock); in damon_sysfs_ctx_running()
2052 mutex_unlock(&ctx->kdamond_lock); in damon_sysfs_ctx_running()
2315 mutex_lock(&ctx->kdamond_lock); in damon_sysfs_before_terminate()
2320 mutex_unlock(&ctx->kdamond_lock); in damon_sysfs_before_terminate()
2602 mutex_lock(&ctx->kdamond_lock); in pid_show()
2607 mutex_unlock(&ctx->kdamond_lock); in pid_show()
2682 mutex_lock(&ctx->kdamond_lock); in damon_sysfs_nr_running_ctxs()
2685 mutex_unlock(&ctx->kdamond_lock); in damon_sysfs_nr_running_ctxs()
/linux-5.19.10/include/linux/
Ddamon.h437 struct mutex kdamond_lock; member