Home
last modified time | relevance | path

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

/linux-6.6.21/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()
873 offset = i * BITS_PER_BITMAP * sectorsize; in test_bytes_index()
904 offset = BITS_PER_BITMAP * sectorsize; in test_bytes_index()
928 offset = (BITS_PER_BITMAP * sectorsize) + sectorsize; in test_bytes_index()
972 offset = (BITS_PER_BITMAP * sectorsize) - sectorsize; in test_bytes_index()
993 if (offset != (BITS_PER_BITMAP * sectorsize)) { in test_bytes_index()
996 (unsigned long long)(BITS_PER_BITMAP * sectorsize)); in test_bytes_index()
1025 BITS_PER_BITMAP * sectorsize + PAGE_SIZE); in btrfs_test_free_space_cache()
/linux-6.6.21/fs/btrfs/
Dfree-space-cache.c34 #define BITS_PER_BITMAP (PAGE_SIZE * 8UL) macro
696 u64 bytes_per_bg = BITS_PER_BITMAP * ctl->unit; in recalculate_thresholds()
1576 bytes_per_bitmap = BITS_PER_BITMAP * ctl->unit; in offset_to_bitmap()
1790 if (entry->offset + BITS_PER_BITMAP * ctl->unit > offset) in tree_search_offset()
1804 if (entry->offset + BITS_PER_BITMAP * in tree_search_offset()
1886 ASSERT(end <= BITS_PER_BITMAP); in bitmap_clear_bits()
1899 if (end < BITS_PER_BITMAP && test_bit(end, info->bitmap)) in bitmap_clear_bits()
1922 ASSERT(end <= BITS_PER_BITMAP); in bitmap_set_bits()
1939 if (end < BITS_PER_BITMAP && test_bit(end, info->bitmap)) in bitmap_set_bits()
1978 for_each_set_bit_from(i, bitmap_info->bitmap, BITS_PER_BITMAP) { in search_bitmap()
[all …]