Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
Dsbitmap.h219 #define SB_NR_TO_INDEX(sb, bitnr) ((bitnr) >> (sb)->shift) macro
244 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()
/kernel/linux/linux-5.10/lib/
Dsbitmap.c162 index = SB_NR_TO_INDEX(sb, alloc_hint); in sbitmap_get()
198 index = SB_NR_TO_INDEX(sb, alloc_hint); in sbitmap_get_shallow()