Searched refs:child_ctx (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/fs/ext4/
H A Dcrypto_policy.c129 struct ext4_encryption_context parent_ctx, child_ctx; ext4_is_child_context_consistent_with_parent() local
149 &child_ctx, sizeof(child_ctx)); ext4_is_child_context_consistent_with_parent()
150 if (res != sizeof(child_ctx)) ext4_is_child_context_consistent_with_parent()
153 child_ctx.master_key_descriptor, ext4_is_child_context_consistent_with_parent()
156 child_ctx.contents_encryption_mode) && ext4_is_child_context_consistent_with_parent()
158 child_ctx.filenames_encryption_mode)); ext4_is_child_context_consistent_with_parent()
/linux-4.1.27/kernel/events/
H A Dcore.c8411 struct perf_event_context *child_ctx, __perf_event_exit_task()
8445 struct perf_event_context *child_ctx, *clone_ctx = NULL; perf_event_exit_task_context() local
8460 child_ctx = rcu_dereference_raw(child->perf_event_ctxp[ctxn]); perf_event_exit_task_context()
8467 raw_spin_lock(&child_ctx->lock); perf_event_exit_task_context()
8468 task_ctx_sched_out(child_ctx); perf_event_exit_task_context()
8476 clone_ctx = unclone_ctx(child_ctx); perf_event_exit_task_context()
8477 update_context_time(child_ctx); perf_event_exit_task_context()
8478 raw_spin_unlock_irqrestore(&child_ctx->lock, flags); perf_event_exit_task_context()
8488 perf_event_task(child, child_ctx, 0); perf_event_exit_task_context()
8500 mutex_lock(&child_ctx->mutex); perf_event_exit_task_context()
8502 list_for_each_entry_safe(child_event, next, &child_ctx->event_list, event_entry) perf_event_exit_task_context()
8503 __perf_event_exit_task(child_event, child_ctx, child); perf_event_exit_task_context()
8505 mutex_unlock(&child_ctx->mutex); perf_event_exit_task_context()
8507 put_ctx(child_ctx); perf_event_exit_task_context()
8613 struct perf_event_context *child_ctx) inherit_event()
8642 get_ctx(child_ctx); inherit_event()
8664 child_event->ctx = child_ctx; inherit_event()
8678 raw_spin_lock_irqsave(&child_ctx->lock, flags); inherit_event()
8679 add_event_to_ctx(child_event, child_ctx); inherit_event()
8680 raw_spin_unlock_irqrestore(&child_ctx->lock, flags); inherit_event()
8697 struct perf_event_context *child_ctx) inherit_group()
8704 child, NULL, child_ctx); inherit_group()
8709 child, leader, child_ctx); inherit_group()
8723 struct perf_event_context *child_ctx; inherit_task_group() local
8730 child_ctx = child->perf_event_ctxp[ctxn]; inherit_task_group()
8731 if (!child_ctx) { inherit_task_group()
8739 child_ctx = alloc_perf_context(parent_ctx->pmu, child); inherit_task_group()
8740 if (!child_ctx) inherit_task_group()
8743 child->perf_event_ctxp[ctxn] = child_ctx; inherit_task_group()
8747 child, child_ctx); inherit_task_group()
8760 struct perf_event_context *child_ctx, *parent_ctx; perf_event_init_context() local
8822 child_ctx = child->perf_event_ctxp[ctxn]; perf_event_init_context()
8824 if (child_ctx && inherited_all) { perf_event_init_context()
8834 child_ctx->parent_ctx = cloned_ctx; perf_event_init_context()
8835 child_ctx->parent_gen = parent_ctx->parent_gen; perf_event_init_context()
8837 child_ctx->parent_ctx = parent_ctx; perf_event_init_context()
8838 child_ctx->parent_gen = parent_ctx->generation; perf_event_init_context()
8840 get_ctx(child_ctx->parent_ctx); perf_event_init_context()
8410 __perf_event_exit_task(struct perf_event *child_event, struct perf_event_context *child_ctx, struct task_struct *child) __perf_event_exit_task() argument
8608 inherit_event(struct perf_event *parent_event, struct task_struct *parent, struct perf_event_context *parent_ctx, struct task_struct *child, struct perf_event *group_leader, struct perf_event_context *child_ctx) inherit_event() argument
8693 inherit_group(struct perf_event *parent_event, struct task_struct *parent, struct perf_event_context *parent_ctx, struct task_struct *child, struct perf_event_context *child_ctx) inherit_group() argument
/linux-4.1.27/arch/x86/crypto/
H A Daesni-intel_glue.c799 struct aesni_rfc4106_gcm_ctx *child_ctx; rfc4106_init() local
807 child_ctx = aesni_rfc4106_gcm_ctx_get(cryptd_child); rfc4106_init()
808 memcpy(child_ctx, ctx, sizeof(*ctx)); rfc4106_init()

Completed in 146 milliseconds