Home
last modified time | relevance | path

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

/linux-4.1.27/fs/btrfs/tests/
Dfree-space-tests.c24 #define BITS_PER_BITMAP (PAGE_CACHE_SIZE * 8) macro
170 next_bitmap_offset = (u64)(BITS_PER_BITMAP * 4096); in test_bitmaps()
202 u64 bitmap_offset = (u64)(BITS_PER_BITMAP * 4096); in test_bitmaps_and_extents()
/linux-4.1.27/fs/btrfs/
Dfree-space-cache.c32 #define BITS_PER_BITMAP (PAGE_CACHE_SIZE * 8) macro
1428 bytes_per_bitmap = BITS_PER_BITMAP * ctl->unit; in offset_to_bitmap()
1585 if (entry->offset + BITS_PER_BITMAP * ctl->unit > offset) in tree_search_offset()
1595 if (entry->offset + BITS_PER_BITMAP * in tree_search_offset()
1649 u32 bytes_per_bg = BITS_PER_BITMAP * ctl->unit; in recalculate_thresholds()
1698 ASSERT(start + count <= BITS_PER_BITMAP); in __bitmap_clear_bits()
1721 ASSERT(start + count <= BITS_PER_BITMAP); in bitmap_set_bits()
1747 for_each_set_bit_from(i, bitmap_info->bitmap, BITS_PER_BITMAP) { in search_bitmap()
1749 BITS_PER_BITMAP, i); in search_bitmap()
1868 end = bitmap_info->offset + (u64)(BITS_PER_BITMAP * ctl->unit) - 1; in remove_from_bitmap()
[all …]