Lines Matching refs:le32toh
317 btx->btx_entry = le32toh(btx->btx_entry);
357 hdr->text = le32toh(ex->a_text);
358 hdr->data = le32toh(ex->a_data);
359 hdr->bss = le32toh(ex->a_bss);
360 hdr->entry = le32toh(ex->a_entry);
361 if (le32toh(ex->a_entry) >= BTX_PGSIZE)
370 ep = (void *)((uint8_t *)p + le32toh(ee->e_phoff) +
372 if (le32toh(ep->p_type) == PT_LOAD)
375 hdr->text = le32toh(ep->p_filesz);
376 hdr->org = le32toh(ep->p_paddr);
377 if (le32toh(ep->p_flags) & PF_W)
381 hdr->data = le32toh(ep->p_filesz);
382 hdr->bss = le32toh(ep->p_memsz) -
383 le32toh(ep->p_filesz);
391 hdr->entry = le32toh(ee->e_entry);
425 eh.p[1].p_offset = htole32(le32toh(eh.p[0].p_offset) +
426 le32toh(eh.p[0].p_filesz));
428 htole32(align(le32toh(eh.p[0].p_paddr) + le32toh(eh.p[0].p_memsz),