Home
last modified time | relevance | path

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

/external/e2fsprogs/lib/ext2fs/
Dblknum.c185 struct opaque_ext2_group_desc *gdp, in ext2fs_group_desc() argument
190 return (struct ext2_group_desc *)((char *)gdp + group * desc_size); in ext2fs_group_desc()
195 struct opaque_ext2_group_desc *gdp, in ext4fs_group_desc() argument
198 return (struct ext4_group_desc *)ext2fs_group_desc(fs, gdp, group); in ext4fs_group_desc()
206 struct ext4_group_desc *gdp; in ext2fs_block_bitmap_checksum() local
209 gdp = ext4fs_group_desc(fs, fs->group_desc, group); in ext2fs_block_bitmap_checksum()
210 csum = gdp->bg_block_bitmap_csum_lo; in ext2fs_block_bitmap_checksum()
212 csum |= ((__u32)gdp->bg_block_bitmap_csum_hi << 16); in ext2fs_block_bitmap_checksum()
221 struct ext4_group_desc *gdp; in ext2fs_block_bitmap_loc() local
223 gdp = ext4fs_group_desc(fs, fs->group_desc, group); in ext2fs_block_bitmap_loc()
[all …]
Dswapfs.c107 void ext2fs_swap_group_desc2(ext2_filsys fs, struct ext2_group_desc *gdp) in ext2fs_swap_group_desc2() argument
109 struct ext4_group_desc *gdp4 = (struct ext4_group_desc *)gdp; in ext2fs_swap_group_desc2()
112 gdp->bg_block_bitmap = ext2fs_swab32(gdp->bg_block_bitmap); in ext2fs_swap_group_desc2()
113 gdp->bg_inode_bitmap = ext2fs_swab32(gdp->bg_inode_bitmap); in ext2fs_swap_group_desc2()
114 gdp->bg_inode_table = ext2fs_swab32(gdp->bg_inode_table); in ext2fs_swap_group_desc2()
115 gdp->bg_free_blocks_count = ext2fs_swab16(gdp->bg_free_blocks_count); in ext2fs_swap_group_desc2()
116 gdp->bg_free_inodes_count = ext2fs_swab16(gdp->bg_free_inodes_count); in ext2fs_swap_group_desc2()
117 gdp->bg_used_dirs_count = ext2fs_swab16(gdp->bg_used_dirs_count); in ext2fs_swap_group_desc2()
118 gdp->bg_flags = ext2fs_swab16(gdp->bg_flags); in ext2fs_swap_group_desc2()
119 gdp->bg_exclude_bitmap_lo = ext2fs_swab32(gdp->bg_exclude_bitmap_lo); in ext2fs_swap_group_desc2()
[all …]
Dcsum.c556 struct ext4_group_desc *gdp = (struct ext4_group_desc *) in ext2fs_inode_bitmap_csum_verify() local
562 provided = gdp->bg_inode_bitmap_csum_lo; in ext2fs_inode_bitmap_csum_verify()
566 provided |= (__u32)gdp->bg_inode_bitmap_csum_hi << 16; in ext2fs_inode_bitmap_csum_verify()
577 struct ext4_group_desc *gdp = (struct ext4_group_desc *) in ext2fs_inode_bitmap_csum_set() local
584 gdp->bg_inode_bitmap_csum_lo = crc & 0xFFFF; in ext2fs_inode_bitmap_csum_set()
586 gdp->bg_inode_bitmap_csum_hi = crc >> 16; in ext2fs_inode_bitmap_csum_set()
594 struct ext4_group_desc *gdp = (struct ext4_group_desc *) in ext2fs_block_bitmap_csum_verify() local
600 provided = gdp->bg_block_bitmap_csum_lo; in ext2fs_block_bitmap_csum_verify()
604 provided |= (__u32)gdp->bg_block_bitmap_csum_hi << 16; in ext2fs_block_bitmap_csum_verify()
615 struct ext4_group_desc *gdp = (struct ext4_group_desc *) in ext2fs_block_bitmap_csum_set() local
[all …]
Dopenfs.c132 struct ext2_group_desc *gdp; in ext2fs_open2() local
428 gdp = (struct ext2_group_desc *) dest; in ext2fs_open2()
430 gdp = ext2fs_group_desc(fs, fs->group_desc, j); in ext2fs_open2()
431 ext2fs_swap_group_desc2(fs, gdp); in ext2fs_open2()
443 gdp = ext2fs_group_desc(fs, fs->group_desc, in ext2fs_open2()
445 ext2fs_swap_group_desc2(fs, gdp); in ext2fs_open2()
Dclosefs.c289 struct ext2_group_desc *gdp; in ext2fs_flush2() local
335 gdp = ext2fs_group_desc(fs, group_shadow, j); in ext2fs_flush2()
336 ext2fs_swap_group_desc2(fs, gdp); in ext2fs_flush2()
Dext2fs.h904 struct opaque_ext2_group_desc *gdp,
1667 extern void ext2fs_swap_group_desc(struct ext2_group_desc *gdp);
1668 extern void ext2fs_swap_group_desc2(ext2_filsys, struct ext2_group_desc *gdp);
/external/e2fsprogs/doc/
Dlibext2fs.texinfo1278 @deftypefun void ext2fs_swap_group_desc (struct ext2_group_desc *@var{gdp})