Home
last modified time | relevance | path

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

/Linux-v5.4/fs/btrfs/tests/
Dfree-space-tests.c13 #define BITS_PER_BITMAP (PAGE_SIZE * 8UL) macro
131 next_bitmap_offset = (u64)(BITS_PER_BITMAP * sectorsize); in test_bitmaps()
162 u64 bitmap_offset = (u64)(BITS_PER_BITMAP * sectorsize); in test_bitmaps_and_extents()
849 BITS_PER_BITMAP * sectorsize + PAGE_SIZE); in btrfs_test_free_space_cache()
/Linux-v5.4/fs/btrfs/
Dfree-space-cache.c25 #define BITS_PER_BITMAP (PAGE_SIZE * 8UL) macro
1434 bytes_per_bitmap = BITS_PER_BITMAP * ctl->unit; in offset_to_bitmap()
1591 if (entry->offset + BITS_PER_BITMAP * ctl->unit > offset) in tree_search_offset()
1601 if (entry->offset + BITS_PER_BITMAP * in tree_search_offset()
1655 u64 bytes_per_bg = BITS_PER_BITMAP * ctl->unit; in recalculate_thresholds()
1703 ASSERT(start + count <= BITS_PER_BITMAP); in __bitmap_clear_bits()
1728 ASSERT(start + count <= BITS_PER_BITMAP); in bitmap_set_bits()
1765 for_each_set_bit_from(i, bitmap_info->bitmap, BITS_PER_BITMAP) { in search_bitmap()
1771 BITS_PER_BITMAP, i); in search_bitmap()
1900 end = bitmap_info->offset + (u64)(BITS_PER_BITMAP * ctl->unit) - 1; in remove_from_bitmap()
[all …]