Lines Matching refs:kcsan_ctx
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()
268 should_watch(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in should_watch()
315 static __always_inline bool kcsan_is_enabled(struct kcsan_ctx *ctx) in kcsan_is_enabled()
391 static __always_inline struct kcsan_scoped_access *get_reorder_access(struct kcsan_ctx *ctx) in get_reorder_access()
401 find_reorder_access(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, in find_reorder_access()
418 set_reorder_access(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, in set_reorder_access()
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()
933 struct kcsan_ctx *ctx = get_ctx(); in kcsan_end_scoped_access()