/illumos-gate/usr/src/boot/sys/sys/ |
H A D | imgact_aout.h | 37 ( le32toh((ex).a_midmag) & 0xffff ) 79 (le32toh((ex).a_entry) < le32toh((ex).a_text) ? 0 : \ 80 le32toh((ex).a_entry) & ~__LDPGSZ) : __LDPGSZ) 84 N_ALIGN(ex, N_TXTADDR(ex) + le32toh((ex).a_text)) 93 N_ALIGN(ex, N_TXTOFF(ex) + le32toh((ex).a_text)) 97 N_ALIGN(ex, N_DATOFF(ex) + le32toh((ex).a_data)) 101 (N_RELOFF(ex) + le32toh((ex).a_trsize) + le32toh((ex).a_drsize)) 104 #define N_STROFF(ex) (N_SYMOFF(ex) + le32toh((ex).a_syms))
|
H A D | endian.h | 79 #define le32toh(x) ((uint32_t)(x)) macro 93 #define le32toh(x) bswap32((x)) macro
|
/illumos-gate/usr/src/tools/btxld/ |
H A D | imgact_aout.h | 79 (le32toh((ex).a_entry) < le32toh((ex).a_text) ? 0 : \ 80 le32toh((ex).a_entry) & ~__LDPGSZ) : __LDPGSZ) 84 N_ALIGN(ex, N_TXTADDR(ex) + le32toh((ex).a_text)) 93 N_ALIGN(ex, N_TXTOFF(ex) + le32toh((ex).a_text)) 97 N_ALIGN(ex, N_DATOFF(ex) + le32toh((ex).a_data)) 101 (N_RELOFF(ex) + le32toh((ex).a_trsize) + le32toh((ex).a_drsize)) 104 #define N_STROFF(ex) (N_SYMOFF(ex) + le32toh((ex).a_syms))
|
H A D | btxld.c | 370 hdr->text = le32toh(ex->a_text); in gethdr() 371 hdr->data = le32toh(ex->a_data); in gethdr() 372 hdr->bss = le32toh(ex->a_bss); in gethdr() 373 hdr->entry = le32toh(ex->a_entry); in gethdr() 389 hdr->org = le32toh(ep->p_paddr); in gethdr() 390 if (le32toh(ep->p_flags) & PF_W) in gethdr() 395 hdr->bss = le32toh(ep->p_memsz) - in gethdr() 396 le32toh(ep->p_filesz); in gethdr() 404 hdr->entry = le32toh(ee->e_entry); in gethdr() 439 le32toh(eh.p[0].p_filesz)); in puthdr() [all …]
|
H A D | endian.h | 38 #ifndef le32toh 39 #define le32toh LE_32 macro
|
/illumos-gate/usr/src/contrib/bhyve/dev/nvme/ |
H A D | nvme.h | 1830 s->cdw0 = le32toh(s->cdw0); in nvme_completion_swapbytes() 1861 s->ver = le32toh(s->ver); in nvme_controller_data_swapbytes() 1864 s->oaes = le32toh(s->oaes); in nvme_controller_data_swapbytes() 1889 s->pels = le32toh(s->pels); in nvme_controller_data_swapbytes() 1891 s->nn = le32toh(s->nn); in nvme_controller_data_swapbytes() 1897 s->sgls = le32toh(s->sgls); in nvme_controller_data_swapbytes() 1898 s->mnan = le32toh(s->mnan); in nvme_controller_data_swapbytes() 1945 s->nsid = le32toh(s->nsid); in nvme_error_information_entry_swapbytes() 2038 s->nsid = le32toh(s->nsid); in nvme_res_notification_page_swapbytes() 2083 s->gen = le32toh(s->gen); in nvme_resv_status_swapbytes() [all …]
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | qemu_loader.c | 223 switch (le32toh(entry->cmd_le)) { in qemu_loader_dump_entry() 228 le32toh(entry->alloc.alignment_le)); in qemu_loader_dump_entry() 237 le32toh(entry->add_pointer.off_le)); in qemu_loader_dump_entry() 244 le32toh(entry->add_checksum.off_le)); in qemu_loader_dump_entry() 246 le32toh(entry->add_checksum.start_le)); in qemu_loader_dump_entry() 248 le32toh(entry->add_checksum.len_le)); in qemu_loader_dump_entry() 255 le32toh(entry->write_pointer.dest_off_le)); in qemu_loader_dump_entry() 257 le32toh(entry->write_pointer.src_off_le)); in qemu_loader_dump_entry()
|
H A D | pci_nvme.c | 2759 nsid = le32toh(cmd->nsid); in pci_nvme_handle_io_cmd()
|
/illumos-gate/usr/src/boot/common/ |
H A D | part.c | 136 uuid->time_low = le32toh(uuid->time_low); in uuid_letoh() 184 sz = le32toh(hdr->hdr_size); in gpt_checkhdr() 189 crc = le32toh(hdr->hdr_crc_self); in gpt_checkhdr() 196 hdr->hdr_revision = le32toh(hdr->hdr_revision); in gpt_checkhdr() 211 hdr->hdr_entries = le32toh(hdr->hdr_entries); in gpt_checkhdr() 212 hdr->hdr_entsz = le32toh(hdr->hdr_entsz); in gpt_checkhdr() 440 start = le32toh(dp[0].dp_start); in ptable_ebrread() 446 end = le32toh(dp[0].dp_size); in ptable_ebrread() 508 if (le32toh(dl->d_magic) != DISKMAGIC && in ptable_bsdread() 509 le32toh(dl->d_magic2) != DISKMAGIC) in ptable_bsdread() [all …]
|
/illumos-gate/usr/src/uts/common/io/iwn/ |
H A D | if_iwn.c | 2305 le32toh(sc->eeprom_crystal)); in iwn5000_read_eeprom() 3056 if (le32toh(miss->consecutive) in iwn_notif_intr() 3084 if (le32toh(uc->valid) != 1) { in iwn_notif_intr() 3108 if (le32toh(*status) & 1) { in iwn_notif_intr() 3311 tmp = le32toh(tmp); in iwn_intr() 4895 r4 = le32toh(sc->rawtemp); in iwn4965_get_temperature() 4919 temp = le32toh(sc->rawtemp); in iwn5000_get_temperature() 6843 rev = le32toh(*ptr++); in iwn_read_firmware_leg() 6861 fw->main.textsz = le32toh(*ptr++); in iwn_read_firmware_leg() 6862 fw->main.datasz = le32toh(*ptr++); in iwn_read_firmware_leg() [all …]
|
H A D | if_iwncompat.h | 153 #define le32toh(x) LE_32(x) macro
|
/illumos-gate/usr/src/lib/libc/i386/gen/ |
H A D | endian.c | 41 le32toh(uint32_t in) in le32toh() function
|
/illumos-gate/usr/src/lib/libc/amd64/gen/ |
H A D | endian.c | 59 le32toh(uint32_t in) in le32toh() function
|
/illumos-gate/usr/src/head/ |
H A D | endian.h | 63 extern uint32_t le32toh(uint32_t);
|
/illumos-gate/usr/src/lib/libc/sparc/gen/ |
H A D | endian.c | 72 le32toh(uint32_t in) in le32toh() function
|
/illumos-gate/usr/src/lib/libc/sparcv9/gen/ |
H A D | endian.c | 72 le32toh(uint32_t in) in le32toh() function
|
/illumos-gate/usr/src/compat/bhyve/sys/ |
H A D | endian.h | 132 #define le32toh(x) ((uint32_t)(x)) macro
|
/illumos-gate/usr/src/test/libc-tests/tests/ |
H A D | endian.c | 140 test32 = le32toh(val32); in endian_fromlittle()
|
/illumos-gate/usr/src/boot/libsa/ |
H A D | smbios.c | 253 f1 = le32toh(SMBIOS_GET32(addr, 0)); in smbios_setuuid()
|
/illumos-gate/usr/src/lib/lib9p/common/transport/ |
H A D | socket.c | 478 msize = le32toh(*(uint32_t *)buffer); in l9p_socket_readmsg()
|
/illumos-gate/usr/src/lib/lib9p/common/ |
H A D | pack.c | 186 *val = le32toh(*val); in l9p_pu32()
|
/illumos-gate/usr/src/man/man3c/ |
H A D | Makefile | 997 le32toh.3c \ 1750 le32toh.3c := LINKSRC = endian.3c
|
/illumos-gate/usr/src/lib/libc/port/ |
H A D | mapfile-vers | 263 le32toh;
|
/illumos-gate/usr/src/pkg/manifests/ |
H A D | system-library.man3c.inc | 654 link path=usr/share/man/man3c/le32toh.3c target=endian.3c
|