• Home
  • Raw
  • Download

Lines Matching refs:bitmap

349 static void ext4_mb_generate_from_pa(struct super_block *sb, void *bitmap,
351 static void ext4_mb_generate_from_freelist(struct super_block *sb, void *bitmap,
518 static void mb_cmp_bitmaps(struct ext4_buddy *e4b, void *bitmap) in mb_cmp_bitmaps() argument
522 if (memcmp(e4b->bd_info->bb_bitmap, bitmap, e4b->bd_sb->s_blocksize)) { in mb_cmp_bitmaps()
526 b2 = (unsigned char *) bitmap; in mb_cmp_bitmaps()
576 static inline void mb_cmp_bitmaps(struct ext4_buddy *e4b, void *bitmap) in mb_cmp_bitmaps() argument
773 void *buddy, void *bitmap, ext4_group_t group, in ext4_mb_generate_buddy() argument
787 i = mb_find_next_zero_bit(bitmap, max, 0); in ext4_mb_generate_buddy()
792 i = mb_find_next_bit(bitmap, max, i); in ext4_mb_generate_buddy()
800 i = mb_find_next_zero_bit(bitmap, max, i); in ext4_mb_generate_buddy()
879 char *bitmap; in ext4_mb_init_cache() local
967 bitmap = bh[group - first_group]->b_data; in ext4_mb_init_cache()
1006 memcpy(data, bitmap, blocksize); in ext4_mb_init_cache()
1406 static inline int mb_buddy_adjust_border(int* bit, void* bitmap, int side) in mb_buddy_adjust_border() argument
1408 if (mb_test_bit(*bit + side, bitmap)) { in mb_buddy_adjust_border()
1409 mb_clear_bit(*bit, bitmap); in mb_buddy_adjust_border()
1415 mb_set_bit(*bit, bitmap); in mb_buddy_adjust_border()
2022 void *bitmap = e4b->bd_bitmap; in ext4_mb_complex_scan_group() local
2034 i = mb_find_next_zero_bit(bitmap, in ext4_mb_complex_scan_group()
2088 void *bitmap = e4b->bd_bitmap; in ext4_mb_scan_aligned() local
2105 if (!mb_test_bit(i, bitmap)) { in ext4_mb_scan_aligned()
3985 static void ext4_mb_generate_from_freelist(struct super_block *sb, void *bitmap, in ext4_mb_generate_from_freelist() argument
3999 ext4_set_bits(bitmap, entry->efd_start_cluster, entry->efd_count); in ext4_mb_generate_from_freelist()
4011 void ext4_mb_generate_from_pa(struct super_block *sb, void *bitmap, in ext4_mb_generate_from_pa() argument
4043 ext4_set_bits(bitmap, start, len); in ext4_mb_generate_from_pa()
5947 void *bitmap; in ext4_try_to_trim_range() local
5950 bitmap = e4b->bd_bitmap; in ext4_try_to_trim_range()
5959 start = mb_find_next_zero_bit(bitmap, max + 1, start); in ext4_try_to_trim_range()
5963 next = mb_find_next_bit(bitmap, last + 1, start); in ext4_try_to_trim_range()
6160 void *bitmap; in ext4_mballoc_query_range() local
6168 bitmap = e4b.bd_bitmap; in ext4_mballoc_query_range()
6177 start = mb_find_next_zero_bit(bitmap, end + 1, start); in ext4_mballoc_query_range()
6180 next = mb_find_next_bit(bitmap, end + 1, start); in ext4_mballoc_query_range()