Searched refs:bitmap_start (Results 1 – 1 of 1) sorted by relevance
1557 static inline unsigned long offset_to_bit(u64 bitmap_start, u32 unit, in offset_to_bit() argument1560 ASSERT(offset >= bitmap_start); in offset_to_bit()1561 offset -= bitmap_start; in offset_to_bit()1573 u64 bitmap_start; in offset_to_bitmap() local1577 bitmap_start = offset - ctl->start; in offset_to_bitmap()1578 bitmap_start = div64_u64(bitmap_start, bytes_per_bitmap); in offset_to_bitmap()1579 bitmap_start *= bytes_per_bitmap; in offset_to_bitmap()1580 bitmap_start += ctl->start; in offset_to_bitmap()1582 return bitmap_start; in offset_to_bitmap()