Searched refs:kcsan_ctx (Results 1 – 5 of 5) sorted by relevance
60 const struct kcsan_ctx ctx_save = current->kcsan_ctx; in microbenchmark()65 memset(¤t->kcsan_ctx, 0, sizeof(current->kcsan_ctx)); in microbenchmark()87 current->kcsan_ctx = ctx_save; in microbenchmark()
42 static DEFINE_PER_CPU(struct kcsan_ctx, kcsan_cpu_ctx) = {192 static __always_inline struct kcsan_ctx *get_ctx(void) in get_ctx()198 return in_task() ? ¤t->kcsan_ctx : raw_cpu_ptr(&kcsan_cpu_ctx); in get_ctx()204 struct kcsan_ctx *ctx = get_ctx(); in kcsan_check_scoped_accesses()216 is_atomic(const volatile void *ptr, size_t size, int type, struct kcsan_ctx *ctx) in is_atomic()253 should_watch(const volatile void *ptr, size_t size, int type, struct kcsan_ctx *ctx) in should_watch()629 struct kcsan_ctx *ctx = get_ctx(); /* Call only once in fast-path. */ in check_access()745 struct kcsan_ctx *ctx = get_ctx(); in kcsan_begin_scoped_access()767 struct kcsan_ctx *ctx = get_ctx(); in kcsan_end_scoped_access()
15 struct kcsan_ctx { struct
1227 struct kcsan_ctx kcsan_ctx; member
183 .kcsan_ctx = {