Home
last modified time | relevance | path

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

12

/external/qemu/block/
Dbochs.c103 ((le32_to_cpu(bochs->version) == HEADER_VERSION) || in bochs_probe()
104 (le32_to_cpu(bochs->version) == HEADER_V1))) in bochs_probe()
126 ((le32_to_cpu(bochs.version) != HEADER_VERSION) && in bochs_open()
127 (le32_to_cpu(bochs.version) != HEADER_V1))) { in bochs_open()
131 if (le32_to_cpu(bochs.version) == HEADER_V1) { in bochs_open()
138 s->catalog_size = le32_to_cpu(bochs.extra.redolog.catalog); in bochs_open()
140 if (bdrv_pread(bs->file, le32_to_cpu(bochs.header), s->catalog_bitmap, in bochs_open()
146 s->data_offset = le32_to_cpu(bochs.header) + (s->catalog_size * 4); in bochs_open()
148 s->bitmap_blocks = 1 + (le32_to_cpu(bochs.extra.redolog.bitmap) - 1) / 512; in bochs_open()
149 s->extent_blocks = 1 + (le32_to_cpu(bochs.extra.redolog.extent) - 1) / 512; in bochs_open()
[all …]
Dparallels.c64 (le32_to_cpu(ph->version) == HEADER_VERSION)) in parallels_probe()
82 (le32_to_cpu(ph.version) != HEADER_VERSION)) { in parallels_open()
86 bs->total_sectors = le32_to_cpu(ph.nb_sectors); in parallels_open()
88 s->tracks = le32_to_cpu(ph.tracks); in parallels_open()
90 s->catalog_size = le32_to_cpu(ph.catalog_entries); in parallels_open()
Dvmdk.c377 s->cluster_sectors = le32_to_cpu(header.granularity); in vmdk_open()
380 bs->total_sectors = le32_to_cpu(header.disk_sectors); in vmdk_open()
381 s->l1_table_offset = le32_to_cpu(header.l1dir_offset) << 9; in vmdk_open()
391 s->l2_size = le32_to_cpu(header.num_gtes_per_gte); in vmdk_open()
536 cluster_offset = le32_to_cpu(l2_table[l2_index]); in get_cluster_offset()
Dvvfat.c496 return le32_to_cpu(direntry->size); in filesize_of_direntry()
565 return le32_to_cpu(*entry); in fat_get()
1270 begin_of_direntry(direntry),le32_to_cpu(direntry->size)); in print_direntry()
1531 return le32_to_cpu(*entry); in modified_fat_get()
1838 (le32_to_cpu(direntries[i].size) + s->cluster_size in check_directory_consistency()
/external/libsepol/src/
Dpolicydb.c1582 r->flags = le32_to_cpu(buf[0]); in role_set_read()
1600 t->flags = le32_to_cpu(buf[0]); in type_set_read()
1618 items = le32_to_cpu(buf[0]); in mls_read_range_helper()
1629 r->level[0].sens = le32_to_cpu(buf[0]); in mls_read_range_helper()
1631 r->level[1].sens = le32_to_cpu(buf[1]); in mls_read_range_helper()
1681 l->sens = le32_to_cpu(buf[0]); in mls_read_semantic_level_helper()
1683 ncat = le32_to_cpu(buf[1]); in mls_read_semantic_level_helper()
1700 cat->low = le32_to_cpu(buf[0]); in mls_read_semantic_level_helper()
1701 cat->high = le32_to_cpu(buf[1]); in mls_read_semantic_level_helper()
1788 c->user = le32_to_cpu(buf[0]); in context_read_and_validate()
[all …]
Dmodule.c372 if (le32_to_cpu(buf[0]) != SEPOL_MODULE_PACKAGE_MAGIC) { in module_package_read_offsets()
375 SEPOL_MODULE_PACKAGE_MAGIC, le32_to_cpu(buf[0])); in module_package_read_offsets()
379 mod->version = le32_to_cpu(buf[1]); in module_package_read_offsets()
380 nsec = *sections = le32_to_cpu(buf[2]); in module_package_read_offsets()
407 off[i] = le32_to_cpu(buf[i]); in module_package_read_offsets()
479 switch (le32_to_cpu(buf[0])) { in sepol_module_package_read()
607 i, offsets[i], le32_to_cpu(buf[0])); in sepol_module_package_read()
669 switch (le32_to_cpu(buf[0])) { in sepol_module_package_info()
717 len = le32_to_cpu(buf[1]); in sepol_module_package_info()
750 *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/wpa_supplicant_8/src/utils/
Dradiotap.c26 #define le32_to_cpu le_to_host32 macro
97 iterator->bitmap_shifter = le32_to_cpu(get_unaligned( in ieee80211_radiotap_iterator_init()
105 while (le32_to_cpu(get_unaligned((__le32 *)iterator->arg)) & in ieee80211_radiotap_iterator_init()
271 iterator->bitmap_shifter = le32_to_cpu( in ieee80211_radiotap_iterator_next()
/external/wpa_supplicant_6/wpa_supplicant/src/drivers/
Dradiotap.c26 #define le32_to_cpu le_to_host32 macro
97 iterator->bitmap_shifter = le32_to_cpu(get_unaligned( in ieee80211_radiotap_iterator_init()
105 while (le32_to_cpu(get_unaligned((__le32 *)iterator->arg)) & in ieee80211_radiotap_iterator_init()
271 iterator->bitmap_shifter = le32_to_cpu( in ieee80211_radiotap_iterator_next()
/external/grub/stage2/
Dmd5.c42 #define le32_to_cpu(x) cpu_to_le32(x) macro
108 tmp = a + F (b, c, d) + le32_to_cpu (x[i]) + T[i]; in md5_transform()
116 tmp = a + G (b, c, d) + le32_to_cpu (x[j & 15]) + T[i+16]; in md5_transform()
124 tmp = a + H (b, c, d) + le32_to_cpu (x[j & 15]) + T[i+32]; in md5_transform()
132 tmp = a + I (b, c, d) + le32_to_cpu (x[j & 15]) + T[i+48]; in md5_transform()
/external/qemu/hw/
Dusb-msd.c372 if (le32_to_cpu(cbw.sig) != 0x43425355) { in usb_msd_handle_data()
374 le32_to_cpu(cbw.sig)); in usb_msd_handle_data()
382 s->tag = le32_to_cpu(cbw.tag); in usb_msd_handle_data()
383 s->data_len = le32_to_cpu(cbw.data_len); in usb_msd_handle_data()
Dpci.c371 new_addr = le32_to_cpu(*(uint32_t *)(d->config + in pci_update_mappings()
385 new_addr = le32_to_cpu(*(uint32_t *)(d->config + in pci_update_mappings()
443 val = le32_to_cpu(*(uint32_t *)(d->config + address)); in pci_default_read_config()
/external/kernel-headers/original/asm-arm/
Dio.h120 #define inl(p) ({ __u32 __v = le32_to_cpu((__force __le32) \
169 #define readl(c) ({ __u32 __v = le32_to_cpu((__force __le32) \
253 #define ioread32(p) ({ unsigned int __v = le32_to_cpu(__raw_readl(p)); __v; })
/external/kernel-headers/original/linux/mtd/
Dcfi_endian.h35 #define cfi32_to_cpu(x) le32_to_cpu(x)
/external/kernel-headers/original/linux/
Dmsdos_fs.h18 #define CF_LE_L(v) le32_to_cpu(v)
91 #define IS_FSINFO(x) (le32_to_cpu((x)->signature1) == FAT_FSINFO_SIG1 \
92 && le32_to_cpu((x)->signature2) == FAT_FSINFO_SIG2)
Dext3_fs.h502 ino <= le32_to_cpu(EXT3_SB(sb)->s_es->s_inodes_count)); in ext3_valid_inum()
727 le32_to_cpu(EXT3_SB(sb)->s_es->s_first_data_block); in ext3_group_first_block_no()
/external/bluetooth/bluez/tools/
Ddfutool.c51 #define le32_to_cpu(d) (d) macro
56 #define le32_to_cpu(d) bswap_32(d) macro
391 printf("dwCRC\t\t%08x\n", le32_to_cpu(suffix->dwCRC)); in cmd_verify()
463 dwCRC = le32_to_cpu(suffix.dwCRC); in cmd_upgrade()
/external/kernel-headers/original/linux/byteorder/
Dgeneric.h94 #define le32_to_cpu __le32_to_cpu macro
/external/grub/netboot/
Dfa311.c42 #define le32_to_cpu(val) (val) macro
44 #define le32desc_to_virt(addr) bus_to_virt(le32_to_cpu(addr))
/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()
/external/kernel-headers/original/asm-mips/
Dgt64120.h574 #define GT_READ(ofs) le32_to_cpu(__GT_READ(ofs))
/external/qemu/
Dmonitor.c1260 pde = le32_to_cpu(pde); in tlb_info()
1268 pte = le32_to_cpu(pte); in tlb_info()
1320 pde = le32_to_cpu(pde); in mem_info()
1330 pte = le32_to_cpu(pte); in mem_info()

12