Home
last modified time | relevance | path

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

/linux/kernel/kcsan/
H A Dcore.c84 #define SLOT_IDX(slot, i) (slot + ((i + KCSAN_CHECK_ADJACENT) % NUM_SLOTS))
103 static atomic_long_t watchpoints[CONFIG_KCSAN_NUM_WATCHPOINTS + NUM_SLOTS-1];
127 BUILD_BUG_ON(CONFIG_KCSAN_NUM_WATCHPOINTS < NUM_SLOTS); in find_watchpoint()
129 for (i = 0; i < NUM_SLOTS; ++i) { in find_watchpoint()
159 …DX(CONFIG_KCSAN_NUM_WATCHPOINTS-1, KCSAN_CHECK_ADJACENT+1) != ARRAY_SIZE(watchpoints) - NUM_SLOTS); in insert_watchpoint()
161 for (i = 0; i < NUM_SLOTS; ++i) { in insert_watchpoint()
H A Dkcsan.h18 #define NUM_SLOTS (1 + 2*KCSAN_CHECK_ADJACENT) macro
H A Dreport.c71 static struct other_info other_infos[CONFIG_KCSAN_NUM_WATCHPOINTS + NUM_SLOTS-1];
/linux/drivers/mmc/host/
H A Dcqhci-core.c24 #define NUM_SLOTS 32 macro
774 for (tag = 0; tag < NUM_SLOTS; tag++) { in cqhci_error_irq()
1188 cq_host->num_slots = NUM_SLOTS; in cqhci_init()
1193 mmc->cqe_qdepth = NUM_SLOTS; in cqhci_init()