Home
last modified time | relevance | path

Searched refs:le32_to_cpu (Results 1 – 25 of 64) sorted by relevance

123

/external/fio/
Dcconv.c86 o->allow_create = le32_to_cpu(top->allow_create); in convert_thread_options_to_cpu()
87 o->allow_mounted_write = le32_to_cpu(top->allow_mounted_write); in convert_thread_options_to_cpu()
88 o->td_ddir = le32_to_cpu(top->td_ddir); in convert_thread_options_to_cpu()
89 o->rw_seq = le32_to_cpu(top->rw_seq); in convert_thread_options_to_cpu()
90 o->kb_base = le32_to_cpu(top->kb_base); in convert_thread_options_to_cpu()
91 o->unit_base = le32_to_cpu(top->unit_base); in convert_thread_options_to_cpu()
92 o->ddir_seq_nr = le32_to_cpu(top->ddir_seq_nr); in convert_thread_options_to_cpu()
94 o->iodepth = le32_to_cpu(top->iodepth); in convert_thread_options_to_cpu()
95 o->iodepth_low = le32_to_cpu(top->iodepth_low); in convert_thread_options_to_cpu()
96 o->iodepth_batch = le32_to_cpu(top->iodepth_batch); in convert_thread_options_to_cpu()
[all …]
Dclient.c876 dst->error = le32_to_cpu(src->error); in convert_ts()
877 dst->thread_number = le32_to_cpu(src->thread_number); in convert_ts()
878 dst->groupid = le32_to_cpu(src->groupid); in convert_ts()
879 dst->pid = le32_to_cpu(src->pid); in convert_ts()
880 dst->members = le32_to_cpu(src->members); in convert_ts()
881 dst->unified_rw_rep = le32_to_cpu(src->unified_rw_rep); in convert_ts()
906 dst->io_u_map[i] = le32_to_cpu(src->io_u_map[i]); in convert_ts()
907 dst->io_u_submit[i] = le32_to_cpu(src->io_u_submit[i]); in convert_ts()
908 dst->io_u_complete[i] = le32_to_cpu(src->io_u_complete[i]); in convert_ts()
912 dst->io_u_lat_u[i] = le32_to_cpu(src->io_u_lat_u[i]); in convert_ts()
[all …]
/external/squashfs-tools/kernel/fs/squashfs/
Dinode.c68 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 …]
Dnamei.c104 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()
Ddir.c78 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()
Dsuper.c122 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/f2fs-tools/fsck/
Dfsck.c170 if (le32_to_cpu(sum_entry->nid) != nid) { in is_valid_ssa_node_blk()
181 le32_to_cpu(sum_entry->nid)); in is_valid_ssa_node_blk()
211 u32 nid = le32_to_cpu(sum->nid); in is_valid_summary()
232 if (le32_to_cpu(node_blk->footer.nid) != nid) in is_valid_summary()
244 if (blk_addr == le32_to_cpu(target_blk_addr)) in is_valid_summary()
287 if (le32_to_cpu(sum_entry->nid) != parent_nid || in is_valid_ssa_data_blk()
292 le32_to_cpu(sum_entry->nid)); in is_valid_ssa_data_blk()
392 nid, le32_to_cpu(node_blk->footer.nid), in sanity_check_nid()
393 le32_to_cpu(node_blk->footer.ino)); in sanity_check_nid()
396 if (ni->ino != le32_to_cpu(node_blk->footer.ino)) { in sanity_check_nid()
[all …]
Df2fs.h239 unsigned flag = le32_to_cpu(node_blk->footer.flag); in ofs_of_node()
249 return le32_to_cpu(ckpt->nat_ver_bitmap_bytesize); in __bitmap_size()
251 return le32_to_cpu(ckpt->sit_ver_bitmap_bytesize); in __bitmap_size()
260 if (le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_payload) > 0) { in __bitmap_ptr()
267 le32_to_cpu(ckpt->sit_ver_bitmap_bytesize) : 0; in __bitmap_ptr()
274 unsigned int ckpt_flags = le32_to_cpu(cp->ckpt_flags); in is_set_ckpt_flags()
280 block_t start_addr = le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_blkaddr); in __start_cp_addr()
289 return le32_to_cpu(F2FS_CKPT(sbi)->cp_pack_start_sum); in __start_sum_addr()
335 return __start_cp_addr(sbi) + le32_to_cpu(F2FS_CKPT(sbi)->cp_pack_start_sum); in start_sum_block()
340 return __start_cp_addr(sbi) + le32_to_cpu(F2FS_CKPT(sbi)->cp_pack_total_block_count) in sum_blk_addr()
[all …]
Ddump.c91 le32_to_cpu(node_block->footer.flag) >> in nat_dump()
110 le32_to_cpu(node_block->footer.flag) >> in nat_dump()
238 le32_to_cpu(sum_blk->entries[i].nid)); in ssa_dump()
305 le32_to_cpu(node_blk->dn.addr[i])); in dump_node_blk()
309 le32_to_cpu(node_blk->in.nid[i]), ofs); in dump_node_blk()
313 le32_to_cpu(node_blk->in.nid[i]), ofs); in dump_node_blk()
404 dump_data_blk(sbi, ofs * F2FS_BLKSIZE, le32_to_cpu( in dump_inode_blk()
411 le32_to_cpu(node_blk->i.i_nid[i]), &ofs); in dump_inode_blk()
414 le32_to_cpu(node_blk->i.i_nid[i]), &ofs); in dump_inode_blk()
417 le32_to_cpu(node_blk->i.i_nid[i]), &ofs); in dump_inode_blk()
[all …]
Dquotaio_v2.c53 dquot->dq_id = le32_to_cpu(d->dqb_id); in v2r1_disk2memdqblk()
98 return le32_to_cpu(d->dqb_id) == dquot->dq_id; in v2r1_is_id()
113 m->dqi_bgrace = le32_to_cpu(d->dqi_bgrace); in v2_disk2memdqinfo()
114 m->dqi_igrace = le32_to_cpu(d->dqi_igrace); in v2_disk2memdqinfo()
115 m->u.v2_mdqi.dqi_flags = le32_to_cpu(d->dqi_flags) & V2_DQF_MASK; in v2_disk2memdqinfo()
116 m->u.v2_mdqi.dqi_qtree.dqi_blocks = le32_to_cpu(d->dqi_blocks); in v2_disk2memdqinfo()
118 le32_to_cpu(d->dqi_free_blk); in v2_disk2memdqinfo()
120 le32_to_cpu(d->dqi_free_entry); in v2_disk2memdqinfo()
165 if (V2_VERSION != le32_to_cpu(dqh.dqh_version)) in v2_check_file()
Ddir.c118 nid_t ino = le32_to_cpu(dir->footer.ino); in find_in_level()
128 bidx = dir_block_index(level, dir_level, le32_to_cpu(namehash) % nbucket); in find_in_level()
153 de->ino = le32_to_cpu(dentry->ino); in find_in_level()
171 max_depth = le32_to_cpu(dir->i.i_current_depth); in f2fs_find_entry()
213 nid_t pino = le32_to_cpu(parent->footer.ino); in f2fs_add_link()
228 current_depth = le32_to_cpu(parent->i.i_current_depth); in f2fs_add_link()
242 bidx = dir_block_index(level, dir_level, le32_to_cpu(dentry_hash) % nbucket); in f2fs_add_link()
287 u32 links = le32_to_cpu(parent->i.i_links); in f2fs_add_link()
318 nid_t ino = le32_to_cpu(inode->footer.ino); in make_empty_dir()
319 nid_t pino = le32_to_cpu(inode->i.i_pino); in make_empty_dir()
[all …]
Dmount.c68 le32_to_cpu(hdr->a_version), F2FS_ACL_VERSION); in print_acl()
99 le32_to_cpu(entry->e_id)); in print_acl()
107 le32_to_cpu(entry->e_id)); in print_acl()
179 int namelen = le32_to_cpu(inode->i_namelen); in print_inode_info()
224 le32_to_cpu(inode->i_ext.fofs), in print_inode_info()
225 le32_to_cpu(inode->i_ext.blk_addr), in print_inode_info()
226 le32_to_cpu(inode->i_ext.len)); in print_inode_info()
251 i, le32_to_cpu(inode->i_addr[i])); in print_inode_info()
272 nid_t ino = le32_to_cpu(node_block->footer.ino); in print_node_info()
273 nid_t nid = le32_to_cpu(node_block->footer.nid); in print_node_info()
[all …]
Dnode.h46 return le32_to_cpu(addr_array[offset]); in datablock_addr()
60 return le32_to_cpu(rn->i.i_nid[off - NODE_DIR1_BLOCK]); in get_nid()
62 return le32_to_cpu(rn->in.nid[off]); in get_nid()
/external/selinux/libsepol/src/
Dpolicydb.c1818 r->flags = le32_to_cpu(buf[0]); in role_set_read()
1836 t->flags = le32_to_cpu(buf[0]); in type_set_read()
1854 items = le32_to_cpu(buf[0]); in mls_read_range_helper()
1865 r->level[0].sens = le32_to_cpu(buf[0]); in mls_read_range_helper()
1867 r->level[1].sens = le32_to_cpu(buf[1]); in mls_read_range_helper()
1917 l->sens = le32_to_cpu(buf[0]); in mls_read_semantic_level_helper()
1919 ncat = le32_to_cpu(buf[1]); in mls_read_semantic_level_helper()
1936 cat->low = le32_to_cpu(buf[0]); in mls_read_semantic_level_helper()
1937 cat->high = le32_to_cpu(buf[1]); in mls_read_semantic_level_helper()
2024 c->user = le32_to_cpu(buf[0]); in context_read_and_validate()
[all …]
Dmodule.c393 if (le32_to_cpu(buf[0]) != SEPOL_MODULE_PACKAGE_MAGIC) { in module_package_read_offsets()
396 SEPOL_MODULE_PACKAGE_MAGIC, le32_to_cpu(buf[0])); in module_package_read_offsets()
400 mod->version = le32_to_cpu(buf[1]); in module_package_read_offsets()
401 nsec = *sections = le32_to_cpu(buf[2]); in module_package_read_offsets()
428 off[i] = le32_to_cpu(buf[i]); in module_package_read_offsets()
503 switch (le32_to_cpu(buf[0])) { in sepol_module_package_read()
631 i, offsets[i], le32_to_cpu(buf[0])); in sepol_module_package_read()
693 switch (le32_to_cpu(buf[0])) { in sepol_module_package_info()
741 len = le32_to_cpu(buf[1]); in sepol_module_package_info()
774 *type = le32_to_cpu(buf[0]); in sepol_module_package_info()
[all …]
Dconditional.c588 booldatum->s.value = le32_to_cpu(buf[0]); in cond_read_bool()
589 booldatum->state = le32_to_cpu(buf[1]); in cond_read_bool()
594 len = le32_to_cpu(buf[2]); in cond_read_bool()
603 booldatum->flags = le32_to_cpu(buf[0]); in cond_read_bool()
723 len = le32_to_cpu(buf[0]); in cond_read_av_list()
770 node->cur_state = le32_to_cpu(buf[0]); in cond_read_node()
778 len = le32_to_cpu(buf[0]); in cond_read_node()
791 expr->expr_type = le32_to_cpu(buf[0]); in cond_read_node()
792 expr->bool = le32_to_cpu(buf[1]); in cond_read_node()
825 node->flags = le32_to_cpu(buf[0]); in cond_read_node()
[all …]
Davtab.c457 items2 = le32_to_cpu(buf32[0]); in avtab_read_item()
471 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
477 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
483 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
490 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
506 datum.data = le32_to_cpu(buf32[items++]); in avtab_read_item()
566 xperms.perms[i] = le32_to_cpu(buf32[i]); in avtab_read_item()
574 datum.data = le32_to_cpu(*buf32); in avtab_read_item()
597 nel = le32_to_cpu(buf[0]); in avtab_read()
Dprivate.h28 #define le32_to_cpu(x) (x) macro
35 #define le32_to_cpu(x) bswap_32(x) macro
/external/kernel-headers/original/uapi/linux/
Dbfs_fs.h71 ((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…
Dnilfs2_ondisk.h536 cp->cp_flags = cpu_to_le32(le32_to_cpu(cp->cp_flags) | \
542 cp->cp_flags = cpu_to_le32(le32_to_cpu(cp->cp_flags) & \
548 return !!(le32_to_cpu(cp->cp_flags) & \
598 su->su_flags = cpu_to_le32(le32_to_cpu(su->su_flags) | \
605 cpu_to_le32(le32_to_cpu(su->su_flags) & \
611 return !!(le32_to_cpu(su->su_flags) & \
630 return !le32_to_cpu(su->su_flags); in nilfs_segment_usage_clean()
Dmsdos_fs.h21 #define CF_LE_L(v) le32_to_cpu(v)
88 #define IS_FSINFO(x) (le32_to_cpu((x)->signature1) == FAT_FSINFO_SIG1 \
89 && le32_to_cpu((x)->signature2) == FAT_FSINFO_SIG2)
/external/syslinux/gpxe/src/net/80211/
Dwpa_tkip.c333 V[0] = le32_to_cpu ( V[0] ); in tkip_michael()
334 V[1] = le32_to_cpu ( V[1] ); in tkip_michael()
339 tkip_feed_michael ( V, le32_to_cpu ( cap.word[0] ) ); in tkip_michael()
340 tkip_feed_michael ( V, le32_to_cpu ( cap.word[1] ) ); in tkip_michael()
341 tkip_feed_michael ( V, le32_to_cpu ( cap.word[2] ) ); in tkip_michael()
346 tkip_feed_michael ( V, le32_to_cpu ( *( u32 * ) ptr ) ); in tkip_michael()
358 tkip_feed_michael ( V, le32_to_cpu ( cap.word[0] ) ); in tkip_michael()
359 tkip_feed_michael ( V, le32_to_cpu ( cap.word[1] ) ); in tkip_michael()
498 icv = le32_to_cpu ( *( u32 * ) ( iob->tail + TKIP_MIC_LEN ) ); in tkip_decrypt()
/external/syslinux/gpxe/src/drivers/net/
Detherfabric.h140 ( ( unsigned int ) le32_to_cpu ( (dword).u32[0] ) )
144 ( ( unsigned int ) le32_to_cpu ( (qword).u32[1] ) ), \
145 ( ( unsigned int ) le32_to_cpu ( (qword).u32[0] ) )
149 ( ( unsigned int ) le32_to_cpu ( (oword).u32[3] ) ), \
150 ( ( unsigned int ) le32_to_cpu ( (oword).u32[2] ) ), \
151 ( ( unsigned int ) le32_to_cpu ( (oword).u32[1] ) ), \
152 ( ( unsigned int ) le32_to_cpu ( (oword).u32[0] ) )
187 EFAB_EXTRACT_NATIVE ( le32_to_cpu(element), min, max, low, high )
Depic100.c18 #define le32desc_to_virt(addr) bus_to_virt(le32_to_cpu(addr))
356 while ((le32_to_cpu(tx_ring[entry].status) & (TRING_OWN)) && in epic100_transmit()
360 if ((le32_to_cpu(tx_ring[entry].status) & TRING_OWN) != 0) in epic100_transmit()
390 status = le32_to_cpu(rx_ring[entry].status); in epic100_poll()
407 nic->packetlen = le32_to_cpu((rx_ring[entry].buflength))- 4; in epic100_poll()
/external/wpa_supplicant_8/src/utils/
Dplatform.h8 #define le32_to_cpu le_to_host32 macro
19 #define get_unaligned_le32(p) le32_to_cpu(get_unaligned((le32 *)(p)))

123