Home
last modified time | relevance | path

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

/fs/btrfs/
Dfree-space-cache.c32 #define BITS_PER_BITMAP (PAGE_CACHE_SIZE * 8) macro
1437 bytes_per_bitmap = BITS_PER_BITMAP * ctl->unit; in offset_to_bitmap()
1594 if (entry->offset + BITS_PER_BITMAP * ctl->unit > offset) in tree_search_offset()
1604 if (entry->offset + BITS_PER_BITMAP * in tree_search_offset()
1658 u32 bytes_per_bg = BITS_PER_BITMAP * ctl->unit; in recalculate_thresholds()
1707 ASSERT(start + count <= BITS_PER_BITMAP); in __bitmap_clear_bits()
1732 ASSERT(start + count <= BITS_PER_BITMAP); in bitmap_set_bits()
1769 for_each_set_bit_from(i, bitmap_info->bitmap, BITS_PER_BITMAP) { in search_bitmap()
1775 BITS_PER_BITMAP, i); in search_bitmap()
1904 end = bitmap_info->offset + (u64)(BITS_PER_BITMAP * ctl->unit) - 1; in remove_from_bitmap()
[all …]
/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()