Home
last modified time | relevance | path

Searched refs:KCSAN_CHECK_ADJACENT (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/kernel/kcsan/
Dkcsan.h17 #define KCSAN_CHECK_ADJACENT 1 macro
18 #define NUM_SLOTS (1 + 2*KCSAN_CHECK_ADJACENT)
Dencoding.h26 #define MAX_ENCODABLE_SIZE (SLOT_RANGE * (1 + KCSAN_CHECK_ADJACENT))
Dcore.c84 #define SLOT_IDX(slot, i) (slot + ((i + KCSAN_CHECK_ADJACENT) % NUM_SLOTS))
156 BUILD_BUG_ON(SLOT_IDX(0, 0) != KCSAN_CHECK_ADJACENT); in insert_watchpoint()
157 BUILD_BUG_ON(SLOT_IDX(0, KCSAN_CHECK_ADJACENT+1) != 0); in insert_watchpoint()
158 …BUILD_BUG_ON(SLOT_IDX(CONFIG_KCSAN_NUM_WATCHPOINTS-1, KCSAN_CHECK_ADJACENT) != ARRAY_SIZE(watchpoi… in insert_watchpoint()
159 …BUILD_BUG_ON(SLOT_IDX(CONFIG_KCSAN_NUM_WATCHPOINTS-1, KCSAN_CHECK_ADJACENT+1) != ARRAY_SIZE(watchp… in insert_watchpoint()