Searched refs:kcsan_ctx (Results 1 – 7 of 7) sorted by relevance
/Linux-v6.1/kernel/kcsan/ |
D | core.c | 53 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() ? ¤t->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 …]
|
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 | selftest.c | 120 struct kcsan_scoped_access *reorder_access = ¤t->kcsan_ctx.reorder_access; in test_barrier()
|
D | kcsan_test.c | 523 struct kcsan_scoped_access *reorder_access = ¤t->kcsan_ctx.reorder_access; in test_barrier_nothreads()
|
/Linux-v6.1/include/linux/ |
D | kcsan.h | 22 struct kcsan_ctx { struct
|
D | sched.h | 1364 struct kcsan_ctx kcsan_ctx; member
|
/Linux-v6.1/init/ |
D | init_task.c | 185 .kcsan_ctx = {
|