Home
last modified time | relevance | path

Searched refs:sbitmap (Results 1 – 3 of 3) sorted by relevance

/include/linux/
Dsbitmap.h52 struct sbitmap { struct
113 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 …]
Dblk-mq.h376 struct sbitmap ctx_map;
/include/scsi/
Dscsi_device.h112 struct sbitmap budget_map;