Home
last modified time | relevance | path

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

12

/external/fio/
Dcconv.c72 o->td_ddir = le32_to_cpu(top->td_ddir); in convert_thread_options_to_cpu()
73 o->rw_seq = le32_to_cpu(top->rw_seq); in convert_thread_options_to_cpu()
74 o->kb_base = le32_to_cpu(top->kb_base); in convert_thread_options_to_cpu()
75 o->unit_base = le32_to_cpu(top->kb_base); in convert_thread_options_to_cpu()
76 o->ddir_seq_nr = le32_to_cpu(top->ddir_seq_nr); in convert_thread_options_to_cpu()
78 o->iodepth = le32_to_cpu(top->iodepth); in convert_thread_options_to_cpu()
79 o->iodepth_low = le32_to_cpu(top->iodepth_low); in convert_thread_options_to_cpu()
80 o->iodepth_batch = le32_to_cpu(top->iodepth_batch); in convert_thread_options_to_cpu()
81 o->iodepth_batch_complete = le32_to_cpu(top->iodepth_batch_complete); in convert_thread_options_to_cpu()
84 o->size_percent = le32_to_cpu(top->size_percent); in convert_thread_options_to_cpu()
[all …]
Dclient.c737 dst->error = le32_to_cpu(src->error); in convert_ts()
738 dst->thread_number = le32_to_cpu(src->thread_number); in convert_ts()
739 dst->groupid = le32_to_cpu(src->groupid); in convert_ts()
740 dst->pid = le32_to_cpu(src->pid); in convert_ts()
741 dst->members = le32_to_cpu(src->members); in convert_ts()
742 dst->unified_rw_rep = le32_to_cpu(src->unified_rw_rep); in convert_ts()
766 dst->io_u_map[i] = le32_to_cpu(src->io_u_map[i]); in convert_ts()
767 dst->io_u_submit[i] = le32_to_cpu(src->io_u_submit[i]); in convert_ts()
768 dst->io_u_complete[i] = le32_to_cpu(src->io_u_complete[i]); in convert_ts()
772 dst->io_u_lat_u[i] = le32_to_cpu(src->io_u_lat_u[i]); in convert_ts()
[all …]
Dserver.c186 cmd->flags = le32_to_cpu(cmd->flags); in verify_convert_cmd()
188 cmd->pdu_len = le32_to_cpu(cmd->pdu_len); in verify_convert_cmd()
295 int len = le32_to_cpu(pdu->buf_len); in fio_net_recv_cmd()
343 pdu_len = le32_to_cpu(cmd->pdu_len); in fio_net_cmd_crc_pdu()
577 pdu->buf_len = le32_to_cpu(pdu->buf_len); in handle_job_cmd()
578 pdu->client_type = le32_to_cpu(pdu->client_type); in handle_job_cmd()
727 tnumber = le32_to_cpu(pdu->thread_number); in handle_update_job_cmd()
/external/f2fs-tools/mkfs/
Df2fs_format.c160 le32_to_cpu(super_block.segment0_blkaddr)); in f2fs_prepare_super_block()
166 le32_to_cpu(super_block.segment0_blkaddr) + in f2fs_prepare_super_block()
167 (le32_to_cpu(super_block.segment_count_ckpt) * in f2fs_prepare_super_block()
170 blocks_for_sit = (le32_to_cpu(super_block.segment_count) + in f2fs_prepare_super_block()
179 le32_to_cpu(super_block.sit_blkaddr) + in f2fs_prepare_super_block()
180 (le32_to_cpu(super_block.segment_count_sit) * in f2fs_prepare_super_block()
183 total_valid_blks_available = (le32_to_cpu(super_block.segment_count) - in f2fs_prepare_super_block()
184 (le32_to_cpu(super_block.segment_count_ckpt) + in f2fs_prepare_super_block()
185 le32_to_cpu(super_block.segment_count_sit))) * in f2fs_prepare_super_block()
199 sit_bitmap_size = ((le32_to_cpu(super_block.segment_count_sit) / 2) << in f2fs_prepare_super_block()
[all …]
/external/f2fs-tools/fsck/
Dmount.c16 int namelen = le32_to_cpu(inode->i_namelen); in print_inode_info()
74 nid_t ino = le32_to_cpu(node_block->footer.ino); in print_node_info()
75 nid_t nid = le32_to_cpu(node_block->footer.nid); in print_node_info()
200 if (F2FS_SUPER_MAGIC != le32_to_cpu(raw_super->magic)) { in sanity_check_raw_super()
208 blocksize = 1 << le32_to_cpu(raw_super->log_blocksize); in sanity_check_raw_super()
213 if (F2FS_LOG_SECTOR_SIZE != le32_to_cpu(raw_super->log_sectorsize)) { in sanity_check_raw_super()
218 le32_to_cpu(raw_super->log_sectors_per_block)) { in sanity_check_raw_super()
252 le32_to_cpu(raw_super->log_sectors_per_block); in init_sb_info()
253 sbi->log_blocksize = le32_to_cpu(raw_super->log_blocksize); in init_sb_info()
255 sbi->log_blocks_per_seg = le32_to_cpu(raw_super->log_blocks_per_seg); in init_sb_info()
[all …]
Dfsck.c123 if (le32_to_cpu(sum_entry.nid) != nid) { in is_valid_ssa_node_blk()
133 le32_to_cpu(sum_entry.nid)); in is_valid_ssa_node_blk()
154 if (le32_to_cpu(sum_entry.nid) != parent_nid || in is_valid_ssa_data_blk()
159 le32_to_cpu(sum_entry.nid)); in is_valid_ssa_data_blk()
210 nid, le32_to_cpu(node_blk->footer.nid), in sanity_check_nid()
211 le32_to_cpu(node_blk->footer.ino)); in sanity_check_nid()
217 nid, le32_to_cpu(node_blk->footer.nid), in sanity_check_nid()
218 le32_to_cpu(node_blk->footer.ino)); in sanity_check_nid()
222 if (le32_to_cpu(node_blk->footer.nid) != nid) { in sanity_check_nid()
225 le32_to_cpu(node_blk->footer.nid)); in sanity_check_nid()
[all …]
Ddump.c110 le32_to_cpu(sum_blk.entries[i].nid)); in ssa_dump()
174 le32_to_cpu(node_blk->dn.addr[i])); in dump_node_blk()
178 le32_to_cpu(node_blk->in.nid[i]), ofs); in dump_node_blk()
182 le32_to_cpu(node_blk->in.nid[i]), ofs); in dump_node_blk()
208 le32_to_cpu(node_blk->i.i_addr[i])); in dump_inode_blk()
230 u32 imode = le32_to_cpu(inode->i_mode); in dump_file()
251 le32_to_cpu(inode->i_namelen)); in dump_file()
252 name[le32_to_cpu(inode->i_namelen)] = 0; in dump_file()
262 ret = ftruncate(config.dump_fd, le32_to_cpu(inode->i_size)); in dump_file()
287 DBG(1, "node_blk.footer.ino [0x%x]\n", le32_to_cpu(node_blk->footer.ino)); in dump_node()
[all …]
Df2fs.h205 return le32_to_cpu(ckpt->nat_ver_bitmap_bytesize); in __bitmap_size()
207 return le32_to_cpu(ckpt->sit_ver_bitmap_bytesize); in __bitmap_size()
216 if (le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_payload) > 0) { in __bitmap_ptr()
223 le32_to_cpu(ckpt->sit_ver_bitmap_bytesize) : 0; in __bitmap_ptr()
230 unsigned int ckpt_flags = le32_to_cpu(cp->ckpt_flags); in is_set_ckpt_flags()
240 start_addr = le32_to_cpu(F2FS_RAW_SUPER(sbi)->cp_blkaddr); in __start_cp_addr()
254 return le32_to_cpu(F2FS_CKPT(sbi)->cp_pack_start_sum); in __start_sum_addr()
294 return __start_cp_addr(sbi) + le32_to_cpu(F2FS_CKPT(sbi)->cp_pack_start_sum); in start_sum_block()
299 return __start_cp_addr(sbi) + le32_to_cpu(F2FS_CKPT(sbi)->cp_pack_total_block_count) in sum_blk_addr()
366 ni->ino = le32_to_cpu(raw_nat->ino); in node_info_from_raw_nat()
[all …]
/external/libsepol/src/
Dpolicydb.c1647 r->flags = le32_to_cpu(buf[0]); in role_set_read()
1665 t->flags = le32_to_cpu(buf[0]); in type_set_read()
1683 items = le32_to_cpu(buf[0]); in mls_read_range_helper()
1694 r->level[0].sens = le32_to_cpu(buf[0]); in mls_read_range_helper()
1696 r->level[1].sens = le32_to_cpu(buf[1]); in mls_read_range_helper()
1746 l->sens = le32_to_cpu(buf[0]); in mls_read_semantic_level_helper()
1748 ncat = le32_to_cpu(buf[1]); in mls_read_semantic_level_helper()
1765 cat->low = le32_to_cpu(buf[0]); in mls_read_semantic_level_helper()
1766 cat->high = le32_to_cpu(buf[1]); in mls_read_semantic_level_helper()
1853 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.c390 items2 = le32_to_cpu(buf32[0]); in avtab_read_item()
404 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
410 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
416 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
423 val = le32_to_cpu(buf32[items++]); in avtab_read_item()
439 datum.data = le32_to_cpu(buf32[items++]); in avtab_read_item()
480 datum.data = le32_to_cpu(*buf32); in avtab_read_item()
502 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.c355 mapsize = le32_to_cpu(buf[0]); in ebitmap_read()
356 e->highbit = le32_to_cpu(buf[1]); in ebitmap_read()
357 count = le32_to_cpu(buf[2]); in ebitmap_read()
390 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/chromium_org/third_party/mesa/src/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/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)))
/external/qemu/distrib/ext4_utils/src/
Dcontents.c259 end -= EXT4_XATTR_SIZE(le32_to_cpu(entry->e_value_size)); in xattr_free_space()
344 for (n = (le32_to_cpu(entry->e_value_size) + in ext4_xattr_hash_entry()
348 le32_to_cpu(*value++); in ext4_xattr_hash_entry()
Dext4_utils.h70 #define le32_to_cpu(x) (x) macro
Dext4.h308 …XTIME(xtime, inode, raw_inode) do { (inode)->xtime.tv_sec = (signed)le32_to_cpu((raw_inode)->xt…
309 …_INODE(raw_inode, einode, xtime)) (einode)->xtime.tv_sec = (signed)le32_to_cpu((raw_inode)->xt…
/external/fio/os/
Dos.h207 #define le32_to_cpu(val) ({ \ macro
/external/f2fs-tools/include/
Df2fs_fs.h91 #define le32_to_cpu(x) ((__u32)(x)) macro
98 #define le32_to_cpu(x) bswap_32(x) macro
/external/checkpolicy/test/
Ddismod.c43 #define le32_to_cpu(x) (x) macro
45 #define le32_to_cpu(x) bswap_32(x) macro
724 if (le32_to_cpu(buf[0]) == SEPOL_MODULE_PACKAGE_MAGIC) { in read_policy()

12