Home
last modified time | relevance | path

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

/external/e2fsprogs/misc/
De2undo.c114 return ext2fs_le32_to_cpu(header->f_compat) & in e2undo_has_feature_fs_offset()
133 printf("block size:\t%u\n", ext2fs_le32_to_cpu(hdr->block_size)); in dump_header()
134 printf("fs block size:\t%u\n", ext2fs_le32_to_cpu(hdr->fs_block_size)); in dump_header()
135 printf("super crc:\t0x%x\n", ext2fs_le32_to_cpu(hdr->sb_crc)); in dump_header()
136 printf("state:\t\t0x%x\n", ext2fs_le32_to_cpu(hdr->state)); in dump_header()
137 printf("compat:\t\t0x%x\n", ext2fs_le32_to_cpu(hdr->f_compat)); in dump_header()
138 printf("incompat:\t0x%x\n", ext2fs_le32_to_cpu(hdr->f_incompat)); in dump_header()
139 printf("rocompat:\t0x%x\n", ext2fs_le32_to_cpu(hdr->f_rocompat)); in dump_header()
142 printf("header crc:\t0x%x\n", ext2fs_le32_to_cpu(hdr->header_crc)); in dump_header()
199 if (ext2fs_le32_to_cpu(ctx->hdr.sb_crc) != sb_crc) { in check_filesystem()
[all …]
De2image.c1455 seek_set(fd, ext2fs_le32_to_cpu(fs->image_header->offset_inode)); in install_image()
Dfuse2fs.c278 a->e_id = ext2fs_le32_to_cpu(e->e_id); in ext4_to_fuse_acl()
/external/e2fsprogs/lib/support/
Dquotaio_v2.c52 dquot->dq_id = ext2fs_le32_to_cpu(d->dqb_id); in v2r1_disk2memdqblk()
97 return ext2fs_le32_to_cpu(d->dqb_id) == dquot->dq_id; in v2r1_is_id()
112 m->dqi_bgrace = ext2fs_le32_to_cpu(d->dqi_bgrace); in v2_disk2memdqinfo()
113 m->dqi_igrace = ext2fs_le32_to_cpu(d->dqi_igrace); in v2_disk2memdqinfo()
114 m->u.v2_mdqi.dqi_flags = ext2fs_le32_to_cpu(d->dqi_flags) & V2_DQF_MASK; in v2_disk2memdqinfo()
115 m->u.v2_mdqi.dqi_qtree.dqi_blocks = ext2fs_le32_to_cpu(d->dqi_blocks); in v2_disk2memdqinfo()
117 ext2fs_le32_to_cpu(d->dqi_free_blk); in v2_disk2memdqinfo()
119 ext2fs_le32_to_cpu(d->dqi_free_entry); in v2_disk2memdqinfo()
167 if (V2_VERSION != ext2fs_le32_to_cpu(dqh.dqh_version)) in v2_check_file()
Dquotaio_tree.c102 info->dqi_free_blk = ext2fs_le32_to_cpu(dh->dqdh_next_free); in get_free_dqblk()
140 unsigned int nextblk = ext2fs_le32_to_cpu(dh->dqdh_next_free), prevblk = in remove_free_dqentry()
142 ext2fs_le32_to_cpu(dh->dqdh_prev_free); in remove_free_dqentry()
278 newblk = ext2fs_le32_to_cpu(ref[get_index(dquot->dq_id, depth)]); in do_insert_tree()
407 newblk = ext2fs_le32_to_cpu(ref[get_index(dquot->dq_id, depth)]); in remove_tree()
484 blk = ext2fs_le32_to_cpu(ref[get_index(dquot->dq_id, depth)]); in find_tree_dqentry()
609 blk = ext2fs_le32_to_cpu(ref[i]); in report_tree()
626 blk = ext2fs_le32_to_cpu(ref[i]); in report_tree()
/external/e2fsprogs/lib/ext2fs/
Dextent.c85 ext2fs_le32_to_cpu(eh->eh_generation)); in dbg_show_header()
91 ext2fs_le32_to_cpu(ix->ei_block), in dbg_show_index()
92 ext2fs_le32_to_cpu(ix->ei_leaf), in dbg_show_index()
100 ext2fs_le32_to_cpu(ex->ee_block), in dbg_show_extent()
101 ext2fs_le32_to_cpu(ex->ee_block) + in dbg_show_extent()
104 ext2fs_le32_to_cpu(ex->ee_start), in dbg_show_extent()
468 blk = ext2fs_le32_to_cpu(ix->ei_leaf) + in ext2fs_extent_get()
500 newpath->end_blk = ext2fs_le32_to_cpu(ix->ei_block); in ext2fs_extent_get()
538 extent->e_pblk = ext2fs_le32_to_cpu(ex->ee_start) + in ext2fs_extent_get()
540 extent->e_lblk = ext2fs_le32_to_cpu(ex->ee_block); in ext2fs_extent_get()
[all …]
Dundo_io.c157 header->f_compat |= ext2fs_le32_to_cpu(E2UNDO_FEATURE_COMPAT_FS_OFFSET); in e2undo_set_feature_fs_offset()
161 header->f_compat &= ~ext2fs_le32_to_cpu(E2UNDO_FEATURE_COMPAT_FS_OFFSET); in e2undo_clear_feature_fs_offset()
431 keysz = ext2fs_le32_to_cpu(key->size); in undo_write_tdb()
442 blk_crc = ext2fs_le32_to_cpu(key->blk_crc); in undo_write_tdb()
529 if (ext2fs_le32_to_cpu(hdr->sb_crc) != sb_crc) { in check_filesystem()
576 if (ext2fs_le32_to_cpu(hdr.header_crc) != hdr_crc) in try_reopen_undo_file()
578 blocksize = ext2fs_le32_to_cpu(hdr.block_size); in try_reopen_undo_file()
579 fs_blocksize = ext2fs_le32_to_cpu(hdr.fs_block_size); in try_reopen_undo_file()
627 if (ext2fs_le32_to_cpu(data->keyb->magic) != KEYBLOCK_MAGIC) { in try_reopen_undo_file()
635 if (ext2fs_le32_to_cpu(crc) != key_crc) { in try_reopen_undo_file()
[all …]
Dcsum.c59 return ext2fs_le32_to_cpu(mmp->mmp_checksum) == calculated; in ext2fs_mmp_csum_verify()
106 return ext2fs_le32_to_cpu(sb->s_checksum) == calculated; in ext2fs_superblock_csum_verify()
162 return ext2fs_le32_to_cpu(hdr->h_checksum) == calculated; in ext2fs_ext_attr_block_csum_verify()
338 return ext2fs_le32_to_cpu(t->det_checksum) == calculated; in ext2fs_dirent_csum_verify()
417 return ext2fs_le32_to_cpu(t->dt_checksum) == calculated; in ext2fs_dx_csum_verify()
525 provided = ext2fs_le32_to_cpu(t->et_checksum); in ext2fs_extent_block_csum_verify()
Drw_bitmaps.c267 blk = (ext2fs_le32_to_cpu(fs->image_header->offset_inodemap) / fs->blocksize); in read_bitmaps()
284 blk = (ext2fs_le32_to_cpu(fs->image_header->offset_blockmap) / in read_bitmaps()
Dopenfs.c193 if (ext2fs_le32_to_cpu(fs->image_header->magic_number) != EXT2_ET_MAGIC_E2IMAGE) in ext2fs_open2()
196 block_size = ext2fs_le32_to_cpu(fs->image_header->fs_blocksize); in ext2fs_open2()
Dcrc32c.c49 #define __le32_to_cpu(x) (ext2fs_le32_to_cpu((x)))
Dbitops.h17 #define ext2fs_le32_to_cpu(x) ext2fs_swab32((__force __u32)(__le32)(x)) macro
31 #define ext2fs_le32_to_cpu(x) ((__force __u32)(__le32)(x)) macro
Dinline_data.c161 dirent.inode = ext2fs_le32_to_cpu(inode.i_block[0]); in ext2fs_inline_data_dir_iterate()
307 dir->inode = ext2fs_le32_to_cpu(((__u32 *)ibuf)[0]); in ext2fs_inline_data_convert_dir()
Dext2_fs.h1040 ext2fs_le32_to_cpu(EXT2_DIRENT_HASHES(entry)->hash)
1042 ext2fs_le32_to_cpu(EXT2_DIRENT_HASHES(entry)->minor_hash)
Dbmap.c70 b = nr ? ext2fs_le32_to_cpu(((blk_t *)block_buf)[nr - 1]) : ind; in block_ind_bmap()
Dext_attr.c67 ext2fs_le32_to_cpu(*value++); in ext2fs_ext_attr_hash_entry()
622 entry->e_id = ext2fs_le32_to_cpu(disk_entry->e_id); in convert_disk_buffer_to_posix_acl()
Dinode.c787 block_nr = ext2fs_le32_to_cpu(fs->image_header->offset_inode) / fs->blocksize; in ext2fs_read_inode2()
/external/e2fsprogs/debugfs/
Dhtree.c164 ext2fs_le32_to_cpu(tail->dt_checksum)); in htree_dump_int_node()
168 hash = i ? ext2fs_le32_to_cpu(ent[i].hash) : 0; in htree_dump_int_node()
171 ext2fs_le32_to_cpu(ent[i].block)); in htree_dump_int_node()
179 hashval = ext2fs_le32_to_cpu(ent[i].hash); in htree_dump_int_node()
180 block = ext2fs_le32_to_cpu(ent[i].block); in htree_dump_int_node()
Dxattrs.c473 __u32 magic = ext2fs_le32_to_cpu(*((__le32 *) buf)); in raw_inode_xattr_dump()
/external/e2fsprogs/e2fsck/
Dpass2.c645 hash = i ? (ext2fs_le32_to_cpu(ent[i].hash) & ~1) : 0; in parse_int_node()
648 hash, ext2fs_le32_to_cpu(ent[i].block)); in parse_int_node()
650 blk = ext2fs_le32_to_cpu(ent[i].block) & EXT4_DX_BLOCK_MASK; in parse_int_node()
671 i ? (ext2fs_le32_to_cpu(ent[i-1].block) & in parse_int_node()
681 ext2fs_le32_to_cpu(ent[i+1].hash) & ~1; in parse_int_node()
1024 *((__u32 *)buf) = ext2fs_le32_to_cpu(*((__u32 *)buf)); in check_dir_block()
1583 *((__u32 *)buf) = ext2fs_le32_to_cpu(*((__u32 *)buf)); in check_dir_block()
Dpass1.c727 dotdot = ext2fs_le32_to_cpu(dotdot); in check_is_really_dir()
728 de.inode = ext2fs_le32_to_cpu(de.inode); in check_is_really_dir()