kcsan_end_scoped_access(9)
πΈ NAME πΈ
Hiii bestie!! Welcome to kcsan_end_scoped_access(9) from the Kernel API Manual β this is the βend scoped accessβ page, and itβs literally here to close out a scoped access. Periodt. π
β¨ SYNOPSIS β¨
void kcsan_end_scoped_access (struct kcsan_scoped_access *sa );
π ARGUMENTS π
saβ a previously initializedstruct kcsan_scoped_access. Like, itβs the scoped-access struct you already set up, no cap. π«Ά
π¦ DESCRIPTION π¦
Okay so hereβs the tea: this function ends a scoped access, which will stop KCSAN checking the memory range. Requires that kcsan_begin_scoped_access was previously called once for sa. Thatβs the whole vibe β end the scope, KCSAN stops checking, slay. β¨
Lowkey important:kcsan_begin_scoped_accesshas to have been called once forsabefore this. Donβt skip the setup, bestie. π
π SEE ALSO π
Kernel file ./include/linux/kcsan-checks.h and its iconic friends:
__kcsan_check_access(9)__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_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)
π Signing off from ./include/linux, October 2026 edition of kcsan_end_scoped_access(9) β xoxo, your KCSAN bestie π
π¦ 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