Home
last modified time | relevance | path

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

/fs/ext4/
Dmballoc.c441 static void *mb_find_buddy(struct ext4_buddy *e4b, int order, int *max) in mb_find_buddy() argument
445 BUG_ON(e4b->bd_bitmap == e4b->bd_buddy); in mb_find_buddy()
448 if (order > e4b->bd_blkbits + 1) { in mb_find_buddy()
455 *max = 1 << (e4b->bd_blkbits + 3); in mb_find_buddy()
456 return e4b->bd_bitmap; in mb_find_buddy()
459 bb = e4b->bd_buddy + EXT4_SB(e4b->bd_sb)->s_mb_offsets[order]; in mb_find_buddy()
460 *max = EXT4_SB(e4b->bd_sb)->s_mb_maxs[order]; in mb_find_buddy()
466 static void mb_free_blocks_double(struct inode *inode, struct ext4_buddy *e4b, in mb_free_blocks_double() argument
470 struct super_block *sb = e4b->bd_sb; in mb_free_blocks_double()
472 if (unlikely(e4b->bd_info->bb_bitmap == NULL)) in mb_free_blocks_double()
[all …]