Searched refs:sbitmap (Results 1 – 3 of 3) sorted by relevance
52 struct sbitmap { struct113 struct sbitmap sb;170 int sbitmap_init_node(struct sbitmap *sb, unsigned int depth, int shift,174 static inline unsigned int __map_depth(const struct sbitmap *sb, int index) in __map_depth()185 static inline void sbitmap_free(struct sbitmap *sb) in sbitmap_free()200 void sbitmap_resize(struct sbitmap *sb, unsigned int depth);210 int sbitmap_get(struct sbitmap *sb);227 int sbitmap_get_shallow(struct sbitmap *sb, unsigned long shallow_depth);235 bool sbitmap_any_bit_set(const struct sbitmap *sb);240 typedef bool (*sb_for_each_fn)(struct sbitmap *, unsigned int, void *);[all …]
376 struct sbitmap ctx_map;
112 struct sbitmap budget_map;