Home
last modified time | relevance | path

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

/linux-6.6.21/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.c55 static DEFINE_PER_CPU(struct kcsan_ctx, kcsan_cpu_ctx) = {
200 static __always_inline struct kcsan_ctx *get_ctx(void) in get_ctx()
206 return in_task() ? &current->kcsan_ctx : raw_cpu_ptr(&kcsan_cpu_ctx); in get_ctx()
215 struct kcsan_ctx *ctx = get_ctx(); in kcsan_check_scoped_accesses()
231 is_atomic(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in is_atomic()
268 should_watch(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in should_watch()
315 static __always_inline bool kcsan_is_enabled(struct kcsan_ctx *ctx) in kcsan_is_enabled()
391 static __always_inline struct kcsan_scoped_access *get_reorder_access(struct kcsan_ctx *ctx) in get_reorder_access()
401 find_reorder_access(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, in find_reorder_access()
418 set_reorder_access(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, in set_reorder_access()
[all …]
Dselftest.c113 struct kcsan_scoped_access *reorder_access = &current->kcsan_ctx.reorder_access; in test_barrier()
Dkcsan_test.c528 struct kcsan_scoped_access *reorder_access = &current->kcsan_ctx.reorder_access; in test_barrier_nothreads()
/linux-6.6.21/include/linux/
Dkcsan.h22 struct kcsan_ctx { struct
Dsched.h1366 struct kcsan_ctx kcsan_ctx; member
/linux-6.6.21/init/
Dinit_task.c185 .kcsan_ctx = {