Searched refs:kcsan_ctx (Results 1 – 7 of 7) sorted by relevance
/linux-6.6.21/kernel/kcsan/ |
D | debugfs.c | 65 const struct kcsan_ctx ctx_save = current->kcsan_ctx; in microbenchmark() 70 memset(¤t->kcsan_ctx, 0, sizeof(current->kcsan_ctx)); in microbenchmark() 92 current->kcsan_ctx = ctx_save; in microbenchmark()
|
D | core.c | 55 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() ? ¤t->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 …]
|
D | selftest.c | 113 struct kcsan_scoped_access *reorder_access = ¤t->kcsan_ctx.reorder_access; in test_barrier()
|
D | kcsan_test.c | 528 struct kcsan_scoped_access *reorder_access = ¤t->kcsan_ctx.reorder_access; in test_barrier_nothreads()
|
/linux-6.6.21/include/linux/ |
D | kcsan.h | 22 struct kcsan_ctx { struct
|
D | sched.h | 1366 struct kcsan_ctx kcsan_ctx; member
|
/linux-6.6.21/init/ |
D | init_task.c | 185 .kcsan_ctx = {
|