Home
last modified time | relevance | path

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

/Linux-v4.19/fs/btrfs/tests/
Dfree-space-tests.c12 #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()
847 BITS_PER_BITMAP * sectorsize + PAGE_SIZE); in btrfs_test_free_space_cache()
/Linux-v4.19/fs/btrfs/
Dfree-space-cache.c21 #define BITS_PER_BITMAP (PAGE_SIZE * 8UL) macro
1408 bytes_per_bitmap = BITS_PER_BITMAP * ctl->unit; in offset_to_bitmap()
1565 if (entry->offset + BITS_PER_BITMAP * ctl->unit > offset) in tree_search_offset()
1575 if (entry->offset + BITS_PER_BITMAP * in tree_search_offset()
1629 u64 bytes_per_bg = BITS_PER_BITMAP * ctl->unit; in recalculate_thresholds()
1677 ASSERT(start + count <= BITS_PER_BITMAP); in __bitmap_clear_bits()
1700 ASSERT(start + count <= BITS_PER_BITMAP); in bitmap_set_bits()
1737 for_each_set_bit_from(i, bitmap_info->bitmap, BITS_PER_BITMAP) { in search_bitmap()
1743 BITS_PER_BITMAP, i); in search_bitmap()
1863 end = bitmap_info->offset + (u64)(BITS_PER_BITMAP * ctl->unit) - 1; in remove_from_bitmap()
[all …]