Searched refs:CARDMAP_MASK (Results 1 – 1 of 1) sorted by relevance
182 #define CARDMAP_MASK (CARDMAP_WIDTH - 1) macro2533 nr &= ~(CARDMAP_MASK << p->shift); in cardmap_get()2561 i = (nr >> p->shift) & CARDMAP_MASK; in cardmap_set()2573 i = nr & CARDMAP_MASK; in cardmap_set()2595 i = (nr >> p->shift) & CARDMAP_MASK; in cardmap_find_first_free()2599 nr = (nr & (~CARDMAP_MASK << p->shift)) | (i << p->shift); in cardmap_find_first_free()