Lines Matching refs:mutex
277 lockdep_assert_held(&ctx->mutex); in event_function_call()
1302 mutex_lock_nested(&ctx->mutex, nesting); in perf_event_ctx_lock_nested()
1304 mutex_unlock(&ctx->mutex); in perf_event_ctx_lock_nested()
1321 mutex_unlock(&ctx->mutex); in perf_event_ctx_unlock()
2435 lockdep_assert_held(&ctx->mutex); in perf_remove_from_context()
2860 lockdep_assert_held(&ctx->mutex); in perf_install_in_context()
4348 mutex_lock(&ctx->mutex); in perf_event_remove_on_exec()
4372 mutex_unlock(&ctx->mutex); in perf_event_remove_on_exec()
4636 mutex_init(&ctx->mutex); in __perf_event_init_context()
4995 lockdep_assert_held(&ctx->mutex); in exclusive_event_installable()
5208 mutex_lock(&ctx->mutex); in perf_event_release_kernel()
5229 mutex_unlock(&ctx->mutex); in perf_event_release_kernel()
5393 lockdep_assert_held(&ctx->mutex); in perf_read_group()
5584 lockdep_assert_held(&ctx->mutex); in perf_event_for_each()
9432 struct mutex hlist_mutex;
10727 lockdep_assert_held(&event->ctx->mutex); in perf_event_set_addr_filter()
10781 mutex_unlock(&ctx->mutex); in perf_event_set_filter()
10783 mutex_lock(&ctx->mutex); in perf_event_set_filter()
11356 lockdep_set_class(&cpuctx->ctx.mutex, &cpuctx_mutex); in perf_pmu_register()
12065 static void mutex_lock_double(struct mutex *a, struct mutex *b) in mutex_lock_double()
12215 mutex_lock_double(&gctx->mutex, &ctx->mutex); in __perf_event_ctx_lock_double()
12218 mutex_unlock(&ctx->mutex); in __perf_event_ctx_lock_double()
12219 mutex_unlock(&gctx->mutex); in __perf_event_ctx_lock_double()
12557 mutex_lock(&ctx->mutex); in SYSCALL_DEFINE5()
12678 mutex_unlock(&ctx->mutex); in SYSCALL_DEFINE5()
12702 mutex_unlock(&ctx->mutex); in SYSCALL_DEFINE5()
12774 mutex_lock(&ctx->mutex); in perf_event_create_kernel_counter()
12802 mutex_unlock(&ctx->mutex); in perf_event_create_kernel_counter()
12807 mutex_unlock(&ctx->mutex); in perf_event_create_kernel_counter()
12831 mutex_lock_double(&src_ctx->mutex, &dst_ctx->mutex); in perf_pmu_migrate_context()
12877 mutex_unlock(&dst_ctx->mutex); in perf_pmu_migrate_context()
12878 mutex_unlock(&src_ctx->mutex); in perf_pmu_migrate_context()
12977 mutex_lock(&child_ctx->mutex); in perf_event_exit_task_context()
13012 mutex_unlock(&child_ctx->mutex); in perf_event_exit_task_context()
13093 mutex_lock(&ctx->mutex); in perf_event_free_task()
13109 mutex_unlock(&ctx->mutex); in perf_event_free_task()
13413 mutex_lock(&parent_ctx->mutex); in perf_event_init_context()
13470 mutex_unlock(&parent_ctx->mutex); in perf_event_init_context()
13562 mutex_lock(&ctx->mutex); in perf_event_exit_cpu_context()
13565 mutex_unlock(&ctx->mutex); in perf_event_exit_cpu_context()
13590 mutex_lock(&ctx->mutex); in perf_event_init_cpu()
13592 mutex_unlock(&ctx->mutex); in perf_event_init_cpu()