Lines Matching refs:bitmap
126 void bitmap_free(const unsigned long *bitmap);
167 unsigned int __bitmap_weight(const unsigned long *bitmap, unsigned int nbits);
219 int bitmap_find_free_region(unsigned long *bitmap, unsigned int bits, int order);
220 void bitmap_release_region(unsigned long *bitmap, unsigned int pos, int order);
221 int bitmap_allocate_region(unsigned long *bitmap, unsigned int pos, int order);
291 void bitmap_from_arr32(unsigned long *bitmap, const u32 *buf,
293 void bitmap_to_arr32(u32 *buf, const unsigned long *bitmap,
296 #define bitmap_from_arr32(bitmap, buf, nbits) \ argument
297 bitmap_copy_clear_tail((unsigned long *) (bitmap), \
299 #define bitmap_to_arr32(buf, bitmap, nbits) \ argument
301 (const unsigned long *) (bitmap), (nbits))
309 void bitmap_from_arr64(unsigned long *bitmap, const u64 *buf, unsigned int nbits);
310 void bitmap_to_arr64(u64 *buf, const unsigned long *bitmap, unsigned int nbits);
312 #define bitmap_from_arr64(bitmap, buf, nbits) \ argument
313 bitmap_copy_clear_tail((unsigned long *)(bitmap), (const unsigned long *)(buf), (nbits))
314 #define bitmap_to_arr64(buf, bitmap, nbits) \ argument
315 bitmap_copy_clear_tail((unsigned long *)(buf), (const unsigned long *)(bitmap), (nbits))
513 static inline void bitmap_next_set_region(unsigned long *bitmap, in bitmap_next_set_region() argument
517 *rs = find_next_bit(bitmap, end, *rs); in bitmap_next_set_region()
518 *re = find_next_zero_bit(bitmap, end, *rs + 1); in bitmap_next_set_region()