Lines Matching defs:add
136 ext4_warning(sb, "Cannot add at group %u (only %u groups)",
213 * ext4_new_flex_group_data is used by 64bit-resize interface to add a flex
1007 * We need to add these reserved backup GDT blocks to the resize inode, so
1086 * Finally we can add each of the reserved backup GDT blocks from
1270 * We will only either add reserved group blocks to a backup group
1693 * Otherwise, we may need to add backup GDT blocks for a sparse group.
1771 ext4_fsblk_t o_blocks_count, ext4_grpblk_t add)
1796 ext4_blocks_count_set(es, o_blocks_count + add);
1797 ext4_free_blocks_count_set(es, ext4_free_blocks_count(es) + add);
1801 o_blocks_count + add);
1802 /* We add the blocks to the bitmap and set the group need init bit */
1803 err = ext4_group_add_blocks(handle, sb, o_blocks_count, add);
1808 o_blocks_count + add);
1839 ext4_grpblk_t add;
1873 add = EXT4_BLOCKS_PER_GROUP(sb) - last;
1875 if (o_blocks_count + add < o_blocks_count) {
1880 if (o_blocks_count + add > n_blocks_count)
1881 add = n_blocks_count - o_blocks_count;
1883 if (o_blocks_count + add < n_blocks_count)
1885 o_blocks_count + add, add);
1888 bh = ext4_sb_bread(sb, o_blocks_count + add - 1, 0);
1895 return ext4_group_extend_no_check(sb, o_blocks_count, add);
2003 ext4_grpblk_t add, offset;
2125 add = n_blocks_count - o_blocks_count;
2127 add = EXT4_C2B(sbi, EXT4_CLUSTERS_PER_GROUP(sb) - (offset + 1));
2128 if (add > 0) {
2129 err = ext4_group_extend_no_check(sb, o_blocks_count, add);