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()
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 unsigned int __map_depth_with_shallow(const struct sbitmap *sb, in __map_depth_with_shallow()
231 static int sbitmap_find_bit(struct sbitmap *sb, in sbitmap_find_bit()
261 static int __sbitmap_get(struct sbitmap *sb, unsigned int alloc_hint) in __sbitmap_get()
281 int sbitmap_get(struct sbitmap *sb) in sbitmap_get()
298 static int __sbitmap_get_shallow(struct sbitmap *sb, in __sbitmap_get_shallow()
325 static int sbitmap_get_shallow(struct sbitmap *sb, unsigned long shallow_depth) in sbitmap_get_shallow()
341 bool sbitmap_any_bit_set(const struct sbitmap *sb) in sbitmap_any_bit_set()
353 static unsigned int __sbitmap_weight(const struct sbitmap *sb, bool set) in __sbitmap_weight()
369 static unsigned int sbitmap_cleared(const struct sbitmap *sb) in sbitmap_cleared()
374 unsigned int sbitmap_weight(const struct sbitmap *sb) in sbitmap_weight()
380 void sbitmap_show(struct sbitmap *sb, struct seq_file *m) in sbitmap_show()
402 void sbitmap_bitmap_show(struct sbitmap *sb, struct seq_file *m) in sbitmap_bitmap_show()
518 struct sbitmap *sb = &sbq->sb; in __sbitmap_queue_get_batch()
636 static inline void sbitmap_update_cpu_hint(struct sbitmap *sb, int cpu, int tag) in sbitmap_update_cpu_hint()
645 struct sbitmap *sb = &sbq->sb; in sbitmap_queue_clear_batch()