Home
last modified time | relevance | path

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

/Linux-v5.15/kernel/kcsan/
Dkcsan.h17 #define KCSAN_CHECK_ADJACENT 1 macro
18 #define NUM_SLOTS (1 + 2*KCSAN_CHECK_ADJACENT)
Dcore.c80 #define SLOT_IDX(slot, i) (slot + ((i + KCSAN_CHECK_ADJACENT) % NUM_SLOTS))
152 BUILD_BUG_ON(SLOT_IDX(0, 0) != KCSAN_CHECK_ADJACENT); in insert_watchpoint()
153 BUILD_BUG_ON(SLOT_IDX(0, KCSAN_CHECK_ADJACENT+1) != 0); in insert_watchpoint()
154 …BUILD_BUG_ON(SLOT_IDX(CONFIG_KCSAN_NUM_WATCHPOINTS-1, KCSAN_CHECK_ADJACENT) != ARRAY_SIZE(watchpoi… in insert_watchpoint()
155 …BUILD_BUG_ON(SLOT_IDX(CONFIG_KCSAN_NUM_WATCHPOINTS-1, KCSAN_CHECK_ADJACENT+1) != ARRAY_SIZE(watchp… in insert_watchpoint()
Dencoding.h26 #define MAX_ENCODABLE_SIZE (SLOT_RANGE * (1 + KCSAN_CHECK_ADJACENT))