Searched refs:SB_NR_TO_INDEX (Results 1 – 2 of 2) sorted by relevance
219 #define SB_NR_TO_INDEX(sb, bitnr) ((bitnr) >> (sb)->shift) macro244 index = SB_NR_TO_INDEX(sb, start); in __sbitmap_for_each_set()295 return &sb->map[SB_NR_TO_INDEX(sb, bitnr)].word; in __sbitmap_word()318 unsigned long *addr = &sb->map[SB_NR_TO_INDEX(sb, bitnr)].cleared; in sbitmap_deferred_clear_bit()
162 index = SB_NR_TO_INDEX(sb, alloc_hint); in sbitmap_get()198 index = SB_NR_TO_INDEX(sb, alloc_hint); in sbitmap_get_shallow()