Lines Matching refs:first
169 void hbitmap_iter_init(HBitmapIter *hbi, const HBitmap *hb, uint64_t first) in hbitmap_iter_init() argument
175 pos = first >> hb->granularity; in hbitmap_iter_init()
467 uint64_t first, n; in hbitmap_set() local
477 first = start >> hb->granularity; in hbitmap_set()
480 n = last - first + 1; in hbitmap_set()
482 hb->count += n - hb_count_between(hb, first, last); in hbitmap_set()
483 if (hb_set_between(hb, HBITMAP_LEVELS - 1, first, last) && in hbitmap_set()
561 uint64_t first; in hbitmap_reset() local
575 first = start >> hb->granularity; in hbitmap_reset()
579 hb->count -= hb_count_between(hb, first, last); in hbitmap_reset()
580 if (hb_reset_between(hb, HBITMAP_LEVELS - 1, first, last) && in hbitmap_reset()
729 unsigned long *first; in hbitmap_deserialize_zeroes() local
734 serialization_chunk(hb, start, count, &first, &el_count); in hbitmap_deserialize_zeroes()
736 memset(first, 0, el_count * sizeof(unsigned long)); in hbitmap_deserialize_zeroes()
746 unsigned long *first; in hbitmap_deserialize_ones() local
751 serialization_chunk(hb, start, count, &first, &el_count); in hbitmap_deserialize_ones()
753 memset(first, 0xff, el_count * sizeof(unsigned long)); in hbitmap_deserialize_ones()