Searched refs:kcsan_ctx (Results 1 – 7 of 7) sorted by relevance
59 const struct kcsan_ctx ctx_save = current->kcsan_ctx; in microbenchmark()64 memset(¤t->kcsan_ctx, 0, sizeof(current->kcsan_ctx)); in microbenchmark()86 current->kcsan_ctx = ctx_save; in microbenchmark()
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()315 static __always_inline bool kcsan_is_enabled(struct kcsan_ctx *ctx) in kcsan_is_enabled()463 struct kcsan_ctx *ctx = get_ctx(); in kcsan_found_watchpoint()536 struct kcsan_ctx *ctx = get_ctx(); in kcsan_setup_watchpoint()750 struct kcsan_ctx *ctx = get_ctx(); /* Call only once in fast-path. */ in check_access()910 struct kcsan_ctx *ctx = get_ctx(); in kcsan_begin_scoped_access()[all …]
113 struct kcsan_scoped_access *reorder_access = ¤t->kcsan_ctx.reorder_access; in test_barrier()
531 struct kcsan_scoped_access *reorder_access = ¤t->kcsan_ctx.reorder_access; in test_barrier_nothreads()
22 struct kcsan_ctx { struct
1470 struct kcsan_ctx kcsan_ctx; member
195 .kcsan_ctx = {