Home
last modified time | relevance | path

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

/linux-4.19.296/fs/btrfs/
Dfree-space-cache.c1429 static inline unsigned long offset_to_bit(u64 bitmap_start, u32 unit, in offset_to_bit() argument
1432 ASSERT(offset >= bitmap_start); in offset_to_bit()
1433 offset -= bitmap_start; in offset_to_bit()
1445 u64 bitmap_start; in offset_to_bitmap() local
1449 bitmap_start = offset - ctl->start; in offset_to_bitmap()
1450 bitmap_start = div64_u64(bitmap_start, bytes_per_bitmap); in offset_to_bitmap()
1451 bitmap_start *= bytes_per_bitmap; in offset_to_bitmap()
1452 bitmap_start += ctl->start; in offset_to_bitmap()
1454 return bitmap_start; in offset_to_bitmap()