Home
last modified time | relevance | path

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

/linux-4.4.14/fs/btrfs/
Dfree-space-cache.c32 #define BITS_PER_BITMAP (PAGE_CACHE_SIZE * 8) macro
1426 bytes_per_bitmap = BITS_PER_BITMAP * ctl->unit; in offset_to_bitmap()
1583 if (entry->offset + BITS_PER_BITMAP * ctl->unit > offset) in tree_search_offset()
1593 if (entry->offset + BITS_PER_BITMAP * in tree_search_offset()
1647 u32 bytes_per_bg = BITS_PER_BITMAP * ctl->unit; in recalculate_thresholds()
1696 ASSERT(start + count <= BITS_PER_BITMAP); in __bitmap_clear_bits()
1719 ASSERT(start + count <= BITS_PER_BITMAP); in bitmap_set_bits()
1756 for_each_set_bit_from(i, bitmap_info->bitmap, BITS_PER_BITMAP) { in search_bitmap()
1762 BITS_PER_BITMAP, i); in search_bitmap()
1882 end = bitmap_info->offset + (u64)(BITS_PER_BITMAP * ctl->unit) - 1; in remove_from_bitmap()
[all …]
/linux-4.4.14/fs/btrfs/tests/
Dfree-space-tests.c25 #define BITS_PER_BITMAP (PAGE_CACHE_SIZE * 8) macro
177 next_bitmap_offset = (u64)(BITS_PER_BITMAP * 4096); in test_bitmaps()
209 u64 bitmap_offset = (u64)(BITS_PER_BITMAP * 4096); in test_bitmaps_and_extents()