Home
last modified time | relevance | path

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

/fs/btrfs/
Dfree-space-cache.c1418 static inline unsigned long offset_to_bit(u64 bitmap_start, u32 unit, in offset_to_bit() argument
1421 ASSERT(offset >= bitmap_start); in offset_to_bit()
1422 offset -= bitmap_start; in offset_to_bit()
1434 u64 bitmap_start; in offset_to_bitmap() local
1438 bitmap_start = offset - ctl->start; in offset_to_bitmap()
1439 bitmap_start = div_u64(bitmap_start, bytes_per_bitmap); in offset_to_bitmap()
1440 bitmap_start *= bytes_per_bitmap; in offset_to_bitmap()
1441 bitmap_start += ctl->start; in offset_to_bitmap()
1443 return bitmap_start; in offset_to_bitmap()