Home
last modified time | relevance | path

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

/Linux-v5.10/kernel/kcsan/
Ddebugfs.c60 const struct kcsan_ctx ctx_save = current->kcsan_ctx; in microbenchmark()
65 memset(&current->kcsan_ctx, 0, sizeof(current->kcsan_ctx)); in microbenchmark()
87 current->kcsan_ctx = ctx_save; in microbenchmark()
Dcore.c42 static DEFINE_PER_CPU(struct kcsan_ctx, kcsan_cpu_ctx) = {
192 static __always_inline struct kcsan_ctx *get_ctx(void) in get_ctx()
198 return in_task() ? &current->kcsan_ctx : raw_cpu_ptr(&kcsan_cpu_ctx); in get_ctx()
204 struct kcsan_ctx *ctx = get_ctx(); in kcsan_check_scoped_accesses()
216 is_atomic(const volatile void *ptr, size_t size, int type, struct kcsan_ctx *ctx) in is_atomic()
253 should_watch(const volatile void *ptr, size_t size, int type, struct kcsan_ctx *ctx) in should_watch()
629 struct kcsan_ctx *ctx = get_ctx(); /* Call only once in fast-path. */ in check_access()
745 struct kcsan_ctx *ctx = get_ctx(); in kcsan_begin_scoped_access()
767 struct kcsan_ctx *ctx = get_ctx(); in kcsan_end_scoped_access()
/Linux-v5.10/include/linux/
Dkcsan.h15 struct kcsan_ctx { struct
Dsched.h1227 struct kcsan_ctx kcsan_ctx; member
/Linux-v5.10/init/
Dinit_task.c183 .kcsan_ctx = {