Searched refs:ctx (Results 1 - 9 of 9) sorted by relevance

/kernel/locking/
H A Dmutex.c119 DEBUG_LOCKS_WARN_ON(ww->ctx);
151 * slowpath, set ctx and wake up any waiters so they can recheck.
158 struct ww_acquire_ctx *ctx)
163 ww_mutex_lock_acquired(lock, ctx);
165 lock->ctx = ctx;
168 * The lock->ctx update should be visible on all cores before
184 * so they can see the new lock->ctx.
321 * If ww->ctx is set the contents are undefined, only
328 if (ACCESS_ONCE(ww->ctx))
157 ww_mutex_set_context_fastpath(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) argument
466 __mutex_lock_check_stamp(struct mutex *lock, struct ww_acquire_ctx *ctx) argument
652 ww_mutex_deadlock_injection(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) argument
678 __ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) argument
693 __ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) argument
837 __ww_mutex_lock_slowpath(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) argument
844 __ww_mutex_lock_interruptible_slowpath(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) argument
912 __ww_mutex_lock(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) argument
930 __ww_mutex_lock_interruptible(struct ww_mutex *lock, struct ww_acquire_ctx *ctx) argument
[all...]
/kernel/events/
H A Dcore.c315 static void update_context_time(struct perf_event_context *ctx);
331 __get_cpu_context(struct perf_event_context *ctx) argument
333 return this_cpu_ptr(ctx->pmu->pmu_cpu_context);
337 struct perf_event_context *ctx)
339 raw_spin_lock(&cpuctx->ctx.lock);
340 if (ctx)
341 raw_spin_lock(&ctx->lock);
345 struct perf_event_context *ctx)
347 if (ctx)
348 raw_spin_unlock(&ctx
336 perf_ctx_lock(struct perf_cpu_context *cpuctx, struct perf_event_context *ctx) argument
344 perf_ctx_unlock(struct perf_cpu_context *cpuctx, struct perf_event_context *ctx) argument
383 struct perf_event_context *ctx = event->ctx; local
463 perf_cgroup_set_timestamp(struct task_struct *task, struct perf_event_context *ctx) argument
663 perf_cgroup_mark_enabled(struct perf_event *event, struct perf_event_context *ctx) argument
729 perf_cgroup_set_timestamp(struct task_struct *task, struct perf_event_context *ctx) argument
755 perf_cgroup_mark_enabled(struct perf_event *event, struct perf_event_context *ctx) argument
893 get_ctx(struct perf_event_context *ctx) argument
898 put_ctx(struct perf_event_context *ctx) argument
915 unclone_ctx(struct perf_event_context *ctx) argument
972 struct perf_event_context *ctx; local
1024 struct perf_event_context *ctx; local
1035 perf_unpin_context(struct perf_event_context *ctx) argument
1047 update_context_time(struct perf_event_context *ctx) argument
1057 struct perf_event_context *ctx = event->ctx; local
1071 struct perf_event_context *ctx = event->ctx; local
1118 ctx_group_list(struct perf_event *event, struct perf_event_context *ctx) argument
1131 list_add_event(struct perf_event *event, struct perf_event_context *ctx) argument
1296 list_del_event(struct perf_event *event, struct perf_event_context *ctx) argument
1411 schedule_orphans_remove(struct perf_event_context *ctx) argument
1439 event_sched_out(struct perf_event *event, struct perf_cpu_context *cpuctx, struct perf_event_context *ctx) argument
1487 group_sched_out(struct perf_event *group_event, struct perf_cpu_context *cpuctx, struct perf_event_context *ctx) argument
1521 struct perf_event_context *ctx = event->ctx; local
1554 struct perf_event_context *ctx = event->ctx; local
1609 struct perf_event_context *ctx = event->ctx; local
1659 struct perf_event_context *ctx = event->ctx; local
1700 perf_set_shadow_time(struct perf_event *event, struct perf_event_context *ctx, u64 tstamp) argument
1740 event_sched_in(struct perf_event *event, struct perf_cpu_context *cpuctx, struct perf_event_context *ctx) argument
1802 group_sched_in(struct perf_event *group_event, struct perf_cpu_context *cpuctx, struct perf_event_context *ctx) argument
1901 add_event_to_ctx(struct perf_event *event, struct perf_event_context *ctx) argument
1920 perf_event_sched_in(struct perf_cpu_context *cpuctx, struct perf_event_context *ctx, struct task_struct *task) argument
1940 struct perf_event_context *ctx = event->ctx; local
2004 perf_install_in_context(struct perf_event_context *ctx, struct perf_event *event, int cpu) argument
2079 struct perf_event_context *ctx = event->ctx; local
2163 struct perf_event_context *ctx = event->ctx; local
2234 ctx_sched_out(struct perf_event_context *ctx, struct perf_cpu_context *cpuctx, enum event_type_t event_type) argument
2347 perf_event_sync_stat(struct perf_event_context *ctx, struct perf_event_context *next_ctx) argument
2376 struct perf_event_context *ctx = task->perf_event_ctxp[ctxn]; local
2471 task_ctx_sched_out(struct perf_event_context *ctx) argument
2495 ctx_pinned_sched_in(struct perf_event_context *ctx, struct perf_cpu_context *cpuctx) argument
2525 ctx_flexible_sched_in(struct perf_event_context *ctx, struct perf_cpu_context *cpuctx) argument
2554 ctx_sched_in(struct perf_event_context *ctx, struct perf_cpu_context *cpuctx, enum event_type_t event_type, struct task_struct *task) argument
2585 struct perf_event_context *ctx = &cpuctx->ctx; local
2590 perf_event_context_sched_in(struct perf_event_context *ctx, struct task_struct *task) argument
2695 struct perf_event_context *ctx; local
2828 perf_adjust_freq_unthr_context(struct perf_event_context *ctx, int needs_unthr) argument
2898 rotate_ctx(struct perf_event_context *ctx) argument
2915 struct perf_event_context *ctx = NULL; local
2971 struct perf_event_context *ctx; local
2989 event_enable_on_exec(struct perf_event *event, struct perf_event_context *ctx) argument
3008 perf_event_enable_on_exec(struct perf_event_context *ctx) argument
3059 struct perf_event_context *ctx; local
3079 struct perf_event_context *ctx = event->ctx; local
3118 struct perf_event_context *ctx = event->ctx; local
3141 __perf_event_init_context(struct perf_event_context *ctx) argument
3155 struct perf_event_context *ctx; local
3207 struct perf_event_context *ctx, *clone_ctx = NULL; local
3443 struct perf_event_context *ctx = event->ctx; local
3489 struct perf_event_context *ctx; local
3551 struct perf_event_context *ctx = leader->ctx; local
3719 struct perf_event_context *ctx = event->ctx; local
3734 struct perf_event_context *ctx = event->ctx; local
5035 perf_event_aux_ctx(struct perf_event_context *ctx, perf_event_aux_output_cb output, void *data) argument
5055 struct perf_event_context *ctx; local
6142 struct perf_event_context *ctx; local
7226 struct perf_event_context *ctx; local
7505 struct perf_event_context *ctx; local
7750 perf_free_event(struct perf_event *event, struct perf_event_context *ctx) argument
7775 struct perf_event_context *ctx; local
8123 struct perf_event_context *ctx = __info; local
8135 struct perf_event_context *ctx; local
[all...]
H A Dcallchain.c197 if (event->ctx->task && event->ctx->task != current)
H A Dhw_breakpoint.c446 if (irqs_disabled() && bp->ctx && bp->ctx->task == current)
H A Duprobes.c624 enum uprobe_filter_ctx ctx, struct mm_struct *mm)
626 return !uc->filter || uc->filter(uc, ctx, mm);
630 enum uprobe_filter_ctx ctx, struct mm_struct *mm)
637 ret = consumer_filter(uc, ctx, mm);
623 consumer_filter(struct uprobe_consumer *uc, enum uprobe_filter_ctx ctx, struct mm_struct *mm) argument
629 filter_chain(struct uprobe *uprobe, enum uprobe_filter_ctx ctx, struct mm_struct *mm) argument
/kernel/
H A Dauditsc.c129 static int audit_match_perm(struct audit_context *ctx, int mask) argument
132 if (unlikely(!ctx))
134 n = ctx->major;
136 switch (audit_classify_syscall(ctx->arch, n)) {
160 return mask & ACC_MODE(ctx->argv[1]);
162 return mask & ACC_MODE(ctx->argv[2]);
164 return ((mask & AUDIT_PERM_WRITE) && ctx->argv[0] == SYS_BIND);
172 static int audit_match_filetype(struct audit_context *ctx, int val) argument
177 if (unlikely(!ctx))
180 list_for_each_entry(n, &ctx
200 audit_set_auditable(struct audit_context *ctx) argument
208 put_tree_ref(struct audit_context *ctx, struct audit_chunk *chunk) argument
229 grow_tree_refs(struct audit_context *ctx) argument
246 unroll_tree_refs(struct audit_context *ctx, struct audit_tree_refs *p, int count) argument
276 free_tree_refs(struct audit_context *ctx) argument
285 match_tree_refs(struct audit_context *ctx, struct audit_tree *tree) argument
308 audit_compare_uid(kuid_t uid, struct audit_names *name, struct audit_field *f, struct audit_context *ctx) argument
332 audit_compare_gid(kgid_t gid, struct audit_names *name, struct audit_field *f, struct audit_context *ctx) argument
356 audit_field_compare(struct task_struct *tsk, const struct cred *cred, struct audit_field *f, struct audit_context *ctx, struct audit_names *name) argument
436 audit_filter_rules(struct task_struct *tsk, struct audit_krule *rule, struct audit_context *ctx, struct audit_names *name, enum audit_state *state, bool task_creation) argument
745 audit_filter_syscall(struct task_struct *tsk, struct audit_context *ctx, struct list_head *list) argument
775 audit_filter_inode_name(struct task_struct *tsk, struct audit_names *n, struct audit_context *ctx) argument
802 audit_filter_inodes(struct task_struct *tsk, struct audit_context *ctx) argument
984 char *ctx = NULL; local
1217 char *ctx = NULL; local
1999 auditsc_get_stamp(struct audit_context *ctx, struct timespec *t, unsigned int *serial) argument
2298 struct audit_context *ctx = tsk->audit_context; local
2491 struct audit_context *ctx = current->audit_context; local
[all...]
H A Daudit.c179 struct audit_context *ctx; /* NULL or associated context */ member in struct:audit_buffer
814 char *ctx = NULL; local
1006 err = security_secid_to_secctx(audit_sig_sid, &ctx, &len);
1013 security_release_secctx(ctx, len);
1019 memcpy(sig_data->ctx, ctx, len);
1020 security_release_secctx(ctx, len);
1242 static struct audit_buffer * audit_buffer_alloc(struct audit_context *ctx, argument
1264 ab->ctx = ctx;
1309 audit_get_stamp(struct audit_context *ctx, struct timespec *t, unsigned int *serial) argument
1352 audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, int type) argument
1785 char *ctx = NULL; local
1824 char *ctx = NULL; local
1988 audit_log(struct audit_context *ctx, gfp_t gfp_mask, int type, const char *fmt, ...) argument
[all...]
/kernel/bpf/
H A Dcore.c181 * @ctx: is the data we are operating on
186 static unsigned int __bpf_prog_run(void *ctx, const struct bpf_insn *insn) argument
296 ARG1 = (u64) (unsigned long) ctx;
554 * only appearing in the programs where ctx ==
555 * skb. All programs keep 'ctx' in regs[BPF_REG_CTX]
558 * ctx.
565 * ctx == skb == BPF_R6 == CTX
/kernel/trace/
H A Dtrace_uprobe.c883 enum uprobe_filter_ctx ctx,
1082 enum uprobe_filter_ctx ctx, struct mm_struct *mm)
1081 uprobe_perf_filter(struct uprobe_consumer *uc, enum uprobe_filter_ctx ctx, struct mm_struct *mm) argument

Completed in 107 milliseconds