/external/squashfs-tools/kernel/fs/squashfs/ |
D | inode.c | 68 inode->i_ino = le32_to_cpu(sqsh_ino->inode_number); in squashfs_new_inode() 69 inode->i_mtime.tv_sec = le32_to_cpu(sqsh_ino->mtime); in squashfs_new_inode() 145 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode() 147 frag_offset = le32_to_cpu(sqsh_ino->offset); in squashfs_read_inode() 160 inode->i_size = le32_to_cpu(sqsh_ino->file_size); in squashfs_read_inode() 167 squashfs_i(inode)->start = le32_to_cpu(sqsh_ino->start_block); in squashfs_read_inode() 187 frag = le32_to_cpu(sqsh_ino->fragment); in squashfs_read_inode() 189 frag_offset = le32_to_cpu(sqsh_ino->offset); in squashfs_read_inode() 201 inode->i_nlink = le32_to_cpu(sqsh_ino->nlink); in squashfs_read_inode() 229 inode->i_nlink = le32_to_cpu(sqsh_ino->nlink); in squashfs_read_inode() [all …]
|
D | namei.c | 104 size = le32_to_cpu(index->size) + 1; in get_dir_index_using_name() 116 length = le32_to_cpu(index->index); in get_dir_index_using_name() 117 *next_block = le32_to_cpu(index->start_block) + in get_dir_index_using_name() 177 dir_count = le32_to_cpu(dirh.count) + 1; in squashfs_lookup() 202 blk = le32_to_cpu(dirh.start_block); in squashfs_lookup() 204 ino_num = le32_to_cpu(dirh.inode_number) + in squashfs_lookup()
|
D | dir.c | 78 index = le32_to_cpu(dir_index.index); in get_dir_index_using_offset() 86 &index_offset, le32_to_cpu(dir_index.size) + 1); in get_dir_index_using_offset() 91 *next_block = le32_to_cpu(dir_index.start_block) + in get_dir_index_using_offset() 175 dir_count = le32_to_cpu(dirh.count) + 1; in squashfs_readdir() 198 inode_number = le32_to_cpu(dirh.inode_number) + in squashfs_readdir() 205 le32_to_cpu(dirh.start_block), in squashfs_readdir()
|
D | super.c | 122 sb->s_magic = le32_to_cpu(sblk->s_magic); in squashfs_fill_super() 155 msblk->block_size = le32_to_cpu(sblk->block_size); in squashfs_fill_super() 170 msblk->inodes = le32_to_cpu(sblk->inodes); in squashfs_fill_super() 181 TRACE("Number of fragments %d\n", le32_to_cpu(sblk->fragments)); in squashfs_fill_super() 217 fragments = le32_to_cpu(sblk->fragments); in squashfs_fill_super()
|
/external/erofs-utils/lib/ |
D | super.c | 13 const unsigned int feature = le32_to_cpu(dsb->feature_incompat); in check_layout_compatibility() 80 if (le32_to_cpu(dsb->magic) != EROFS_SUPER_MAGIC_V1) { in erofs_read_superblock() 85 sbi.feature_compat = le32_to_cpu(dsb->feature_compat); in erofs_read_superblock() 98 sbi.primarydevice_blocks = le32_to_cpu(dsb->blocks); in erofs_read_superblock() 99 sbi.meta_blkaddr = le32_to_cpu(dsb->meta_blkaddr); in erofs_read_superblock() 100 sbi.xattr_blkaddr = le32_to_cpu(dsb->xattr_blkaddr); in erofs_read_superblock() 104 sbi.checksum = le32_to_cpu(dsb->checksum); in erofs_read_superblock() 107 sbi.build_time_nsec = le32_to_cpu(dsb->build_time_nsec); in erofs_read_superblock()
|
D | namei.c | 63 vi->u.i_blkaddr = le32_to_cpu(die->i_u.raw_blkaddr); in erofs_read_inode_from_disk() 68 erofs_new_decode_dev(le32_to_cpu(die->i_u.rdev)); in erofs_read_inode_from_disk() 78 vi->i_uid = le32_to_cpu(die->i_uid); in erofs_read_inode_from_disk() 79 vi->i_gid = le32_to_cpu(die->i_gid); in erofs_read_inode_from_disk() 80 vi->i_nlink = le32_to_cpu(die->i_nlink); in erofs_read_inode_from_disk() 98 vi->u.i_blkaddr = le32_to_cpu(dic->i_u.raw_blkaddr); in erofs_read_inode_from_disk() 103 erofs_new_decode_dev(le32_to_cpu(dic->i_u.rdev)); in erofs_read_inode_from_disk() 120 vi->i_size = le32_to_cpu(dic->i_size); in erofs_read_inode_from_disk()
|
D | data.c | 107 if (le32_to_cpu(*blkaddr) == EROFS_NULL_ADDR) { in erofs_map_blocks() 110 map->m_pa = blknr_to_addr(le32_to_cpu(*blkaddr)); in erofs_map_blocks() 117 switch (le32_to_cpu(idx->blkaddr)) { in erofs_map_blocks() 124 map->m_pa = blknr_to_addr(le32_to_cpu(idx->blkaddr)); in erofs_map_blocks()
|
/external/selinux/libsepol/src/ |
D | policydb.c | 1823 r->flags = le32_to_cpu(buf[0]); in role_set_read() 1841 t->flags = le32_to_cpu(buf[0]); in type_set_read() 1859 items = le32_to_cpu(buf[0]); in mls_read_range_helper() 1870 r->level[0].sens = le32_to_cpu(buf[0]); in mls_read_range_helper() 1872 r->level[1].sens = le32_to_cpu(buf[1]); in mls_read_range_helper() 1922 l->sens = le32_to_cpu(buf[0]); in mls_read_semantic_level_helper() 1924 ncat = le32_to_cpu(buf[1]); in mls_read_semantic_level_helper() 1941 cat->low = le32_to_cpu(buf[0]); in mls_read_semantic_level_helper() 1942 cat->high = le32_to_cpu(buf[1]); in mls_read_semantic_level_helper() 2029 c->user = le32_to_cpu(buf[0]); in context_read_and_validate() [all …]
|
D | module.c | 396 if (le32_to_cpu(buf[0]) != SEPOL_MODULE_PACKAGE_MAGIC) { in module_package_read_offsets() 399 SEPOL_MODULE_PACKAGE_MAGIC, le32_to_cpu(buf[0])); in module_package_read_offsets() 403 mod->version = le32_to_cpu(buf[1]); in module_package_read_offsets() 404 nsec = *sections = le32_to_cpu(buf[2]); in module_package_read_offsets() 431 off[i] = le32_to_cpu(buf[i]); in module_package_read_offsets() 506 switch (le32_to_cpu(buf[0])) { in sepol_module_package_read() 634 i, offsets[i], le32_to_cpu(buf[0])); in sepol_module_package_read() 696 switch (le32_to_cpu(buf[0])) { in sepol_module_package_info() 744 len = le32_to_cpu(buf[1]); in sepol_module_package_info() 777 *type = le32_to_cpu(buf[0]); in sepol_module_package_info() [all …]
|
D | conditional.c | 585 booldatum->s.value = le32_to_cpu(buf[0]); in cond_read_bool() 586 booldatum->state = le32_to_cpu(buf[1]); in cond_read_bool() 591 len = le32_to_cpu(buf[2]); in cond_read_bool() 600 booldatum->flags = le32_to_cpu(buf[0]); in cond_read_bool() 710 len = le32_to_cpu(buf[0]); in cond_read_av_list() 757 node->cur_state = le32_to_cpu(buf[0]); in cond_read_node() 764 len = le32_to_cpu(buf[0]); in cond_read_node() 777 expr->expr_type = le32_to_cpu(buf[0]); in cond_read_node() 778 expr->bool = le32_to_cpu(buf[1]); in cond_read_node() 811 node->flags = le32_to_cpu(buf[0]); in cond_read_node() [all …]
|
D | avtab.c | 458 items2 = le32_to_cpu(buf32[0]); in avtab_read_item() 472 val = le32_to_cpu(buf32[items++]); in avtab_read_item() 478 val = le32_to_cpu(buf32[items++]); in avtab_read_item() 484 val = le32_to_cpu(buf32[items++]); in avtab_read_item() 491 val = le32_to_cpu(buf32[items++]); in avtab_read_item() 512 datum.data = le32_to_cpu(buf32[items++]); in avtab_read_item() 572 xperms.perms[i] = le32_to_cpu(buf32[i]); in avtab_read_item() 580 datum.data = le32_to_cpu(*buf32); in avtab_read_item() 603 nel = le32_to_cpu(buf[0]); in avtab_read()
|
D | private.h | 27 #define le32_to_cpu(x) (x) macro 34 #define le32_to_cpu(x) bswap_32(x) macro
|
/external/f2fs-tools/fsck/ |
D | f2fs.h | 334 unsigned flag = le32_to_cpu(node_blk->footer.flag); in ofs_of_node() 345 size_t crc_offset = le32_to_cpu(cp->checksum_offset); in cur_cp_crc() 346 return le32_to_cpu(*((__le32 *)((unsigned char *)cp + crc_offset))); in cur_cp_crc() 351 unsigned int ckpt_flags = le32_to_cpu(cp->ckpt_flags); in is_set_ckpt_flags() 361 return le32_to_cpu(ckpt->nat_ver_bitmap_bytesize); in __bitmap_size() 363 return le32_to_cpu(ckpt->sit_ver_bitmap_bytesize); in __bitmap_size() 370 return le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_payload); in __cp_payload() 382 le32_to_cpu(ckpt->nat_ver_bitmap_bytesize) : 0; in __bitmap_ptr() 384 if (le32_to_cpu(ckpt->checksum_offset) == in __bitmap_ptr() 391 if (le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_payload) > 0) { in __bitmap_ptr() [all …]
|
D | node.h | 29 nid_t ino = le32_to_cpu(node_blk->footer.ino); in ADDRS_PER_PAGE() 68 return le32_to_cpu(addr_array[offset]); in datablock_addr() 82 return le32_to_cpu(rn->i.i_nid[off - NODE_DIR1_BLOCK]); in get_nid() 84 return le32_to_cpu(rn->in.nid[off]); in get_nid() 130 return le32_to_cpu(node_blk->footer.ino); in ino_of_node() 156 return le32_to_cpu(node_blk->footer.next_blkaddr); in next_blkaddr_of_node() 161 return le32_to_cpu(node_blk->footer.flag) & (1 << type); in is_node() 166 unsigned int flag = le32_to_cpu(rn->footer.flag); in set_cold_node()
|
D | fsck.c | 184 if (le32_to_cpu(sum_entry->nid) != nid) { in is_valid_ssa_node_blk() 195 le32_to_cpu(sum_entry->nid)); in is_valid_ssa_node_blk() 225 u32 nid = le32_to_cpu(sum->nid); in is_valid_summary() 246 if (le32_to_cpu(node_blk->footer.nid) != nid) in is_valid_summary() 262 if (blk_addr == le32_to_cpu(target_blk_addr)) in is_valid_summary() 309 if (le32_to_cpu(sum_entry->nid) != parent_nid || in is_valid_ssa_data_blk() 314 le32_to_cpu(sum_entry->nid)); in is_valid_ssa_data_blk() 424 nid, le32_to_cpu(node_blk->footer.nid), in sanity_check_nid() 425 le32_to_cpu(node_blk->footer.ino)); in sanity_check_nid() 428 if (ni->ino != le32_to_cpu(node_blk->footer.ino)) { in sanity_check_nid() [all …]
|
D | dump.c | 74 le32_to_cpu(node_block->footer.flag) >> in nat_dump() 95 le32_to_cpu(node_block->footer.flag) >> in nat_dump() 222 le32_to_cpu(sum_blk->entries[i].nid)); in ssa_dump() 332 le32_to_cpu(node_blk->dn.addr[i])); in dump_node_blk() 337 le32_to_cpu(node_blk->in.nid[i]), in dump_node_blk() 343 le32_to_cpu(node_blk->in.nid[i]), in dump_node_blk() 451 dump_data_blk(sbi, ofs * F2FS_BLKSIZE, le32_to_cpu( in dump_inode_blk() 458 le32_to_cpu(node_blk->i.i_nid[i]), in dump_inode_blk() 463 le32_to_cpu(node_blk->i.i_nid[i]), in dump_inode_blk() 468 le32_to_cpu(node_blk->i.i_nid[i]), in dump_inode_blk() [all …]
|
D | quotaio_v2.c | 52 dquot->dq_id = le32_to_cpu(d->dqb_id); in v2r1_disk2memdqblk() 97 return le32_to_cpu(d->dqb_id) == dquot->dq_id; in v2r1_is_id() 112 m->dqi_bgrace = le32_to_cpu(d->dqi_bgrace); in v2_disk2memdqinfo() 113 m->dqi_igrace = le32_to_cpu(d->dqi_igrace); in v2_disk2memdqinfo() 114 m->u.v2_mdqi.dqi_flags = le32_to_cpu(d->dqi_flags) & V2_DQF_MASK; in v2_disk2memdqinfo() 115 m->u.v2_mdqi.dqi_qtree.dqi_blocks = le32_to_cpu(d->dqi_blocks); in v2_disk2memdqinfo() 117 le32_to_cpu(d->dqi_free_blk); in v2_disk2memdqinfo() 119 le32_to_cpu(d->dqi_free_entry); in v2_disk2memdqinfo() 164 if (V2_VERSION != le32_to_cpu(dqh.dqh_version)) in v2_check_file()
|
D | dir.c | 119 nid_t ino = le32_to_cpu(dir->footer.ino); in find_in_level() 130 bidx = dir_block_index(level, dir_level, le32_to_cpu(namehash) % nbucket); in find_in_level() 155 de->ino = le32_to_cpu(dentry->ino); in find_in_level() 173 max_depth = le32_to_cpu(dir->i.i_current_depth); in f2fs_find_entry() 234 nid_t pino = le32_to_cpu(parent->footer.ino); in f2fs_add_link() 249 current_depth = le32_to_cpu(parent->i.i_current_depth); in f2fs_add_link() 263 bidx = dir_block_index(level, dir_level, le32_to_cpu(dentry_hash) % nbucket); in f2fs_add_link() 308 u32 links = le32_to_cpu(parent->i.i_links); in f2fs_add_link() 339 nid_t ino = le32_to_cpu(inode->footer.ino); in make_empty_dir() 340 nid_t pino = le32_to_cpu(inode->i.i_pino); in make_empty_dir() [all …]
|
D | mount.c | 141 le32_to_cpu(hdr->a_version), F2FS_ACL_VERSION); in print_acl() 172 le32_to_cpu(entry->e_id)); in print_acl() 180 le32_to_cpu(entry->e_id)); in print_acl() 245 u32 namelen = le32_to_cpu(inode->i_namelen); in print_inode_info() 288 le32_to_cpu(inode->i_ext.fofs), in print_inode_info() 289 le32_to_cpu(inode->i_ext.blk_addr), in print_inode_info() 290 le32_to_cpu(inode->i_ext.len)); in print_inode_info() 319 blkaddr = le32_to_cpu(inode->i_addr[i + ofs]); in print_inode_info() 360 nid_t ino = le32_to_cpu(node_block->footer.ino); in print_node_info() 361 nid_t nid = le32_to_cpu(node_block->footer.nid); in print_node_info() [all …]
|
D | quotaio_tree.c | 102 info->dqi_free_blk = le32_to_cpu(dh->dqdh_next_free); in get_free_dqblk() 140 unsigned int nextblk = le32_to_cpu(dh->dqdh_next_free), prevblk = in remove_free_dqentry() 141 le32_to_cpu(dh->dqdh_prev_free); in remove_free_dqentry() 277 newblk = le32_to_cpu(ref[get_index(dquot->dq_id, depth)]); in do_insert_tree() 416 newblk = le32_to_cpu(ref[get_index(dquot->dq_id, depth)]); in remove_tree() 493 blk = le32_to_cpu(ref[get_index(dquot->dq_id, depth)]); in find_tree_dqentry() 619 blk = le32_to_cpu(ref[i]); in report_tree()
|
/external/kernel-headers/original/uapi/linux/ |
D | bfs_fs.h | 71 ((le32_to_cpu((ip)->i_eoffset) + 1) - le32_to_cpu((ip)->i_sblock) * BFS_BSIZE) 77 ((ip)->i_sblock == 0 ? 0 : (le32_to_cpu((ip)->i_eblock) + 1) - le32_to_cpu((ip)->i_sblock)) 79 …((le32_to_cpu(bfs_sb->s_from) != -1) && (le32_to_cpu(bfs_sb->s_to) != -1) && !(sb->s_flags & SB_RD…
|
D | msdos_fs.h | 23 #define CF_LE_L(v) le32_to_cpu(v) 85 #define IS_FSINFO(x) (le32_to_cpu((x)->signature1) == FAT_FSINFO_SIG1 \ 86 && le32_to_cpu((x)->signature2) == FAT_FSINFO_SIG2)
|
/external/exfatprogs/dump/ |
D | dump.c | 117 clu_offset = le32_to_cpu(pbsx->clu_offset); in exfat_show_ondisk_all_info() 118 total_clus = le32_to_cpu(pbsx->clu_count); in exfat_show_ondisk_all_info() 119 root_clu = le32_to_cpu(pbsx->root_cluster); in exfat_show_ondisk_all_info() 125 le32_to_cpu(pbsx->fat_offset)); in exfat_show_ondisk_all_info() 127 le32_to_cpu(pbsx->fat_length)); in exfat_show_ondisk_all_info() 131 exfat_info("Volume Serial: \t\t\t\t0x%x\n", le32_to_cpu(pbsx->vol_serial)); in exfat_show_ondisk_all_info() 160 bitmap_clu = le32_to_cpu(ed[1].bitmap_start_clu); in exfat_show_ondisk_all_info() 176 le32_to_cpu(ed[2].upcase_start_clu)); in exfat_show_ondisk_all_info() 195 total_clus = le32_to_cpu(pbsx->clu_count); in exfat_show_ondisk_all_info()
|
/external/exfatprogs/fsck/ |
D | fsck.c | 214 exfat->clus_count = le32_to_cpu(bs->bsx.clu_count); in init_exfat() 386 offset = (off_t)le32_to_cpu(exfat->bs->bsx.fat_offset) << in get_next_clus() 393 *next = le32_to_cpu(*next); in get_next_clus() 401 offset = le32_to_cpu(exfat->bs->bsx.fat_offset) << in set_fat() 582 return exfat_s2o(exfat, le32_to_cpu(exfat->bs->bsx.clu_offset) + in exfat_c2o() 621 if (le32_to_cpu(((__le32 *)sect)[i]) != checksum) { in boot_region_checksum() 623 le32_to_cpu(((__le32 *)sect)[i]), checksum); in boot_region_checksum() 720 if (le32_to_cpu(bs->bsx.clu_count) * EXFAT_CLUSTER_SIZE(bs) > in read_boot_region() 723 le32_to_cpu(bs->bsx.clu_count), in read_boot_region() 851 if (node->size > le32_to_cpu(exfat->bs->bsx.clu_count) * in check_inode() [all …]
|
/external/e2fsprogs/debugfs/ |
D | logdump.c | 582 le32_to_cpu(add_range->fc_ino), in dump_fc_block() 583 le32_to_cpu(ex->ee_block), in dump_fc_block() 584 le32_to_cpu(ex->ee_start) + in dump_fc_block() 594 le32_to_cpu(del_range->fc_ino), in dump_fc_block() 595 le32_to_cpu(del_range->fc_lblk), in dump_fc_block() 596 le32_to_cpu(del_range->fc_len)); in dump_fc_block() 605 le32_to_cpu(dentry_info->fc_parent_ino), in dump_fc_block() 606 le32_to_cpu(dentry_info->fc_ino), in dump_fc_block() 612 le32_to_cpu(((struct ext4_fc_inode *)val)->fc_ino)); in dump_fc_block() 621 le32_to_cpu(tail->fc_tid)); in dump_fc_block() [all …]
|