__kcsan_check_access(9)
π
__kcsan_check_access (9) β Kernel API Manual, bestie edition π
okay so real talk, this one lives in the Kernel API Manual and it's basically the vibe-check function for memory access. No cap.
β¨ NAME β¨
__kcsan_check_access β literally checks a generic access for races ππ
πΈ SYNOPSIS πΈ
void __kcsan_check_access (const volatile void *ptr , size_t size , int
type );
that's the whole signature, she's not complicated π
π¦ ARGUMENTS π¦
ptrβ the address of the access, like where the drama is happening πsizeβ how big the access is, the size of it, that's it πtypeβ the access type modifier, she's the little flavor packet on top β¨
π SEE ALSO π
so this all comes from the kernel file ./include/linux/kcsan-checks.h, and honestly the whole friend group is here β go say hi π«Ά
__kcsan_mb(9)__kcsan_wmb(9)__kcsan_rmb(9)__kcsan_release(9)kcsan_disable_current(9)kcsan_enable_current(9)kcsan_nestable_atomic_begin(9)kcsan_nestable_atomic_end(9)kcsan_flat_atomic_begin(9)kcsan_flat_atomic_end(9)kcsan_atomic_next(9)kcsan_set_access_mask(9)kcsan_begin_scoped_access(9)kcsan_end_scoped_access(9)__kcsan_check_read(9)__kcsan_check_write(9)__kcsan_check_read_write(9)kcsan_check_read(9)kcsan_check_write(9)kcsan_check_read_write(9)ASSERT_EXCLUSIVE_WRITER(9)ASSERT_EXCLUSIVE_WRITER_SCOPED(9)ASSERT_EXCLUSIVE_ACCESS(9)ASSERT_EXCLUSIVE_ACCESS_SCOPED(9)ASSERT_EXCLUSIVE_BITS(9)
bestie that's a lot of siblings but they're all iconic in their own way, periodt π
sign-off time π§ this whole thing is filed under ./include/linux and stamped October 2026 β so like, future energy, main character documentation fr fr πβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms