Home
last modified time | relevance | path

Searched refs:ext4_buddy (Results 1 – 3 of 3) sorted by relevance

/linux/fs/ext4/
H A Dmballoc.h213 struct ext4_buddy *ac_e4b;
224 struct ext4_buddy { struct
290 extern int mb_mark_used_test(struct ext4_buddy *e4b,
296 ext4_group_t group, struct ext4_buddy *e4b);
297 extern void ext4_mb_unload_buddy_test(struct ext4_buddy *e4b);
299 struct ext4_buddy *e4b, int first, int count);
H A Dmballoc.c432 struct ext4_buddy *e4b, ext4_grpblk_t start,
532 static void *mb_find_buddy(struct ext4_buddy *e4b, int order, int *max) in mb_find_buddy()
557 static void mb_free_blocks_double(struct inode *inode, struct ext4_buddy *e4b, in mb_free_blocks_double()
585 static void mb_mark_used_double(struct ext4_buddy *e4b, int first, int count) in mb_mark_used_double()
598 static void mb_cmp_bitmaps(struct ext4_buddy *e4b, void *bitmap) in mb_cmp_bitmaps()
647 struct ext4_buddy *e4b, int first, int count) in mb_free_blocks_double()
651 static inline void mb_mark_used_double(struct ext4_buddy *e4b, in mb_mark_used_double()
656 static inline void mb_cmp_bitmaps(struct ext4_buddy *e4b, void *bitmap) in mb_cmp_bitmaps()
703 static void __mb_check_buddy(struct ext4_buddy *e4b, char *file, in __mb_check_buddy()
1336 static void mb_regenerate_buddy(struct ext4_buddy *e4b) in mb_regenerate_buddy()
[all …]
H A Dmballoc-test.c703 void *ext4_buddy, struct ext4_group_info *ext4_grp) in do_test_generate_buddy() argument
713 memset(ext4_buddy, 0xff, sb->s_blocksize); in do_test_generate_buddy()
714 ext4_mb_generate_buddy_test(sb, ext4_buddy, bitmap, TEST_GOAL_GROUP, in do_test_generate_buddy()
717 KUNIT_ASSERT_EQ(test, memcmp(mbt_buddy, ext4_buddy, sb->s_blocksize), in do_test_generate_buddy()
751 test_mb_mark_used_range(struct kunit *test, struct ext4_buddy *e4b, in test_mb_mark_used_range()
786 struct ext4_buddy e4b; in test_mb_mark_used()
821 test_mb_free_blocks_range(struct kunit *test, struct ext4_buddy *e4b, in test_mb_free_blocks_range()
852 struct ext4_buddy e4b; in test_mb_free_blocks()
900 struct ext4_buddy e4b; in test_mb_mark_used_cost()