Home
last modified time | relevance | path

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

/fs/btrfs/tests/
Dfree-space-tests.c13 #define BITS_PER_BITMAP (PAGE_SIZE * 8UL) macro
130 next_bitmap_offset = (u64)(BITS_PER_BITMAP * sectorsize); in test_bitmaps()
161 u64 bitmap_offset = (u64)(BITS_PER_BITMAP * sectorsize); in test_bitmaps_and_extents()
848 BITS_PER_BITMAP * sectorsize + PAGE_SIZE); in btrfs_test_free_space_cache()
/fs/btrfs/
Dfree-space-cache.c26 #define BITS_PER_BITMAP (PAGE_SIZE * 8UL) macro
1456 bytes_per_bitmap = BITS_PER_BITMAP * ctl->unit; in offset_to_bitmap()
1613 if (entry->offset + BITS_PER_BITMAP * ctl->unit > offset) in tree_search_offset()
1623 if (entry->offset + BITS_PER_BITMAP * in tree_search_offset()
1687 u64 bytes_per_bg = BITS_PER_BITMAP * ctl->unit; in recalculate_thresholds()
1728 ASSERT(end <= BITS_PER_BITMAP); in __bitmap_clear_bits()
1739 if (end < BITS_PER_BITMAP && test_bit(end, info->bitmap)) in __bitmap_clear_bits()
1767 ASSERT(end <= BITS_PER_BITMAP); in bitmap_set_bits()
1777 if (end < BITS_PER_BITMAP && test_bit(end, info->bitmap)) in bitmap_set_bits()
1816 for_each_set_bit_from(i, bitmap_info->bitmap, BITS_PER_BITMAP) { in search_bitmap()
[all …]