Lines Matching refs:get_ctx
200 static __always_inline struct kcsan_ctx *get_ctx(void) in get_ctx() function
215 struct kcsan_ctx *ctx = get_ctx(); in kcsan_check_scoped_accesses()
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()
826 ++get_ctx()->disable_count; in kcsan_disable_current()
832 if (get_ctx()->disable_count-- == 0) { in kcsan_enable_current()
848 if (get_ctx()->disable_count-- == 0) in kcsan_enable_current_nowarn()
862 ++get_ctx()->atomic_nest_count; in kcsan_nestable_atomic_begin()
868 if (get_ctx()->atomic_nest_count-- == 0) { in kcsan_nestable_atomic_end()
884 get_ctx()->in_flat_atomic = true; in kcsan_flat_atomic_begin()
890 get_ctx()->in_flat_atomic = false; in kcsan_flat_atomic_end()
896 get_ctx()->atomic_next = n; in kcsan_atomic_next()
902 get_ctx()->access_mask = mask; in kcsan_set_access_mask()
910 struct kcsan_ctx *ctx = get_ctx(); in kcsan_begin_scoped_access()
933 struct kcsan_ctx *ctx = get_ctx(); in kcsan_end_scoped_access()
965 struct kcsan_scoped_access *sa = get_reorder_access(get_ctx()); \
1118 reorder_access = get_reorder_access(get_ctx()); in __tsan_func_exit()