Home
last modified time | relevance | path

Searched refs:hdrsz (Results 1 – 12 of 12) sorted by relevance

/trueos/cddl/contrib/opensolaris/common/ctf/
HDctf_open.c551 size_t size, hdrsz; in ctf_bufopen() local
589 hdrsz = sizeof (ctf_header_t); in ctf_bufopen()
606 hdrsz = sizeof (ctf_header_v1_t); in ctf_bufopen()
642 if ((base = ctf_data_alloc(size + hdrsz)) == MAP_FAILED) in ctf_bufopen()
645 bcopy(ctfsect->cts_data, base, hdrsz); in ctf_bufopen()
647 buf = (uchar_t *)base + hdrsz; in ctf_bufopen()
649 src = (uchar_t *)ctfsect->cts_data + hdrsz; in ctf_bufopen()
650 srclen = ctfsect->cts_size - hdrsz; in ctf_bufopen()
655 ctf_data_free(base, size + hdrsz); in ctf_bufopen()
662 ctf_data_free(base, size + hdrsz); in ctf_bufopen()
[all …]
/trueos/sys/ia64/ia64/
HDdump_machdep.c335 size_t hdrsz; in dumpsys() local
370 hdrsz = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; in dumpsys()
371 fileofs = (minidump) ? round_page(hdrsz) : MD_ALIGN(hdrsz); in dumpsys()
373 hdrgap = fileofs - DEV_ALIGN(hdrsz); in dumpsys()
/trueos/sys/powerpc/powerpc/
HDdump_machdep.c213 size_t hdrsz; in dumpsys() local
239 hdrsz = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; in dumpsys()
240 fileofs = MD_ALIGN(hdrsz); in dumpsys()
242 hdrgap = fileofs - DEV_ALIGN(hdrsz); in dumpsys()
/trueos/sys/mips/mips/
HDdump_machdep.c267 size_t hdrsz; in dumpsys() local
301 hdrsz = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; in dumpsys()
302 fileofs = MD_ALIGN(hdrsz); in dumpsys()
304 hdrgap = fileofs - DEV_ALIGN(hdrsz); in dumpsys()
/trueos/sys/x86/x86/
HDdump_machdep.c276 size_t hdrsz; in dumpsys() local
309 hdrsz = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; in dumpsys()
310 fileofs = MD_ALIGN(hdrsz); in dumpsys()
312 hdrgap = fileofs - DEV_ALIGN(hdrsz); in dumpsys()
/trueos/sys/arm/arm/
HDdump_machdep.c304 size_t hdrsz; in dumpsys() local
338 hdrsz = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; in dumpsys()
339 fileofs = MD_ALIGN(hdrsz); in dumpsys()
341 hdrgap = fileofs - DEV_ALIGN(hdrsz); in dumpsys()
/trueos/lib/libkvm/
HDkvm_arm.c132 size_t hdrsz; in _kvm_initvtop() local
156 hdrsz = ehdr->e_phoff + ehdr->e_phentsize * ehdr->e_phnum; in _kvm_initvtop()
157 if (_kvm_maphdrs(kd, hdrsz) == -1) in _kvm_initvtop()
HDkvm_amd64.c155 size_t hdrsz; in _kvm_initvtop() local
174 hdrsz = ehdr->e_phoff + ehdr->e_phentsize * ehdr->e_phnum; in _kvm_initvtop()
175 if (_kvm_maphdrs(kd, hdrsz) == -1) in _kvm_initvtop()
HDkvm_ia64.c275 size_t hdrsz; in _kvm_initvtop() local
294 hdrsz = ehdr->e_phoff + ehdr->e_phentsize * ehdr->e_phnum; in _kvm_initvtop()
295 if (ia64_maphdrs(kd, hdrsz) == -1) in _kvm_initvtop()
HDkvm_i386.c161 size_t hdrsz; in _kvm_initvtop() local
181 hdrsz = ehdr->e_phoff + ehdr->e_phentsize * ehdr->e_phnum; in _kvm_initvtop()
182 if (_kvm_maphdrs(kd, hdrsz) == -1) in _kvm_initvtop()
/trueos/sys/dev/cx/
HDcronyxfw.h26 long hdrsz; /* header size in bytes */ member
/trueos/lib/libelf/
HDlibelf_convert.m4631 size_t sz, hdrsz;
636 hdrsz = 4 * sizeof(uint32_t); /* Header is 4x32 bits. */
637 if (dsz < hdrsz || srcsz < sizeof(Elf_GNU_Hash_Header))
649 dsz -= hdrsz;
720 size_t sz, hdrsz;
725 hdrsz = 3 * sizeof(uint32_t);
726 if (count < hdrsz) /* Source too small. */
735 while (count > hdrsz) {
754 count -= hdrsz;