le64toh
le64toh(ent->ent_lba_start)));
le64toh(ent->ent_lba_end)));
le64toh(ent->ent_attr)));
p = gpt_read(gpt, (off_t)le64toh((uint64_t)hdr->hdr_lba_table), blocks);
(uintmax_t)le64toh(hdr->hdr_lba_table));
(uintmax_t)le64toh(hdr->hdr_lba_table));
m = map_add(gpt, (off_t)le64toh((uint64_t)hdr->hdr_lba_table),
size = (off_t)(le64toh((uint64_t)ent->ent_lba_end) -
le64toh((uint64_t)ent->ent_lba_start) + 1LL);
(uintmax_t)le64toh(ent->ent_lba_start),
m = map_add(gpt, (off_t)le64toh((uint64_t)ent->ent_lba_start),
lba = le64toh(hdr->hdr_lba_alt);
gpt_show_num("- First Data Sector", le64toh(hdr->hdr_lba_start));
gpt_show_num("- Last Data Sector", le64toh(hdr->hdr_lba_end));
le64toh(((struct gpt_hdr *)(gpt->gpt->map_data))->hdr_lba_alt) !=
oldloc = (off_t)le64toh((uint64_t)hdr->hdr_lba_alt);
((off_t)le64toh(ent->ent_lba_end) > lastdata)) {
lastdata = (off_t)le64toh((uint64_t)ent->ent_lba_end);
e->error_count = le64toh(e->error_count);
e->lba = le64toh(e->lba);
e->command_specific = le64toh(e->command_specific);
e->revision[i] = le64toh(e->revision[i]);
e->current = le64toh(e->current);
e->overtemp_flag_last = le64toh(e->overtemp_flag_last);
e->overtemp_flag_life = le64toh(e->overtemp_flag_life);
e->max_temp = le64toh(e->max_temp);
e->min_temp = le64toh(e->min_temp);
e->max_oper_temp = le64toh(e->max_oper_temp);
e->min_oper_temp = le64toh(e->min_oper_temp);
e->est_offset = le64toh(e->est_offset);
if (le64toh(spcr->SerialPort.Address) == 0) {
plcom_console.pi_iobase = le64toh(spcr->SerialPort.Address);
le64toh(spcr->SerialPort.Address), reg_shift);
le64toh(spcr->SerialPort.Address) + 0x40, 2);
if (le64toh(spcr->SerialPort.Address) == 0) {
if (mem->ar_base == le64toh(spcr->SerialPort.Address)) {
rv = acpi_table_map(le64toh(xsdt->TableOffsetEntry[n]), (void **)&header);
pa = le64toh(rsdp->XsdtPhysicalAddress);
const uint64_t addr = le64toh(vb.vbt_macaddr.addr);
le64toh(vb.vbt_macaddr.addr));
le64toh(vb.vbt_serial.sn));
tte = le64toh(*tte_ptr);
tte = le64toh(*tte_ptr);
return le64toh(data);
le64toh(r->lmmio_base), le64toh(r->lmmio_mask),
le64toh(r->gmmio_base), le64toh(r->gmmio_mask),
le64toh(r->wlmmio_base), le64toh(r->wlmmio_mask),
le64toh(r->wgmmio_base), le64toh(r->wgmmio_mask),
le64toh(r->io_base), le64toh(r->io_mask),
le64toh(r->eio_base), le64toh(r->eio_mask));
return le64toh(data);
*a++ = le64toh(*p);
*a++ = le64toh(data);
bootme_lba = le64toh(ent->ent_lba_start);
firstpart_lba = le64toh(ent->ent_lba_start);
bootable_lba = le64toh(ent->ent_lba_start);
#define CHIP_SWAP64(x) le64toh(x)
if ((le64toh(txd->xd1) & T1_EMPTY) != 0)
sts = (uint32_t)le64toh(rxd->xd1);
return (le64toh(*(volatile uint64_t *)(handle +
return le64toh(val);
le64toh(propval->Integer.Value);
lba_start = le64toh(hdr->hdr_lba_start);
lba_end = le64toh(hdr->hdr_lba_end);
lba_table = le64toh(hdr->hdr_lba_table);
dkw.dkw_offset = le64toh(ent->ent_lba_start);
dkw.dkw_size = le64toh(ent->ent_lba_end) - dkw.dkw_offset + 1;
(u_int32_t)le64toh(param.p.sci.maxsyncrate) / 1000,
syncrate = ((int)le64toh(param.sdi.negsyncrate) + 500) / 1000;
(le64toh(param.p.bdi.capacity) / ld->sc_secsize);
#define ahd_le64toh(x) le64toh(x)
#define ahc_le64toh(x) le64toh(x)
if (le64toh(ni->ni_tstamp.tsf) >= tsf) {
if (le64toh(ni->ni_tstamp.tsf) >= atw_get_tsft(sc))
tsft = le64toh(ic->ic_bss->ni_tstamp.tsf);
(((sc)->sc_flags & GEM_PCI) ? le64toh(v) : be64toh(v))
#define MPT_2_HOST64(ptr, tag) ptr->tag = le64toh(ptr->tag)
t = le64toh(v[0]);
v[0] = le64toh(v[1]);
identify->nsze = le64toh(identify->nsze);
identify->ncap = le64toh(identify->ncap);
identify->nuse = le64toh(identify->nuse);
#define lemtoh64(p) le64toh(*((uint64_t *)(p)))
if (le64toh(ni->ni_tstamp.tsf) >= tsf)
return le64toh(offset);
return (size_t )le64toh(offset << 1);
return (size_t )le64toh(offset);
#define CAS_DMA_READ(v) le64toh(v)
word = le64toh(rxd->qword1);
word0 = le64toh(rxd->qword0);
tsf = le64toh(ni->ni_tstamp.tsf);
mod = le64toh(cmd.tstamp) % val;
ni->ni_intval, le64toh(cmd.tstamp), (uint32_t)(val - mod)));
altmask = le64toh(hdr->altmask);
word = le64toh(rxd->qword1);
word0 = le64toh(rxd->qword0);
tsf = le64toh(tsf);
control = le64toh(sc->sc_txdescs[i].tfd_control);
status = le64toh(sc->sc_rxdescs[i].rfd_status);
le64toh(tail->tstamp)));
mod = le64toh(tsf.tstamp) % val;
ni->ni_intval, le64toh(tsf.tstamp), (uint32_t)(val - mod)));
bv->bv_size = le64toh(vpg->max_lba) * le16toh(vpg->block_size);
bd->bd_size = le64toh(ppg->dev_max_lba) * le16toh(ppg->block_size);
return (le64toh(*(volatile uint64_t *)(handle + offset)));
up_speed = le64toh(psi->uplink_speed);
down_speed = le64toh(psi->downlink_speed);
tsf = le64toh(tsf);
trb_0 = le64toh(trb->trb_0);
trb_0 = le64toh(trb->trb_0);
trb_0 = le64toh(trb->trb_0);
#define ENTPOOL_WTOH le64toh
le64toh(wgmd->wgmd_counter));
le64toh(wgmd->wgmd_counter));
wgs->wgs_tkey_recv, le64toh(wgmd->wgmd_counter), encrypted_buf,
le64toh(wgmd->wgmd_counter));
le64toh(wgmd->wgmd_counter));
WG_DLOG("counter=%"PRIu64"\n", le64toh(wgmd->wgmd_counter));
wgs->wgs_tkey_send, le64toh(wgmd->wgmd_counter),
le64toh(hdr.hdr_lba_table) * bdev->bio->Media->BlockSize, buf, sz);
size = (le64toh(bpart->gpt.ent.ent_lba_end) - le64toh(bpart->gpt.ent.ent_lba_start)) * bdev->bio->Media->BlockSize;
off = ((EFI_LBA)dblk + le64toh(bpart->gpt.ent.ent_lba_start)) * bdev->bio->Media->BlockSize;
_cksum += le64toh(_bb->bb_data[_i]); \
if (chfdn.nsize != name_len || !le64toh(chfdn.vno))
td->version = le64toh(dnode->version);
td->node->ofs = le64toh(dnode->offset);
vno = le64toh(vnode->vno);
if (le64toh(vnode->version) > *vc->vno_version) {
*vc->vno_version = le64toh(vnode->version);
*vc->vno_version = le64toh(vnode->version);
parentvc = chfs_scan_make_vnode_cache(chmp, le64toh(dirent->pvno));
fd->vno = le64toh(dirent->vno);
fd->version = le64toh(dirent->version);
vno = le64toh(dnode->vno);
uint64_t serial = le64toh(ebhdr->u.nand_hdr.serial);
max_serial = le64toh(ebhdr->u.nand_hdr.serial);
#if !HAVE_DECL_LE64TOH && !defined(le64toh)
printf(" text offset: 0x%" PRIx64 "\n", le64toh(hdr->text_offset));
printf(" image size: %" PRIu64 "\n", le64toh(hdr->image_size));
printf(" flags: 0x%" PRIx64 "\n", le64toh(hdr->flags));
(uintmax_t)le64toh(xsdt->TableOffsetEntry[i]));
addr = le64toh(xsdt->TableOffsetEntry[i]);
addr = le64toh(xsdt->TableOffsetEntry[i]);
(unsigned long long)le64toh(bb.bb_cksum),
(unsigned long long)le64toh(cksum));
(unsigned long long)le64toh(bb.bb_secstart));
(unsigned long long)le64toh(bb.bb_secsize));
(unsigned long long)le64toh(bb.bb_cksum));
(unsigned long long)le64toh(bb.bb_secstart));
(unsigned long long)le64toh(bb.bb_secsize));
(unsigned long long)le64toh(bb.bb_cksum));
(unsigned long long)le64toh(bb.bb_secsize));
(unsigned long long)le64toh(bb.bb_cksum));
(unsigned long long)le64toh(bb->bb_cksum));
(unsigned long long)le64toh(bb->bb_cksum));
pns->ns_intval, (u_int64_t)le64toh(ts));