Lines Matching defs:sb

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()
101 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift, in sbitmap_init_node()
145 void sbitmap_resize(struct sbitmap *sb, unsigned int depth) in sbitmap_resize()
211 static int sbitmap_find_bit(struct sbitmap *sb, in sbitmap_find_bit()
241 static int __sbitmap_get(struct sbitmap *sb, unsigned int alloc_hint) in __sbitmap_get()
261 int sbitmap_get(struct sbitmap *sb) in sbitmap_get()
278 static int __sbitmap_get_shallow(struct sbitmap *sb, in __sbitmap_get_shallow()
290 int sbitmap_get_shallow(struct sbitmap *sb, unsigned long shallow_depth) in sbitmap_get_shallow()
307 bool sbitmap_any_bit_set(const struct sbitmap *sb) in sbitmap_any_bit_set()
319 static unsigned int __sbitmap_weight(const struct sbitmap *sb, bool set) in __sbitmap_weight()
335 static unsigned int sbitmap_cleared(const struct sbitmap *sb) in sbitmap_cleared()
340 unsigned int sbitmap_weight(const struct sbitmap *sb) in sbitmap_weight()
346 void sbitmap_show(struct sbitmap *sb, struct seq_file *m) in sbitmap_show()
368 void sbitmap_bitmap_show(struct sbitmap *sb, struct seq_file *m) in sbitmap_bitmap_show()
507 struct sbitmap *sb = &sbq->sb; in __sbitmap_queue_get_batch() local
625 static inline void sbitmap_update_cpu_hint(struct sbitmap *sb, int cpu, int tag) in sbitmap_update_cpu_hint()
634 struct sbitmap *sb = &sbq->sb; in sbitmap_queue_clear_batch() local