Home
last modified time | relevance | path

Searched refs:kcsan_ctx (Results 1 – 5 of 5) sorted by relevance

/OK3568_Linux_fs/kernel/kernel/kcsan/
H A Ddebugfs.c60 const struct kcsan_ctx ctx_save = current->kcsan_ctx; in microbenchmark()
65 memset(&current->kcsan_ctx, 0, sizeof(current->kcsan_ctx)); in microbenchmark()
87 current->kcsan_ctx = ctx_save; in microbenchmark()
H A Dcore.c41 static DEFINE_PER_CPU(struct kcsan_ctx, kcsan_cpu_ctx) = {
191 static __always_inline struct kcsan_ctx *get_ctx(void) in get_ctx()
197 return in_task() ? &current->kcsan_ctx : raw_cpu_ptr(&kcsan_cpu_ctx); in get_ctx()
203 struct kcsan_ctx *ctx = get_ctx(); in kcsan_check_scoped_accesses()
215 is_atomic(const volatile void *ptr, size_t size, int type, struct kcsan_ctx *ctx) in is_atomic()
252 should_watch(const volatile void *ptr, size_t size, int type, struct kcsan_ctx *ctx) in should_watch()
625 struct kcsan_ctx *ctx = get_ctx(); /* Call only once in fast-path. */ in check_access()
743 struct kcsan_ctx *ctx = get_ctx(); in kcsan_begin_scoped_access()
765 struct kcsan_ctx *ctx = get_ctx(); in kcsan_end_scoped_access()
/OK3568_Linux_fs/kernel/include/linux/
H A Dkcsan.h15 struct kcsan_ctx { struct
H A Dsched.h1252 struct kcsan_ctx kcsan_ctx; member
/OK3568_Linux_fs/kernel/init/
H A Dinit_task.c183 .kcsan_ctx = {