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()
211 struct kcsan_ctx *ctx = get_ctx(); in kcsan_check_scoped_accesses()
225 is_atomic(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in is_atomic()
262 should_watch(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in should_watch()
309 static __always_inline bool kcsan_is_enabled(struct kcsan_ctx *ctx) in kcsan_is_enabled()
363 struct kcsan_ctx *ctx = get_ctx(); in kcsan_found_watchpoint()
434 struct kcsan_ctx *ctx = get_ctx(); in kcsan_setup_watchpoint()
638 struct kcsan_ctx *ctx = get_ctx(); /* Call only once in fast-path. */ in check_access()
765 struct kcsan_ctx *ctx = get_ctx(); in kcsan_begin_scoped_access()
788 struct kcsan_ctx *ctx = get_ctx(); in kcsan_end_scoped_access()