Home
last modified time | relevance | path

Searched refs:kcsan_ctx (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.15/kernel/kcsan/
Ddebugfs.c65 const struct kcsan_ctx ctx_save = current->kcsan_ctx; in microbenchmark()
70 memset(&current->kcsan_ctx, 0, sizeof(current->kcsan_ctx)); in microbenchmark()
92 current->kcsan_ctx = ctx_save; in microbenchmark()
Dcore.c46 static DEFINE_PER_CPU(struct kcsan_ctx, kcsan_cpu_ctx) = {
196 static __always_inline struct kcsan_ctx *get_ctx(void) in get_ctx()
202 return in_task() ? &current->kcsan_ctx : raw_cpu_ptr(&kcsan_cpu_ctx); in get_ctx()
208 struct kcsan_ctx *ctx = get_ctx(); in kcsan_check_scoped_accesses()
220 is_atomic(const volatile void *ptr, size_t size, int type, struct kcsan_ctx *ctx) in is_atomic()
257 should_watch(const volatile void *ptr, size_t size, int type, struct kcsan_ctx *ctx) in should_watch()
304 static __always_inline bool kcsan_is_enabled(struct kcsan_ctx *ctx) in kcsan_is_enabled()
357 struct kcsan_ctx *ctx = get_ctx(); in kcsan_found_watchpoint()
428 struct kcsan_ctx *ctx = get_ctx(); in kcsan_setup_watchpoint()
631 struct kcsan_ctx *ctx = get_ctx(); /* Call only once in fast-path. */ in check_access()
[all …]
/Linux-v5.15/include/linux/
Dkcsan.h22 struct kcsan_ctx { struct
Dsched.h1342 struct kcsan_ctx kcsan_ctx; member
/Linux-v5.15/init/
Dinit_task.c184 .kcsan_ctx = {