Lines Matching refs:le16_to_cpu

74 	uint32_t free_inodes = le16_to_cpu(bg->free_inodes);  in ext4fs_bg_free_inodes_dec()
76 free_inodes += le16_to_cpu(bg->free_inodes_high) << 16; in ext4fs_bg_free_inodes_dec()
87 uint32_t free_blocks = le16_to_cpu(bg->free_blocks); in ext4fs_bg_free_blocks_dec()
89 free_blocks += le16_to_cpu(bg->free_blocks_high) << 16; in ext4fs_bg_free_blocks_dec()
100 uint32_t free_inodes = le16_to_cpu(bg->bg_itable_unused); in ext4fs_bg_itable_unused_dec()
102 free_inodes += le16_to_cpu(bg->bg_itable_unused_high) << 16; in ext4fs_bg_itable_unused_dec()
126 uint32_t free_blocks = le16_to_cpu(bg->free_blocks); in ext4fs_bg_get_free_blocks()
128 free_blocks += le16_to_cpu(bg->free_blocks_high) << 16; in ext4fs_bg_get_free_blocks()
136 uint32_t free_inodes = le16_to_cpu(bg->free_inodes); in ext4fs_bg_get_free_inodes()
138 free_inodes += le16_to_cpu(bg->free_inodes_high) << 16; in ext4fs_bg_get_free_inodes()
144 return le16_to_cpu(bg->bg_flags); in ext4fs_bg_get_flags()
456 sizeof_void_space = le16_to_cpu(dir->direntlen) - dentry_length; in check_void_in_dentry()
530 while (le16_to_cpu(dir->direntlen) > 0) { in ext4fs_update_parent_dentry()
535 if (fs->blksz - totalbytes == le16_to_cpu(dir->direntlen)) { in ext4fs_update_parent_dentry()
539 le16_to_cpu(dir->direntlen)) { in ext4fs_update_parent_dentry()
585 templength = le16_to_cpu(dir->direntlen); in ext4fs_update_parent_dentry()
595 templength = le16_to_cpu(dir->direntlen); in ext4fs_update_parent_dentry()
671 int direntlen = le16_to_cpu(dir->direntlen); in search_dir()
836 if (le16_to_cpu(temp_inode.mode) & S_IFDIR) { in ext4fs_get_parent_inode_num()
897 int direntlen = le16_to_cpu(dir->direntlen); in unlink_filename()
919 new_len = le16_to_cpu(previous_dir->direntlen); in unlink_filename()
920 new_len += le16_to_cpu(dir->direntlen); in unlink_filename()
1539 if (le16_to_cpu(ext_block->eh_magic) != EXT4_EXT_MAGIC) in ext4fs_get_extent_block()
1547 if (i >= le16_to_cpu(ext_block->eh_entries)) in ext4fs_get_extent_block()
1554 block = le16_to_cpu(index[i].ei_leaf_hi); in ext4fs_get_extent_block()
1654 for (i = 0; i < le16_to_cpu(ext_block->eh_entries); i++) { in read_allocated_block()
1656 endblock = startblock + le16_to_cpu(extent[i].ee_len); in read_allocated_block()
1664 start = le16_to_cpu(extent[i].ee_start_hi); in read_allocated_block()
2082 if ((le16_to_cpu(fdiro->inode.mode) & in ext4fs_iterate_dir()
2086 } else if ((le16_to_cpu(fdiro->inode.mode) in ext4fs_iterate_dir()
2090 } else if ((le16_to_cpu(fdiro->inode.mode) in ext4fs_iterate_dir()
2138 fpos += le16_to_cpu(dirent.direntlen); in ext4fs_iterate_dir()
2345 if (le16_to_cpu(data->sblock.magic) != EXT2_MAGIC) in ext4fs_mount()
2358 fs->inodesz = le16_to_cpu(data->sblock.inode_size); in ext4fs_mount()
2361 le16_to_cpu(data->sblock.descriptor_size) : 32; in ext4fs_mount()