Home
last modified time | relevance | path

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

/openbmc/linux/kernel/kcsan/
H A Dcore.c84 #define SLOT_IDX(slot, i) (slot + ((i + KCSAN_CHECK_ADJACENT) % NUM_SLOTS)) macro
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()
165 watchpoint = &watchpoints[SLOT_IDX(slot, i)]; in insert_watchpoint()