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

/linux-4.1.27/fs/btrfs/
H A Dfree-space-cache.c32 #define BITS_PER_BITMAP (PAGE_CACHE_SIZE * 8) macro
1428 bytes_per_bitmap = BITS_PER_BITMAP * ctl->unit; offset_to_bitmap()
1585 if (entry->offset + BITS_PER_BITMAP * ctl->unit > offset) tree_search_offset()
1595 if (entry->offset + BITS_PER_BITMAP * tree_search_offset()
1649 u32 bytes_per_bg = BITS_PER_BITMAP * ctl->unit; recalculate_thresholds()
1698 ASSERT(start + count <= BITS_PER_BITMAP); __bitmap_clear_bits()
1721 ASSERT(start + count <= BITS_PER_BITMAP); bitmap_set_bits()
1747 for_each_set_bit_from(i, bitmap_info->bitmap, BITS_PER_BITMAP) { search_bitmap()
1749 BITS_PER_BITMAP, i); search_bitmap()
1868 end = bitmap_info->offset + (u64)(BITS_PER_BITMAP * ctl->unit) - 1; remove_from_bitmap()
1942 end = info->offset + (u64)(BITS_PER_BITMAP * ctl->unit); add_bytes_to_bitmap()
1985 if (((BITS_PER_BITMAP * ctl->unit) >> 1) > block_group->key.offset) use_bitmap()
2174 j = find_next_zero_bit(bitmap->bitmap, BITS_PER_BITMAP, i); steal_from_bitmap_to_end()
2217 for_each_clear_bit_from(j, bitmap->bitmap, BITS_PER_BITMAP) { steal_from_bitmap_to_front()
2791 for_each_set_bit_from(i, entry->bitmap, BITS_PER_BITMAP) { btrfs_bitmap_cluster()
2793 BITS_PER_BITMAP, i); btrfs_bitmap_cluster()
3259 offset += BITS_PER_BITMAP * ctl->unit; trim_bitmaps()
3262 if (start >= offset + BITS_PER_BITMAP * ctl->unit) trim_bitmaps()
3263 offset += BITS_PER_BITMAP * ctl->unit; trim_bitmaps()
/linux-4.1.27/fs/btrfs/tests/
H A Dfree-space-tests.c24 #define BITS_PER_BITMAP (PAGE_CACHE_SIZE * 8) init_test_block_group() macro
170 next_bitmap_offset = (u64)(BITS_PER_BITMAP * 4096); test_bitmaps()
202 u64 bitmap_offset = (u64)(BITS_PER_BITMAP * 4096); test_bitmaps_and_extents()

Completed in 105 milliseconds