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()
123 void sbitmap_resize(struct sbitmap *sb, unsigned int depth) in sbitmap_resize()
170 static int sbitmap_find_bit_in_index(struct sbitmap *sb, int index, in sbitmap_find_bit_in_index()
188 static int __sbitmap_get(struct sbitmap *sb, unsigned int alloc_hint) in __sbitmap_get()
221 int sbitmap_get(struct sbitmap *sb) in sbitmap_get()
238 static int __sbitmap_get_shallow(struct sbitmap *sb, in __sbitmap_get_shallow()
275 int sbitmap_get_shallow(struct sbitmap *sb, unsigned long shallow_depth) in sbitmap_get_shallow()
292 bool sbitmap_any_bit_set(const struct sbitmap *sb) in sbitmap_any_bit_set()
304 static unsigned int __sbitmap_weight(const struct sbitmap *sb, bool set) in __sbitmap_weight()
320 static unsigned int sbitmap_cleared(const struct sbitmap *sb) in sbitmap_cleared()
325 unsigned int sbitmap_weight(const struct sbitmap *sb) in sbitmap_weight()
331 void sbitmap_show(struct sbitmap *sb, struct seq_file *m) in sbitmap_show()
353 void sbitmap_bitmap_show(struct sbitmap *sb, struct seq_file *m) in sbitmap_bitmap_show()
511 struct sbitmap *sb = &sbq->sb; in __sbitmap_queue_get_batch()
682 static inline void sbitmap_update_cpu_hint(struct sbitmap *sb, int cpu, int tag) in sbitmap_update_cpu_hint()
691 struct sbitmap *sb = &sbq->sb; in sbitmap_queue_clear_batch()