Searched refs:bg_idx (Results 1 - 3 of 3) sorted by relevance

/u-boot/fs/ext4/
H A Dext4_write.c145 int bg_idx; local
159 bg_idx = blknr / blk_per_grp;
163 bg_idx--;
165 ext4fs_reset_block_bmap(blknr, fs->blk_bmaps[bg_idx], bg_idx);
167 bgd = ext4fs_get_group_descriptor(fs, bg_idx);
171 if (prev_bg_bmap_idx != bg_idx) {
180 prev_bg_bmap_idx = bg_idx;
194 int bg_idx; local
221 bg_idx
291 int bg_idx; local
445 int bg_idx; local
[all...]
H A Dext4_common.h80 (const struct ext_filesystem *fs, uint32_t bg_idx);
H A Dext4_common.c52 (const struct ext_filesystem *fs, uint32_t bg_idx)
54 return (struct ext2_block_group *)(fs->gdtable + (bg_idx * fs->gdsize));
966 unsigned int bg_idx; local
1021 bg_idx = fs->curr_blkno / blk_per_grp;
1025 bg_idx--;
1032 if (bg_idx >= fs->no_blkgrp)
1036 bgd = ext4fs_get_group_descriptor(fs, bg_idx);
1038 debug("block group %u is full. Skipping\n", bg_idx);
1039 fs->curr_blkno = (bg_idx + 1) * blk_per_grp;
1048 memcpy(fs->blk_bmaps[bg_idx], zero_buffe
51 ext4fs_get_group_descriptor(const struct ext_filesystem *fs, uint32_t bg_idx) argument
[all...]

Completed in 96 milliseconds