Home
last modified time | relevance | path

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

/third_party/e2fsprogs/misc/
De2undo.c114 return ext2fs_le32_to_cpu(header->f_compat) & in e2undo_has_feature_fs_offset()
136 printf("block size:\t%u\n", ext2fs_le32_to_cpu(hdr->block_size)); in dump_header()
137 printf("fs block size:\t%u\n", ext2fs_le32_to_cpu(hdr->fs_block_size)); in dump_header()
138 printf("super crc:\t0x%x\n", ext2fs_le32_to_cpu(hdr->sb_crc)); in dump_header()
139 printf("state:\t\t0x%x\n", ext2fs_le32_to_cpu(hdr->state)); in dump_header()
140 printf("compat:\t\t0x%x\n", ext2fs_le32_to_cpu(hdr->f_compat)); in dump_header()
141 printf("incompat:\t0x%x\n", ext2fs_le32_to_cpu(hdr->f_incompat)); in dump_header()
142 printf("rocompat:\t0x%x\n", ext2fs_le32_to_cpu(hdr->f_rocompat)); in dump_header()
146 printf("header crc:\t0x%x\n", ext2fs_le32_to_cpu(hdr->header_crc)); in dump_header()
203 if (ext2fs_le32_to_cpu(ctx->hdr.sb_crc) != sb_crc) { in check_filesystem()
[all …]
De2image.c1465 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()
/third_party/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()
/third_party/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()
504 newpath->end_blk = ext2fs_le32_to_cpu(ix->ei_block); in ext2fs_extent_get()
542 extent->e_pblk = ext2fs_le32_to_cpu(ex->ee_start) + in ext2fs_extent_get()
544 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()
343 return ext2fs_le32_to_cpu(t->det_checksum) == calculated; in ext2fs_dirent_csum_verify()
421 return ext2fs_le32_to_cpu(t->dt_checksum) == calculated; in ext2fs_dx_csum_verify()
516 provided = ext2fs_le32_to_cpu(t->et_checksum); in ext2fs_extent_block_csum_verify()
Dlink.c67 if (ext2fs_le32_to_cpu(m->hash) > hash) in dx_search_entry()
146 ext2fs_le32_to_cpu(info->frames[level-1].at->block) & 0x0fffffff, in dx_lookup()
528 __u32 split_hash = ext2fs_le32_to_cpu(info->frames[i+1].entries[count1].hash); in dx_grow_tree()
578 ext2fs_le32_to_cpu(dx_info.frames[dx_info.levels-1].at->block) & 0x0fffffff, in dx_link()
Djfs_compat.h33 #define le32_to_cpu(x) ext2fs_le32_to_cpu(x)
Dopenfs.c196 if (ext2fs_le32_to_cpu(fs->image_header->magic_number) != EXT2_ET_MAGIC_E2IMAGE) in ext2fs_open2()
199 block_size = ext2fs_le32_to_cpu(fs->image_header->fs_blocksize); in ext2fs_open2()
Drw_bitmaps.c322 blk = (ext2fs_le32_to_cpu(fs->image_header->offset_inodemap) / fs->blocksize); in read_bitmaps_range_start()
339 blk = (ext2fs_le32_to_cpu(fs->image_header->offset_blockmap) / in read_bitmaps_range_start()
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
Dcrc32c.c49 #define __le32_to_cpu(x) (ext2fs_le32_to_cpu((x)))
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.h1057 ext2fs_le32_to_cpu(EXT2_DIRENT_HASHES(entry)->hash)
1059 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()
Dinode.c798 block_nr = ext2fs_le32_to_cpu(fs->image_header->offset_inode) / fs->blocksize; in ext2fs_read_inode2()
Dext_attr.c67 ext2fs_le32_to_cpu(*value++); in ext2fs_ext_attr_hash_entry()
/third_party/e2fsprogs/debugfs/
Dhtree.c166 ext2fs_le32_to_cpu(tail->dt_checksum)); in htree_dump_int_node()
173 hash = i ? ext2fs_le32_to_cpu(ent[i].hash) : 0; in htree_dump_int_node()
176 ext2fs_le32_to_cpu(ent[i].block)); in htree_dump_int_node()
184 hashval = ext2fs_le32_to_cpu(ent[i].hash); in htree_dump_int_node()
185 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()
/third_party/e2fsprogs/e2fsck/
Dpass2.c708 hash = i ? (ext2fs_le32_to_cpu(ent[i].hash) & ~1) : 0; in parse_int_node()
711 hash, ext2fs_le32_to_cpu(ent[i].block)); in parse_int_node()
713 blk = ext2fs_le32_to_cpu(ent[i].block) & EXT4_DX_BLOCK_MASK; in parse_int_node()
734 i ? (ext2fs_le32_to_cpu(ent[i-1].block) & in parse_int_node()
744 ext2fs_le32_to_cpu(ent[i+1].hash) & ~1; in parse_int_node()
1163 *((__u32 *)buf) = ext2fs_le32_to_cpu(*((__u32 *)buf)); in check_dir_block()
1747 *((__u32 *)buf) = ext2fs_le32_to_cpu(*((__u32 *)buf)); in check_dir_block()
Dpass1.c718 dotdot = ext2fs_le32_to_cpu(dotdot); in check_is_really_dir()
719 de.inode = ext2fs_le32_to_cpu(de.inode); in check_is_really_dir()