Home
last modified time | relevance | path

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

/Linux-v4.19/fs/btrfs/
Dfree-space-cache.c1389 static inline unsigned long offset_to_bit(u64 bitmap_start, u32 unit, in offset_to_bit() argument
1392 ASSERT(offset >= bitmap_start); in offset_to_bit()
1393 offset -= bitmap_start; in offset_to_bit()
1405 u64 bitmap_start; in offset_to_bitmap() local
1409 bitmap_start = offset - ctl->start; in offset_to_bitmap()
1410 bitmap_start = div64_u64(bitmap_start, bytes_per_bitmap); in offset_to_bitmap()
1411 bitmap_start *= bytes_per_bitmap; in offset_to_bitmap()
1412 bitmap_start += ctl->start; in offset_to_bitmap()
1414 return bitmap_start; in offset_to_bitmap()