ext4_buddy
void *ext4_buddy, struct ext4_group_info *ext4_grp)
memset(ext4_buddy, 0xff, sb->s_blocksize);
ext4_mb_generate_buddy_test(sb, ext4_buddy, bitmap, TEST_GOAL_GROUP,
KUNIT_ASSERT_MEMEQ(test, mbt_buddy, ext4_buddy, sb->s_blocksize);
test_mb_mark_used_range(struct kunit *test, struct ext4_buddy *e4b,
struct ext4_buddy e4b;
test_mb_free_blocks_range(struct kunit *test, struct ext4_buddy *e4b,
struct ext4_buddy e4b;
struct ext4_buddy e4b;
static void mb_regenerate_buddy(struct ext4_buddy *e4b)
ext4_group_t group, struct ext4_buddy *e4b, gfp_t gfp)
static void ext4_mb_put_buddy_folio_lock(struct ext4_buddy *e4b)
struct ext4_buddy e4b;
struct ext4_buddy *e4b, gfp_t gfp)
struct ext4_buddy *e4b)
static void ext4_mb_unload_buddy(struct ext4_buddy *e4b)
static int mb_find_order_for_block(struct ext4_buddy *e4b, int block)
static void mb_buddy_mark_free(struct ext4_buddy *e4b, int first, int last)
static void mb_free_blocks(struct inode *inode, struct ext4_buddy *e4b,
static int mb_find_extent(struct ext4_buddy *e4b, int block,
static int mb_mark_used(struct ext4_buddy *e4b, struct ext4_free_extent *ex)
struct ext4_buddy *e4b)
struct ext4_buddy *e4b,
struct ext4_buddy *e4b)
struct ext4_buddy *e4b)
struct ext4_buddy *e4b)
struct ext4_buddy *e4b)
struct ext4_buddy *e4b)
struct ext4_buddy *e4b)
struct ext4_buddy e4b;
struct ext4_buddy e4b;
struct ext4_buddy e4b;
struct ext4_buddy e4b;
struct ext4_buddy *e4b, ext4_grpblk_t start,
struct ext4_buddy e4b;
static void *mb_find_buddy(struct ext4_buddy *e4b, int order, int *max)
ext4_mb_release_inode_pa(struct ext4_buddy *e4b, struct buffer_head *bitmap_bh,
ext4_mb_release_group_pa(struct ext4_buddy *e4b,
struct ext4_buddy e4b;
static void mb_free_blocks_double(struct inode *inode, struct ext4_buddy *e4b,
struct ext4_buddy e4b;
static void mb_mark_used_double(struct ext4_buddy *e4b, int first, int count)
struct ext4_buddy e4b;
static void mb_cmp_bitmaps(struct ext4_buddy *e4b, void *bitmap)
ext4_mb_free_metadata(handle_t *handle, struct ext4_buddy *e4b,
struct ext4_buddy *e4b, int first, int count)
static inline void mb_mark_used_double(struct ext4_buddy *e4b,
struct ext4_buddy e4b;
static inline void mb_cmp_bitmaps(struct ext4_buddy *e4b, void *bitmap)
struct ext4_buddy e4b;
int start, int count, struct ext4_buddy *e4b)
struct ext4_buddy *e4b, ext4_grpblk_t start,
struct ext4_buddy e4b;
static void __mb_check_buddy(struct ext4_buddy *e4b, char *file,
struct ext4_buddy e4b;
int mb_mark_used_test(struct ext4_buddy *e4b, struct ext4_free_extent *ex)
struct ext4_buddy *e4b)
void ext4_mb_unload_buddy_test(struct ext4_buddy *e4b)
void mb_free_blocks_test(struct inode *inode, struct ext4_buddy *e4b,
struct ext4_buddy *ac_e4b;
extern int mb_mark_used_test(struct ext4_buddy *e4b,
ext4_group_t group, struct ext4_buddy *e4b);
extern void ext4_mb_unload_buddy_test(struct ext4_buddy *e4b);
struct ext4_buddy *e4b, int first, int count);