Lines Matching refs:sa_htobe32
370 tmp = sa_htobe32(0);
384 tmp = sa_htobe32(kgzlen);
539 tmp = sa_htobe32(0);
555 tmp = sa_htobe32(kgzlen);
580 swapped[i] = sa_htobe32(swapped[i]);
584 swapped[i] = sa_htobe32(swapped[i]);
613 fileHdr.magic = sa_htobe32(PEF_MAGIC);
614 fileHdr.fileTypeID = sa_htobe32(PEF_FILE);
615 fileHdr.archID = sa_htobe32(PEF_PPC);
616 fileHdr.versionNumber = sa_htobe32(1);
623 textHdr.sectionName = sa_htobe32(-1);
624 textHdr.sectionAddress = sa_htobe32(0);
625 textHdr.execSize = sa_htobe32(elf_image_len);
626 textHdr.initSize = sa_htobe32(elf_image_len);
627 textHdr.rawSize = sa_htobe32(elf_image_len);
628 textHdr.fileOffset = sa_htobe32(textOffset);
636 dataHdr.sectionName = sa_htobe32(-1);
637 dataHdr.sectionAddress = sa_htobe32(0);
638 dataHdr.execSize = sa_htobe32(sizeof (entry_vector) + kern_img_len);
639 dataHdr.initSize = sa_htobe32(sizeof (entry_vector) + kern_img_len);
640 dataHdr.rawSize = sa_htobe32(sizeof (entry_vector) + kern_img_len);
641 dataHdr.fileOffset = sa_htobe32(dataOffset);
649 ldrHdr.sectionName = sa_htobe32(-1);
650 ldrHdr.sectionAddress = sa_htobe32(0);
651 ldrHdr.execSize = sa_htobe32(sizeof (lh));
652 ldrHdr.initSize = sa_htobe32(sizeof (lh));
653 ldrHdr.rawSize = sa_htobe32(sizeof (lh));
654 ldrHdr.fileOffset = sa_htobe32(ldrOffset);
662 lh.entryPointSection = sa_htobe32(1); /* Data */
663 lh.entryPointOffset = sa_htobe32(0);
664 lh.initPointSection = sa_htobe32(-1);
665 lh.initPointOffset = sa_htobe32(0);
666 lh.termPointSection = sa_htobe32(-1);
667 lh.termPointOffset = sa_htobe32(0);
673 entry_vector[0] = sa_htobe32(BEBOX_ENTRY); /* Magic */
760 tmp = sa_htobe32(0);
778 tmp = sa_htobe32(kgzlen);
819 (int32_t)sa_htobe32(tmp);
821 (int32_t)sa_htobe32(roundup(tmp, BEBOX_FILE_BLOCK_SIZE));
830 (int32_t)sa_htobe32(tp.tv_sec);