Home
last modified time | relevance | path

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

/Linux-v6.1/kernel/kcsan/
Dcore.c53 static DEFINE_PER_CPU(struct kcsan_ctx, kcsan_cpu_ctx) = {
198 static __always_inline struct kcsan_ctx *get_ctx(void) in get_ctx()
204 return in_task() ? &current->kcsan_ctx : raw_cpu_ptr(&kcsan_cpu_ctx); in get_ctx()
213 struct kcsan_ctx *ctx = get_ctx(); in kcsan_check_scoped_accesses()
229 is_atomic(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in is_atomic()
266 should_watch(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in should_watch()
313 static __always_inline bool kcsan_is_enabled(struct kcsan_ctx *ctx) in kcsan_is_enabled()
380 static __always_inline struct kcsan_scoped_access *get_reorder_access(struct kcsan_ctx *ctx) in get_reorder_access()
390 find_reorder_access(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, in find_reorder_access()
407 set_reorder_access(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, in set_reorder_access()
[all …]
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()
Dselftest.c120 struct kcsan_scoped_access *reorder_access = &current->kcsan_ctx.reorder_access; in test_barrier()
Dkcsan_test.c523 struct kcsan_scoped_access *reorder_access = &current->kcsan_ctx.reorder_access; in test_barrier_nothreads()
/Linux-v6.1/include/linux/
Dkcsan.h22 struct kcsan_ctx { struct
Dsched.h1364 struct kcsan_ctx kcsan_ctx; member
/Linux-v6.1/init/
Dinit_task.c185 .kcsan_ctx = {