Home
last modified time | relevance | path

Searched refs:child_ctx (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/kernel/events/
H A Dcore.c13148 struct perf_event_context *child_ctx, *clone_ctx = NULL; in perf_event_exit_task_context() local
13153 child_ctx = perf_pin_task_context(child); in perf_event_exit_task_context()
13154 if (!child_ctx) in perf_event_exit_task_context()
13167 mutex_lock(&child_ctx->mutex); in perf_event_exit_task_context()
13174 raw_spin_lock_irq(&child_ctx->lock); in perf_event_exit_task_context()
13175 task_ctx_sched_out(child_ctx, EVENT_ALL); in perf_event_exit_task_context()
13182 put_ctx(child_ctx); /* cannot be last */ in perf_event_exit_task_context()
13183 WRITE_ONCE(child_ctx->task, TASK_TOMBSTONE); in perf_event_exit_task_context()
13186 clone_ctx = unclone_ctx(child_ctx); in perf_event_exit_task_context()
13187 raw_spin_unlock_irq(&child_ctx->lock); in perf_event_exit_task_context()
[all …]
/openbmc/qemu/
H A Dblock.c3075 AioContext *child_ctx = bdrv_get_aio_context(child_bs); in bdrv_attach_child_common() local
3097 if (child_ctx != parent_ctx) { in bdrv_attach_child_common()
3108 ret_child = child_class->change_aio_ctx(new_child, child_ctx, in bdrv_attach_child_common()
3151 .old_child_ctx = child_ctx, in bdrv_attach_child_common()