Lines Matching refs:le32_to_cpu
58 sb->free_inodes = cpu_to_le32(le32_to_cpu(sb->free_inodes) - 1); in ext4fs_sb_free_inodes_dec()
63 uint64_t free_blocks = le32_to_cpu(sb->free_blocks); in ext4fs_sb_free_blocks_dec()
64 free_blocks += (uint64_t)le32_to_cpu(sb->free_blocks_high) << 32; in ext4fs_sb_free_blocks_dec()
112 uint64_t free_blocks = le32_to_cpu(sb->free_blocks); in ext4fs_sb_get_free_blocks()
113 free_blocks += (uint64_t)le32_to_cpu(sb->free_blocks_high) << 32; in ext4fs_sb_get_free_blocks()
157 uint64_t block_nr = le32_to_cpu(bg->block_id); in ext4fs_bg_get_block_id()
159 block_nr += (uint64_t)le32_to_cpu(bg->block_id_high) << 32; in ext4fs_bg_get_block_id()
167 uint64_t block_nr = le32_to_cpu(bg->inode_id); in ext4fs_bg_get_inode_id()
169 block_nr += (uint64_t)le32_to_cpu(bg->inode_id_high) << 32; in ext4fs_bg_get_inode_id()
178 uint64_t block_nr = le32_to_cpu(bg->inode_table_id); in ext4fs_bg_get_inode_table_id()
181 (uint64_t)le32_to_cpu(bg->inode_table_id_high) << 32; in ext4fs_bg_get_inode_table_id()
251 if (count > le32_to_cpu(ext4fs_root->sblock.inodes_per_group)) in _get_new_inode_no()
378 inode_no -= (index * le32_to_cpu(ext4fs_root->sblock.inodes_per_group)); in ext4fs_set_inode_bmap()
403 inode_no -= (index * le32_to_cpu(ext4fs_root->sblock.inodes_per_group)); in ext4fs_reset_inode_bmap()
426 if (le32_to_cpu(fs->sb->feature_ro_compat) & EXT4_FEATURE_RO_COMPAT_GDT_CSUM) { in ext4fs_checksum_update()
509 directory_blocks = le32_to_cpu(g_parent_inode->size) >> in ext4fs_update_parent_dentry()
550 if (le32_to_cpu(g_parent_inode->flags) & in ext4fs_update_parent_dentry()
569 new_size = le32_to_cpu(g_parent_inode->size); in ext4fs_update_parent_dentry()
573 new_blockcnt = le32_to_cpu(g_parent_inode->blockcnt); in ext4fs_update_parent_dentry()
642 directory_blocks = le32_to_cpu(parent_inode->size) >> in search_dir()
677 inodeno = le32_to_cpu(dir->inode); in search_dir()
903 inodeno = le32_to_cpu(dir->inode); in unlink_filename()
943 directory_blocks = le32_to_cpu(g_parent_inode->size) >> in ext4fs_filename_unlink()
966 unsigned int blk_per_grp = le32_to_cpu(ext4fs_root->sblock.blocks_per_group); in ext4fs_get_new_blk_no()
1094 unsigned int inodes_per_grp = le32_to_cpu(ext4fs_root->sblock.inodes_per_group); in ext4fs_get_new_inode_no()
1100 int has_gdt_chksum = le32_to_cpu(fs->sb->feature_ro_compat) & in ext4fs_get_new_inode_no()
1183 le32_to_cpu(bgd->inode_id))) in ext4fs_get_new_inode_no()
1549 } while (fileblock >= le32_to_cpu(index[i].ei_block)); in ext4fs_get_extent_block()
1555 block = (block << 32) + le32_to_cpu(index[i].ei_leaf_lo); in ext4fs_get_extent_block()
1575 blkno = le32_to_cpu(data->sblock.first_data_block) + 1 + in ext4fs_blockgroup()
1599 status = ext4fs_blockgroup(data, ino / le32_to_cpu in ext4fs_read_inode()
1606 (ino % le32_to_cpu(sblock->inodes_per_group)) / inodes_per_block; in ext4fs_read_inode()
1633 if (le32_to_cpu(inode->flags) & EXT4_EXTENTS_FL) { in read_allocated_block()
1655 startblock = le32_to_cpu(extent[i].ee_block); in read_allocated_block()
1666 le32_to_cpu(extent[i].ee_start_lo); in read_allocated_block()
1678 blknr = le32_to_cpu(inode->b.blocks.dir_blocks[fileblock]); in read_allocated_block()
1705 if ((le32_to_cpu(inode->b.blocks.indir_block) << in read_allocated_block()
1708 ext4fs_devread((lbaint_t)le32_to_cpu in read_allocated_block()
1718 le32_to_cpu(inode->b.blocks. in read_allocated_block()
1721 blknr = le32_to_cpu(ext4fs_indir1_block in read_allocated_block()
1754 if ((le32_to_cpu(inode->b.blocks.double_indir_block) << in read_allocated_block()
1757 ext4fs_devread((lbaint_t)le32_to_cpu in read_allocated_block()
1768 le32_to_cpu(inode->b.blocks.double_indir_block) << in read_allocated_block()
1795 if ((le32_to_cpu(ext4fs_indir1_block[rblock / perblock]) << in read_allocated_block()
1797 status = ext4fs_devread((lbaint_t)le32_to_cpu in read_allocated_block()
1809 le32_to_cpu(ext4fs_indir1_block[rblock in read_allocated_block()
1814 blknr = le32_to_cpu(ext4fs_indir2_block[rblock % perblock]); in read_allocated_block()
1846 if ((le32_to_cpu(inode->b.blocks.triple_indir_block) << in read_allocated_block()
1850 le32_to_cpu(inode->b.blocks.triple_indir_block) in read_allocated_block()
1859 le32_to_cpu(inode->b.blocks.triple_indir_block) << in read_allocated_block()
1886 if ((le32_to_cpu(ext4fs_indir1_block[rblock / in read_allocated_block()
1890 status = ext4fs_devread((lbaint_t)le32_to_cpu in read_allocated_block()
1902 le32_to_cpu(ext4fs_indir1_block[rblock / in read_allocated_block()
1930 if ((le32_to_cpu(ext4fs_indir2_block[rblock in read_allocated_block()
1935 ext4fs_devread((lbaint_t)le32_to_cpu in read_allocated_block()
1946 le32_to_cpu(ext4fs_indir2_block[(rblock / in read_allocated_block()
1953 blknr = le32_to_cpu(ext4fs_indir3_block in read_allocated_block()
2026 while (fpos < le32_to_cpu(diro->inode.size)) { in ext4fs_iterate_dir()
2058 fdiro->ino = le32_to_cpu(dirent.inode); in ext4fs_iterate_dir()
2073 le32_to_cpu in ext4fs_iterate_dir()
2109 le32_to_cpu( in ext4fs_iterate_dir()
2133 le32_to_cpu(fdiro->inode.size), in ext4fs_iterate_dir()
2155 symlink = zalloc(le32_to_cpu(diro->inode.size) + 1); in ext4fs_read_symlink()
2159 if (le32_to_cpu(diro->inode.size) < sizeof(diro->inode.b.symlink)) { in ext4fs_read_symlink()
2161 le32_to_cpu(diro->inode.size)); in ext4fs_read_symlink()
2164 le32_to_cpu(diro->inode.size), in ext4fs_read_symlink()
2171 symlink[le32_to_cpu(diro->inode.size)] = '\0'; in ext4fs_read_symlink()
2319 *len = le32_to_cpu(fdiro->inode.size); in ext4fs_open()
2349 if (le32_to_cpu(data->sblock.revision_level) == 0) { in ext4fs_mount()
2359 fs->gdsize = le32_to_cpu(data->sblock.feature_incompat) & in ext4fs_mount()
2365 le32_to_cpu(data->sblock.revision_level), in ext4fs_mount()