Searched refs:ext2fs_cpu_to_le32 (Results 1 – 13 of 13) sorted by relevance
84 d->dqb_id = ext2fs_cpu_to_le32(dquot->dq_id); in v2r1_mem2diskdqblk()128 d->dqi_bgrace = ext2fs_cpu_to_le32(m->dqi_bgrace); in v2_mem2diskdqinfo()129 d->dqi_igrace = ext2fs_cpu_to_le32(m->dqi_igrace); in v2_mem2diskdqinfo()130 d->dqi_flags = ext2fs_cpu_to_le32(m->u.v2_mdqi.dqi_flags & V2_DQF_MASK); in v2_mem2diskdqinfo()131 d->dqi_blocks = ext2fs_cpu_to_le32(m->u.v2_mdqi.dqi_qtree.dqi_blocks); in v2_mem2diskdqinfo()133 ext2fs_cpu_to_le32(m->u.v2_mdqi.dqi_qtree.dqi_free_blk); in v2_mem2diskdqinfo()135 ext2fs_cpu_to_le32(m->u.v2_mdqi.dqi_qtree.dqi_free_entry); in v2_mem2diskdqinfo()232 ddqheader.dqh_magic = ext2fs_cpu_to_le32(file_magics[h->qh_type]); in v2_new_io()233 ddqheader.dqh_version = ext2fs_cpu_to_le32(V2_VERSION); in v2_new_io()
126 dh->dqdh_next_free = ext2fs_cpu_to_le32(info->dqi_free_blk); in put_free_dqblk()127 dh->dqdh_prev_free = ext2fs_cpu_to_le32(0); in put_free_dqblk()163 dh->dqdh_next_free = dh->dqdh_prev_free = ext2fs_cpu_to_le32(0); in remove_free_dqentry()179 dh->dqdh_next_free = ext2fs_cpu_to_le32(info->dqi_free_entry); in insert_free_dqentry()180 dh->dqdh_prev_free = ext2fs_cpu_to_le32(0); in insert_free_dqentry()185 ext2fs_cpu_to_le32(blk); in insert_free_dqentry()293 ext2fs_cpu_to_le32(newblk); in do_insert_tree()418 ref[get_index(dquot->dq_id, depth)] = ext2fs_cpu_to_le32(0); in remove_tree()
70 mmp->mmp_checksum = ext2fs_cpu_to_le32(crc); in ext2fs_mmp_csum_set()99 flag = ext2fs_cpu_to_le32(EXT4_FEATURE_RO_COMPAT_METADATA_CSUM); in ext2fs_superblock_csum_verify()118 flag = ext2fs_cpu_to_le32(EXT4_FEATURE_RO_COMPAT_METADATA_CSUM); in ext2fs_superblock_csum_set()124 sb->s_checksum = ext2fs_cpu_to_le32(crc); in ext2fs_superblock_csum_set()178 hdr->h_checksum = ext2fs_cpu_to_le32(crc); in ext2fs_ext_attr_block_csum_set()309 inum = ext2fs_cpu_to_le32(inum); in ext2fs_dirent_csum()310 gen = ext2fs_cpu_to_le32(inode.i_generation); in ext2fs_dirent_csum()357 t->det_checksum = ext2fs_cpu_to_le32(crc); in ext2fs_dirent_csum_set()380 inum = ext2fs_cpu_to_le32(inum); in ext2fs_dx_csum()381 gen = ext2fs_cpu_to_le32(inode.i_generation); in ext2fs_dx_csum()[all …]
198 data->keyb->magic = ext2fs_cpu_to_le32(KEYBLOCK_MAGIC); in write_undo_indexes()200 data->keyb->crc = ext2fs_cpu_to_le32( in write_undo_indexes()235 data->hdr.fs_block_size = ext2fs_cpu_to_le32(block_size); in write_undo_indexes()236 data->hdr.sb_crc = ext2fs_cpu_to_le32(sb_crc); in write_undo_indexes()245 data->hdr.header_crc = ext2fs_cpu_to_le32(hdr_crc); in write_undo_indexes()299 data->hdr.block_size = ext2fs_cpu_to_le32(data->tdb_data_size); in undo_setup_tdb()444 key->blk_crc = ext2fs_cpu_to_le32(blk_crc); in undo_write_tdb()445 key->size = ext2fs_cpu_to_le32(keysz + data_size); in undo_write_tdb()452 key->blk_crc = ext2fs_cpu_to_le32(blk_crc); in undo_write_tdb()453 key->size = ext2fs_cpu_to_le32(data_size); in undo_write_tdb()[all …]
108 iblock[0] = ext2fs_cpu_to_le32(parent_ino); in ext2fs_new_dir_inline_data()
542 if (header->a_version != ext2fs_cpu_to_le32(POSIX_ACL_XATTR_VERSION)) in convert_posix_acl_to_disk_buffer()547 ext_acl->a_version = ext2fs_cpu_to_le32(EXT4_ACL_VERSION); in convert_posix_acl_to_disk_buffer()569 disk_entry->e_id = ext2fs_cpu_to_le32(entry->e_id); in convert_posix_acl_to_disk_buffer()591 (ext_acl->a_version != ext2fs_cpu_to_le32(EXT4_ACL_VERSION))) in convert_disk_buffer_to_posix_acl()599 header->a_version = ext2fs_cpu_to_le32(POSIX_ACL_XATTR_VERSION); in convert_disk_buffer_to_posix_acl()
48 #define __cpu_to_le32(x) (ext2fs_cpu_to_le32((x)))
16 #define ext2fs_cpu_to_le32(x) ((__force __le32)ext2fs_swab32((__u32)(x))) macro30 #define ext2fs_cpu_to_le32(x) ((__force __le32)(__u32)(x)) macro
847 ex->ee_block = ext2fs_cpu_to_le32(extent->e_lblk); in ext2fs_extent_replace()848 ex->ee_start = ext2fs_cpu_to_le32(extent->e_pblk & 0xFFFFFFFF); in ext2fs_extent_replace()863 ix->ei_leaf = ext2fs_cpu_to_le32(extent->e_pblk & 0xFFFFFFFF); in ext2fs_extent_replace()865 ix->ei_block = ext2fs_cpu_to_le32(extent->e_lblk); in ext2fs_extent_replace()
173 inode.i_block[0] = ext2fs_cpu_to_le32(dirent.inode); in ext2fs_inline_data_dir_iterate()
556 EXT2_DIRENT_HASHES(dirent)->hash = ext2fs_cpu_to_le32(ent->hash); in copy_dir_entries()558 ext2fs_cpu_to_le32(ent->minor_hash); in copy_dir_entries()670 (*prev_ent)->block = ext2fs_cpu_to_le32(outdir->num); in alloc_blocks()674 ext2fs_cpu_to_le32(outdir->hashes[i]); in alloc_blocks()721 root->block = ext2fs_cpu_to_le32(i); in calculate_tree()724 ext2fs_cpu_to_le32(outdir->hashes[i]); in calculate_tree()743 dx_ent->block = ext2fs_cpu_to_le32(i); in calculate_tree()746 ext2fs_cpu_to_le32(outdir->hashes[i]); in calculate_tree()778 dx_ent->block = ext2fs_cpu_to_le32(i); in calculate_tree()781 ext2fs_cpu_to_le32(outdir->hashes[i]); in calculate_tree()
244 hdr.offset_super = ext2fs_cpu_to_le32(seek_relative(fd, 0)); in write_image_file()252 hdr.offset_inode = ext2fs_cpu_to_le32(seek_relative(fd, 0)); in write_image_file()261 hdr.offset_blockmap = ext2fs_cpu_to_le32(seek_relative(fd, 0)); in write_image_file()269 hdr.offset_inodemap = ext2fs_cpu_to_le32(seek_relative(fd, 0)); in write_image_file()277 hdr.magic_number = ext2fs_cpu_to_le32(EXT2_ET_MAGIC_E2IMAGE); in write_image_file()282 hdr.fs_blocksize = ext2fs_cpu_to_le32(fs->blocksize); in write_image_file()285 hdr.fs_device = ext2fs_cpu_to_le32(st.st_rdev); in write_image_file()288 hdr.image_device = ext2fs_cpu_to_le32(st.st_dev); in write_image_file()289 hdr.image_inode = ext2fs_cpu_to_le32(st.st_ino); in write_image_file()293 hdr.image_time = ext2fs_cpu_to_le32(time(0)); in write_image_file()
214 h->a_version = ext2fs_cpu_to_le32(EXT4_ACL_VERSION); in fuse_to_ext4_acl()224 e->e_id = ext2fs_cpu_to_le32(a->e_id); in fuse_to_ext4_acl()261 eacl->a_version != ext2fs_cpu_to_le32(EXT4_ACL_VERSION)) in ext4_to_fuse_acl()