Home
last modified time | relevance | path

Searched refs:le32toh (Results 1 – 24 of 24) sorted by relevance

/illumos-gate/usr/src/boot/sys/sys/
H A Dimgact_aout.h37 ( 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 Dendian.h79 #define le32toh(x) ((uint32_t)(x)) macro
93 #define le32toh(x) bswap32((x)) macro
/illumos-gate/usr/src/tools/btxld/
H A Dimgact_aout.h79 (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 Dbtxld.c330 btx->btx_entry = le32toh(btx->btx_entry); in getbtx()
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()
374 if (le32toh(ex->a_entry) >= BTX_PGSIZE) in gethdr()
383 ep = (void *)((uint8_t *)p + le32toh(ee->e_phoff) + in gethdr()
385 if (le32toh(ep->p_type) == PT_LOAD) in gethdr()
388 hdr->text = le32toh(ep->p_filesz); in gethdr()
389 hdr->org = le32toh(ep->p_paddr); in gethdr()
[all …]
H A Dendian.h38 #ifndef le32toh
39 #define le32toh LE_32 macro
/illumos-gate/usr/src/contrib/bhyve/dev/nvme/
H A Dnvme.h2081 s->cdw0 = le32toh(s->cdw0); in nvme_completion_swapbytes()
2096 s->enlat = le32toh(s->enlat); in nvme_power_state_swapbytes()
2097 s->exlat = le32toh(s->exlat); in nvme_power_state_swapbytes()
2112 s->ver = le32toh(s->ver); in nvme_controller_data_swapbytes()
2113 s->rtd3r = le32toh(s->rtd3r); in nvme_controller_data_swapbytes()
2114 s->rtd3e = le32toh(s->rtd3e); in nvme_controller_data_swapbytes()
2115 s->oaes = le32toh(s->oaes); in nvme_controller_data_swapbytes()
2116 s->ctratt = le32toh(s->ctratt); in nvme_controller_data_swapbytes()
2125 s->hmpre = le32toh(s->hmpre); in nvme_controller_data_swapbytes()
2126 s->hmmin = le32toh(s->hmmin); in nvme_controller_data_swapbytes()
[all …]
/illumos-gate/usr/src/cmd/bhyve/common/
H A Dqemu_loader.c223 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 Dpci_nvme.c2754 nsid = le32toh(cmd->nsid); in pci_nvme_handle_io_cmd()
/illumos-gate/usr/src/boot/common/
H A Dpart.c136 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()
222 hdr->hdr_crc_table = le32toh(hdr->hdr_crc_table); in gpt_checkhdr()
440 start = le32toh(dp[0].dp_start); in ptable_ebrread()
446 end = le32toh(dp[0].dp_size); in ptable_ebrread()
460 offset = e1->part.start + le32toh(dp[1].dp_start); in ptable_ebrread()
[all …]
/illumos-gate/usr/src/uts/common/io/iwn/
H A Dif_iwn.c2305 le32toh(sc->eeprom_crystal)); in iwn5000_read_eeprom()
2690 flags = le32toh(*(uint32_t *)(head + len)); in iwn_rx_done()
2782 len = (le32toh(desc->len) & 0x3fff) - 4; in iwn5000_rx_calib_results()
2868 if (le32toh(stats->rx.general.flags) != 1) { in iwn_rx_statistics()
2898 iwn_tx_done(sc, desc, stat->ackfailcnt, le32toh(stat->status) & 0xff); in iwn4965_tx_done()
3056 if (le32toh(miss->consecutive) in iwn_notif_intr()
3061 le32toh(miss->consecutive)); in iwn_notif_intr()
3064 } else if (le32toh(miss->consecutive) in iwn_notif_intr()
3084 if (le32toh(uc->valid) != 1) { in iwn_notif_intr()
3094 sc->errptr = le32toh(uc->errptr); in iwn_notif_intr()
[all …]
H A Dif_iwncompat.h153 #define le32toh(x) LE_32(x) macro
/illumos-gate/usr/src/lib/libc/i386/gen/
H A Dendian.c41 le32toh(uint32_t in) in le32toh() function
/illumos-gate/usr/src/lib/libc/amd64/gen/
H A Dendian.c59 le32toh(uint32_t in) in le32toh() function
/illumos-gate/usr/src/head/
H A Dendian.h63 extern uint32_t le32toh(uint32_t);
/illumos-gate/usr/src/lib/libc/sparc/gen/
H A Dendian.c72 le32toh(uint32_t in) in le32toh() function
/illumos-gate/usr/src/lib/libc/sparcv9/gen/
H A Dendian.c72 le32toh(uint32_t in) in le32toh() function
/illumos-gate/usr/src/compat/bhyve/sys/
H A Dendian.h132 #define le32toh(x) ((uint32_t)(x)) macro
/illumos-gate/usr/src/test/libc-tests/tests/
H A Dendian.c140 test32 = le32toh(val32); in endian_fromlittle()
/illumos-gate/usr/src/boot/libsa/
H A Dsmbios.c253 f1 = le32toh(SMBIOS_GET32(addr, 0)); in smbios_setuuid()
/illumos-gate/usr/src/lib/lib9p/common/transport/
H A Dsocket.c478 msize = le32toh(*(uint32_t *)buffer); in l9p_socket_readmsg()
/illumos-gate/usr/src/lib/lib9p/common/
H A Dpack.c186 *val = le32toh(*val); in l9p_pu32()
/illumos-gate/usr/src/man/man3c/
H A DMakefile1011 le32toh.3c \
1840 le32toh.3c := LINKSRC = endian.3c
/illumos-gate/usr/src/lib/libc/port/
H A Dmapfile-vers361 le32toh;
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-library.man3c.inc654 link path=usr/share/man/man3c/le32toh.3c target=endian.3c