Lines Matching refs:sbitmap

12 static int init_alloc_hint(struct sbitmap *sb, gfp_t flags)  in init_alloc_hint()
29 static inline unsigned update_alloc_hint_before_get(struct sbitmap *sb, in update_alloc_hint_before_get()
43 static inline void update_alloc_hint_after_get(struct sbitmap *sb, in update_alloc_hint_after_get()
83 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, in sbitmap_init_node()
128 void sbitmap_resize(struct sbitmap *sb, unsigned int depth) in sbitmap_resize()
180 static int sbitmap_find_bit_in_index(struct sbitmap *sb, int index, in sbitmap_find_bit_in_index()
198 static int __sbitmap_get(struct sbitmap *sb, unsigned int alloc_hint) in __sbitmap_get()
231 int sbitmap_get(struct sbitmap *sb) in sbitmap_get()
248 static int __sbitmap_get_shallow(struct sbitmap *sb, in __sbitmap_get_shallow()
283 int sbitmap_get_shallow(struct sbitmap *sb, unsigned long shallow_depth) in sbitmap_get_shallow()
300 bool sbitmap_any_bit_set(const struct sbitmap *sb) in sbitmap_any_bit_set()
312 static unsigned int __sbitmap_weight(const struct sbitmap *sb, bool set) in __sbitmap_weight()
327 static unsigned int sbitmap_cleared(const struct sbitmap *sb) in sbitmap_cleared()
332 unsigned int sbitmap_weight(const struct sbitmap *sb) in sbitmap_weight()
338 void sbitmap_show(struct sbitmap *sb, struct seq_file *m) in sbitmap_show()
360 void sbitmap_bitmap_show(struct sbitmap *sb, struct seq_file *m) in sbitmap_bitmap_show()
495 struct sbitmap *sb = &sbq->sb; in __sbitmap_queue_get_batch()
631 static inline void sbitmap_update_cpu_hint(struct sbitmap *sb, int cpu, int tag) in sbitmap_update_cpu_hint()
640 struct sbitmap *sb = &sbq->sb; in sbitmap_queue_clear_batch()