Searched refs:alloc_hint (Results 1 – 1 of 1) sorted by relevance
/lib/ |
D | sbitmap.c | 140 unsigned int alloc_hint, bool round_robin) in sbitmap_find_bit_in_index() argument 146 sb->map[index].depth, alloc_hint, in sbitmap_find_bit_in_index() 157 int sbitmap_get(struct sbitmap *sb, unsigned int alloc_hint, bool round_robin) in sbitmap_get() argument 162 index = SB_NR_TO_INDEX(sb, alloc_hint); in sbitmap_get() 170 alloc_hint = SB_NR_TO_BIT(sb, alloc_hint); in sbitmap_get() 172 alloc_hint = 0; in sbitmap_get() 175 nr = sbitmap_find_bit_in_index(sb, index, alloc_hint, in sbitmap_get() 183 alloc_hint = 0; in sbitmap_get() 192 int sbitmap_get_shallow(struct sbitmap *sb, unsigned int alloc_hint, in sbitmap_get_shallow() argument 198 index = SB_NR_TO_INDEX(sb, alloc_hint); in sbitmap_get_shallow() [all …]
|