Home
last modified time | relevance | path

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

12

/external/fio/
Dcconv.c75 o->td_ddir = le32_to_cpu(top->td_ddir); in convert_thread_options_to_cpu()
76 o->rw_seq = le32_to_cpu(top->rw_seq); in convert_thread_options_to_cpu()
77 o->kb_base = le32_to_cpu(top->kb_base); in convert_thread_options_to_cpu()
78 o->unit_base = le32_to_cpu(top->kb_base); in convert_thread_options_to_cpu()
79 o->ddir_seq_nr = le32_to_cpu(top->ddir_seq_nr); in convert_thread_options_to_cpu()
81 o->iodepth = le32_to_cpu(top->iodepth); in convert_thread_options_to_cpu()
82 o->iodepth_low = le32_to_cpu(top->iodepth_low); in convert_thread_options_to_cpu()
83 o->iodepth_batch = le32_to_cpu(top->iodepth_batch); in convert_thread_options_to_cpu()
84 o->iodepth_batch_complete = le32_to_cpu(top->iodepth_batch_complete); in convert_thread_options_to_cpu()
87 o->size_percent = le32_to_cpu(top->size_percent); in convert_thread_options_to_cpu()
[all …]
Dclient.c825 dst->error = le32_to_cpu(src->error); in convert_ts()
826 dst->thread_number = le32_to_cpu(src->thread_number); in convert_ts()
827 dst->groupid = le32_to_cpu(src->groupid); in convert_ts()
828 dst->pid = le32_to_cpu(src->pid); in convert_ts()
829 dst->members = le32_to_cpu(src->members); in convert_ts()
830 dst->unified_rw_rep = le32_to_cpu(src->unified_rw_rep); in convert_ts()
855 dst->io_u_map[i] = le32_to_cpu(src->io_u_map[i]); in convert_ts()
856 dst->io_u_submit[i] = le32_to_cpu(src->io_u_submit[i]); in convert_ts()
857 dst->io_u_complete[i] = le32_to_cpu(src->io_u_complete[i]); in convert_ts()
861 dst->io_u_lat_u[i] = le32_to_cpu(src->io_u_lat_u[i]); in convert_ts()
[all …]
Dserver.c200 cmd->flags = le32_to_cpu(cmd->flags); in verify_convert_cmd()
202 cmd->pdu_len = le32_to_cpu(cmd->pdu_len); in verify_convert_cmd()
309 int len = le32_to_cpu(__pdu->buf_len); in fio_net_recv_cmd()
357 pdu_len = le32_to_cpu(cmd->pdu_len); in fio_net_cmd_crc_pdu()
614 pdu->buf_len = le32_to_cpu(pdu->buf_len); in handle_job_cmd()
615 pdu->client_type = le32_to_cpu(pdu->client_type); in handle_job_cmd()
758 tnumber = le32_to_cpu(pdu->thread_number); in handle_update_job_cmd()
844 in->size = le32_to_cpu(in->size); in handle_command()
845 in->error = le32_to_cpu(in->error); in handle_command()
/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()
Did.c62 *id = le32_to_cpu(disk_id); in squashfs_get_id()
Dfragment.c66 size = le32_to_cpu(fragment_entry.size); in squashfs_frag_lookup()
Dfile.c198 int size = le32_to_cpu(blist[i]); in read_indexes()
371 return le32_to_cpu(size); in read_blocklist()
/external/f2fs-tools/fsck/
Dfsck.c140 if (le32_to_cpu(sum_entry.nid) != nid) { in is_valid_ssa_node_blk()
150 le32_to_cpu(sum_entry.nid)); in is_valid_ssa_node_blk()
171 if (le32_to_cpu(sum_entry.nid) != parent_nid || in is_valid_ssa_data_blk()
176 le32_to_cpu(sum_entry.nid)); in is_valid_ssa_data_blk()
227 nid, le32_to_cpu(node_blk->footer.nid), in sanity_check_nid()
228 le32_to_cpu(node_blk->footer.ino)); in sanity_check_nid()
234 nid, le32_to_cpu(node_blk->footer.nid), in sanity_check_nid()
235 le32_to_cpu(node_blk->footer.ino)); in sanity_check_nid()
239 if (le32_to_cpu(node_blk->footer.nid) != nid) { in sanity_check_nid()
242 le32_to_cpu(node_blk->footer.nid)); in sanity_check_nid()
[all …]
Dmount.c17 int namelen = le32_to_cpu(inode->i_namelen); in print_inode_info()
84 nid_t ino = le32_to_cpu(node_block->footer.ino); in print_node_info()
85 nid_t nid = le32_to_cpu(node_block->footer.nid); in print_node_info()
211 if (F2FS_SUPER_MAGIC != le32_to_cpu(raw_super->magic)) { in sanity_check_raw_super()
219 blocksize = 1 << le32_to_cpu(raw_super->log_blocksize); in sanity_check_raw_super()
224 if (le32_to_cpu(raw_super->log_sectorsize) > F2FS_MAX_LOG_SECTOR_SIZE || in sanity_check_raw_super()
225 le32_to_cpu(raw_super->log_sectorsize) < in sanity_check_raw_super()
230 if (le32_to_cpu(raw_super->log_sectors_per_block) + in sanity_check_raw_super()
231 le32_to_cpu(raw_super->log_sectorsize) != in sanity_check_raw_super()
297 le32_to_cpu(raw_super->log_sectors_per_block); in init_sb_info()
[all …]
Df2fs.h202 unsigned flag = le32_to_cpu(node_blk->footer.flag); in ofs_of_node()
212 return le32_to_cpu(ckpt->nat_ver_bitmap_bytesize); in __bitmap_size()
214 return le32_to_cpu(ckpt->sit_ver_bitmap_bytesize); in __bitmap_size()
223 if (le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_payload) > 0) { in __bitmap_ptr()
230 le32_to_cpu(ckpt->sit_ver_bitmap_bytesize) : 0; in __bitmap_ptr()
237 unsigned int ckpt_flags = le32_to_cpu(cp->ckpt_flags); in is_set_ckpt_flags()
247 start_addr = le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_blkaddr); in __start_cp_addr()
261 return le32_to_cpu(F2FS_CKPT(sbi)->cp_pack_start_sum); in __start_sum_addr()
307 return __start_cp_addr(sbi) + le32_to_cpu(F2FS_CKPT(sbi)->cp_pack_start_sum); in start_sum_block()
312 return __start_cp_addr(sbi) + le32_to_cpu(F2FS_CKPT(sbi)->cp_pack_total_block_count) in sum_blk_addr()
[all …]
Ddump.c111 le32_to_cpu(sum_blk.entries[i].nid)); in ssa_dump()
175 le32_to_cpu(node_blk->dn.addr[i])); in dump_node_blk()
179 le32_to_cpu(node_blk->in.nid[i]), ofs); in dump_node_blk()
183 le32_to_cpu(node_blk->in.nid[i]), ofs); in dump_node_blk()
209 le32_to_cpu(node_blk->i.i_addr[i])); in dump_inode_blk()
231 u32 imode = le32_to_cpu(inode->i_mode); in dump_file()
252 le32_to_cpu(inode->i_namelen)); in dump_file()
253 name[le32_to_cpu(inode->i_namelen)] = 0; in dump_file()
263 ret = ftruncate(config.dump_fd, le32_to_cpu(inode->i_size)); in dump_file()
288 DBG(1, "node_blk.footer.ino [0x%x]\n", le32_to_cpu(node_blk->footer.ino)); in dump_node()
[all …]
Dmain.c161 u32 flag = le32_to_cpu(ckpt->ckpt_flags); in do_dump()
/external/selinux/libsepol/src/
Dpolicydb.c1661 r->flags = le32_to_cpu(buf[0]); in role_set_read()
1679 t->flags = le32_to_cpu(buf[0]); in type_set_read()
1697 items = le32_to_cpu(buf[0]); in mls_read_range_helper()
1708 r->level[0].sens = le32_to_cpu(buf[0]); in mls_read_range_helper()
1710 r->level[1].sens = le32_to_cpu(buf[1]); in mls_read_range_helper()
1760 l->sens = le32_to_cpu(buf[0]); in mls_read_semantic_level_helper()
1762 ncat = le32_to_cpu(buf[1]); in mls_read_semantic_level_helper()
1779 cat->low = le32_to_cpu(buf[0]); in mls_read_semantic_level_helper()
1780 cat->high = le32_to_cpu(buf[1]); in mls_read_semantic_level_helper()
1867 c->user = le32_to_cpu(buf[0]); in context_read_and_validate()
[all …]
Dmodule.c392 if (le32_to_cpu(buf[0]) != SEPOL_MODULE_PACKAGE_MAGIC) { in module_package_read_offsets()
395 SEPOL_MODULE_PACKAGE_MAGIC, le32_to_cpu(buf[0])); in module_package_read_offsets()
399 mod->version = le32_to_cpu(buf[1]); in module_package_read_offsets()
400 nsec = *sections = le32_to_cpu(buf[2]); in module_package_read_offsets()
427 off[i] = le32_to_cpu(buf[i]); in module_package_read_offsets()
502 switch (le32_to_cpu(buf[0])) { in sepol_module_package_read()
630 i, offsets[i], le32_to_cpu(buf[0])); in sepol_module_package_read()
692 switch (le32_to_cpu(buf[0])) { in sepol_module_package_info()
740 len = le32_to_cpu(buf[1]); in sepol_module_package_info()
773 *type = le32_to_cpu(buf[0]); in sepol_module_package_info()
[all …]
Dconditional.c585 booldatum->s.value = le32_to_cpu(buf[0]); in cond_read_bool()
586 booldatum->state = le32_to_cpu(buf[1]); in cond_read_bool()
591 len = le32_to_cpu(buf[2]); in cond_read_bool()
606 booldatum->flags = le32_to_cpu(buf[0]); in cond_read_bool()
726 len = le32_to_cpu(buf[0]); in cond_read_av_list()
773 node->cur_state = le32_to_cpu(buf[0]); in cond_read_node()
781 len = le32_to_cpu(buf[0]); in cond_read_node()
794 expr->expr_type = le32_to_cpu(buf[0]); in cond_read_node()
795 expr->bool = le32_to_cpu(buf[1]); in cond_read_node()
828 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
Debitmap.c377 mapsize = le32_to_cpu(buf[0]); in ebitmap_read()
378 e->highbit = le32_to_cpu(buf[1]); in ebitmap_read()
379 count = le32_to_cpu(buf[2]); in ebitmap_read()
412 n->startbit = le32_to_cpu(buf[0]); in ebitmap_read()
/external/kernel-headers/original/uapi/linux/
Dbfs_fs.h70 ((le32_to_cpu((ip)->i_eoffset) + 1) - le32_to_cpu((ip)->i_sblock) * BFS_BSIZE)
76 ((ip)->i_sblock == 0 ? 0 : (le32_to_cpu((ip)->i_eblock) + 1) - le32_to_cpu((ip)->i_sblock))
78 …((le32_to_cpu(bfs_sb->s_from) != -1) && (le32_to_cpu(bfs_sb->s_to) != -1) && !(sb->s_flags & MS_RD…
Dmsdos_fs.h20 #define CF_LE_L(v) le32_to_cpu(v)
87 #define IS_FSINFO(x) (le32_to_cpu((x)->signature1) == FAT_FSINFO_SIG1 \
88 && le32_to_cpu((x)->signature2) == FAT_FSINFO_SIG2)
/external/mesa3d/src/gallium/state_trackers/d3d1x/d3d1xshader/src/
Dutils.h34 static inline uint32_t le32_to_cpu(uint32_t v) in le32_to_cpu() function
39 static inline uint32_t le32_to_cpu(uint32_t v) in le32_to_cpu() function
/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((uint32_t *)(p)))

12