Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/fs/ext4/
H A Dext4_write.c72 struct ext2_block_group *bgd = NULL; in ext4fs_update() local
80 bgd = ext4fs_get_group_descriptor(fs, i); in ext4fs_update()
81 bgd->bg_checksum = cpu_to_le16(ext4fs_checksum_update(i)); in ext4fs_update()
82 uint64_t b_bitmap_blk = ext4fs_bg_get_block_id(bgd, fs); in ext4fs_update()
89 bgd = ext4fs_get_group_descriptor(fs, i); in ext4fs_update()
90 uint64_t i_bitmap_blk = ext4fs_bg_get_inode_id(bgd, fs); in ext4fs_update()
138 struct ext2_block_group *bgd = NULL; in delete_single_indirect_block() local
164 bgd = ext4fs_get_group_descriptor(fs, bg_idx); in delete_single_indirect_block()
165 ext4fs_bg_free_blocks_inc(bgd, fs); in delete_single_indirect_block()
169 uint64_t b_bitmap_blk = ext4fs_bg_get_block_id(bgd, fs); in delete_single_indirect_block()
[all …]
H A Dext4_common.c975 struct ext2_block_group *bgd = NULL; in ext4fs_get_new_blk_no() local
976 bgd = ext4fs_get_group_descriptor(fs, i); in ext4fs_get_new_blk_no()
977 if (ext4fs_bg_get_free_blocks(bgd, fs)) { in ext4fs_get_new_blk_no()
978 uint16_t bg_flags = ext4fs_bg_get_flags(bgd); in ext4fs_get_new_blk_no()
980 ext4fs_bg_get_block_id(bgd, fs); in ext4fs_get_new_blk_no()
987 ext4fs_bg_set_flags(bgd, bg_flags); in ext4fs_get_new_blk_no()
997 ext4fs_bg_free_blocks_dec(bgd, fs); in ext4fs_get_new_blk_no()
1033 struct ext2_block_group *bgd = NULL; in ext4fs_get_new_blk_no() local
1034 bgd = ext4fs_get_group_descriptor(fs, bg_idx); in ext4fs_get_new_blk_no()
1035 if (ext4fs_bg_get_free_blocks(bgd, fs) == 0) { in ext4fs_get_new_blk_no()
[all …]
/OK3568_Linux_fs/kernel/block/
H A Dbfq-cgroup.c500 struct bfq_group_data *bgd; in bfq_cpd_alloc() local
502 bgd = kzalloc(sizeof(*bgd), gfp); in bfq_cpd_alloc()
503 if (!bgd) in bfq_cpd_alloc()
505 return &bgd->pd; in bfq_cpd_alloc()