Home
last modified time | relevance | path

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

/linux/kernel/kcsan/
H A Dcore.c200 static __always_inline struct kcsan_ctx *get_ctx(void) in get_ctx() function
215 struct kcsan_ctx *ctx = get_ctx(); in kcsan_check_scoped_accesses()
463 struct kcsan_ctx *ctx = get_ctx(); in kcsan_found_watchpoint()
536 struct kcsan_ctx *ctx = get_ctx(); in kcsan_setup_watchpoint()
758 struct kcsan_ctx *ctx = get_ctx(); /* Call only once in fast-path. */ in check_access()
834 ++get_ctx()->disable_count; in kcsan_disable_current()
840 if (get_ctx()->disable_count-- == 0) { in kcsan_enable_current()
856 if (get_ctx()->disable_count-- == 0) in kcsan_enable_current_nowarn()
870 ++get_ctx()->atomic_nest_count; in kcsan_nestable_atomic_begin()
876 if (get_ctx()->atomic_nest_count-- == 0) { in kcsan_nestable_atomic_end()
[all …]
/linux/kernel/events/
H A Dcore.c1371 static void get_ctx(struct perf_event_context *ctx) in get_ctx() function
5122 get_ctx(ctx); in find_get_context()
5158 get_ctx(ctx); in find_get_context()
5991 get_ctx(ctx); in perf_event_release_kernel()
14424 get_ctx(ctx); /* normally find_get_context() */ in perf_event_create_kernel_counter()
14841 get_ctx(child_ctx);
15091 get_ctx(child_ctx->parent_ctx); in perf_event_init_context()