Home
last modified time | relevance | path

Searched refs:ext2fs_cpu_to_le32 (Results 1 – 13 of 13) sorted by relevance

/external/e2fsprogs/lib/support/
Dquotaio_v2.c84 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()
204 ddqheader.dqh_magic = ext2fs_cpu_to_le32(file_magics[h->qh_type]); in v2_new_io()
205 ddqheader.dqh_version = ext2fs_cpu_to_le32(V2_VERSION); in v2_new_io()
Dquotaio_tree.c126 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()
/external/e2fsprogs/lib/ext2fs/
Dcsum.c70 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 …]
Dundo_io.c198 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 …]
Dnewdir.c108 iblock[0] = ext2fs_cpu_to_le32(parent_ino); in ext2fs_new_dir_inline_data()
Dext_attr.c542 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()
Dextent.c847 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()
Dbitops.h16 #define ext2fs_cpu_to_le32(x) ((__force __le32)ext2fs_swab32((__u32)(x))) macro
30 #define ext2fs_cpu_to_le32(x) ((__force __le32)(__u32)(x)) macro
Dcrc32c.c48 #define __cpu_to_le32(x) (ext2fs_cpu_to_le32((x)))
Dinline_data.c173 inode.i_block[0] = ext2fs_cpu_to_le32(dirent.inode); in ext2fs_inline_data_dir_iterate()
/external/e2fsprogs/e2fsck/
Drehash.c621 (*prev_ent)->block = ext2fs_cpu_to_le32(outdir->num); in alloc_blocks()
625 ext2fs_cpu_to_le32(outdir->hashes[i]); in alloc_blocks()
671 root->block = ext2fs_cpu_to_le32(i); in calculate_tree()
674 ext2fs_cpu_to_le32(outdir->hashes[i]); in calculate_tree()
693 dx_ent->block = ext2fs_cpu_to_le32(i); in calculate_tree()
696 ext2fs_cpu_to_le32(outdir->hashes[i]); in calculate_tree()
728 dx_ent->block = ext2fs_cpu_to_le32(i); in calculate_tree()
731 ext2fs_cpu_to_le32(outdir->hashes[i]); in calculate_tree()
/external/e2fsprogs/misc/
De2image.c243 hdr.offset_super = ext2fs_cpu_to_le32(seek_relative(fd, 0)); in write_image_file()
251 hdr.offset_inode = ext2fs_cpu_to_le32(seek_relative(fd, 0)); in write_image_file()
260 hdr.offset_blockmap = ext2fs_cpu_to_le32(seek_relative(fd, 0)); in write_image_file()
268 hdr.offset_inodemap = ext2fs_cpu_to_le32(seek_relative(fd, 0)); in write_image_file()
276 hdr.magic_number = ext2fs_cpu_to_le32(EXT2_ET_MAGIC_E2IMAGE); in write_image_file()
281 hdr.fs_blocksize = ext2fs_cpu_to_le32(fs->blocksize); in write_image_file()
284 hdr.fs_device = ext2fs_cpu_to_le32(st.st_rdev); in write_image_file()
287 hdr.image_device = ext2fs_cpu_to_le32(st.st_dev); in write_image_file()
288 hdr.image_inode = ext2fs_cpu_to_le32(st.st_ino); in write_image_file()
292 hdr.image_time = ext2fs_cpu_to_le32(time(0)); in write_image_file()
Dfuse2fs.c214 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()