Lines Matching refs:kcsan_ctx
46 static DEFINE_PER_CPU(struct kcsan_ctx, kcsan_cpu_ctx) = {
196 static __always_inline struct kcsan_ctx *get_ctx(void) in get_ctx()
202 return in_task() ? ¤t->kcsan_ctx : raw_cpu_ptr(&kcsan_cpu_ctx); in get_ctx()
208 struct kcsan_ctx *ctx = get_ctx(); in kcsan_check_scoped_accesses()
220 is_atomic(const volatile void *ptr, size_t size, int type, struct kcsan_ctx *ctx) in is_atomic()
257 should_watch(const volatile void *ptr, size_t size, int type, struct kcsan_ctx *ctx) in should_watch()
304 static __always_inline bool kcsan_is_enabled(struct kcsan_ctx *ctx) in kcsan_is_enabled()
357 struct kcsan_ctx *ctx = get_ctx(); in kcsan_found_watchpoint()
428 struct kcsan_ctx *ctx = get_ctx(); in kcsan_setup_watchpoint()
631 struct kcsan_ctx *ctx = get_ctx(); /* Call only once in fast-path. */ in check_access()
758 struct kcsan_ctx *ctx = get_ctx(); in kcsan_begin_scoped_access()
780 struct kcsan_ctx *ctx = get_ctx(); in kcsan_end_scoped_access()