Home
last modified time | relevance | path

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

/freebsd-9-stable/cddl/contrib/opensolaris/common/ctf/
Dctf_open.c550 size_t size, hdrsz; in ctf_bufopen() local
588 hdrsz = sizeof (ctf_header_t); in ctf_bufopen()
605 hdrsz = sizeof (ctf_header_v1_t); in ctf_bufopen()
641 if ((base = ctf_data_alloc(size + hdrsz)) == MAP_FAILED) in ctf_bufopen()
644 bcopy(ctfsect->cts_data, base, hdrsz); in ctf_bufopen()
646 buf = (uchar_t *)base + hdrsz; in ctf_bufopen()
648 src = (uchar_t *)ctfsect->cts_data + hdrsz; in ctf_bufopen()
649 srclen = ctfsect->cts_size - hdrsz; in ctf_bufopen()
654 ctf_data_free(base, size + hdrsz); in ctf_bufopen()
661 ctf_data_free(base, size + hdrsz); in ctf_bufopen()
[all …]
/freebsd-9-stable/sys/ia64/ia64/
Ddump_machdep.c212 size_t hdrsz; in dumpsys() local
240 hdrsz = ehdr.e_phoff + ehdr.e_phnum * ehdr.e_phentsize; in dumpsys()
241 fileofs = MD_ALIGN(hdrsz); in dumpsys()
243 hdrgap = fileofs - DEV_ALIGN(hdrsz); in dumpsys()
/freebsd-9-stable/sys/powerpc/powerpc/
Ddump_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()
/freebsd-9-stable/sys/mips/mips/
Ddump_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()
/freebsd-9-stable/sys/arm/arm/
Ddump_machdep.c275 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()
/freebsd-9-stable/sys/x86/x86/
Ddump_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()
/freebsd-9-stable/lib/libkvm/
Dkvm_arm.c131 size_t hdrsz; in _kvm_initvtop() local
154 hdrsz = ehdr->e_phoff + ehdr->e_phentsize * ehdr->e_phnum; in _kvm_initvtop()
155 if (_kvm_maphdrs(kd, hdrsz) == -1) in _kvm_initvtop()
Dkvm_ia64.c154 size_t hdrsz; in _kvm_initvtop() local
169 hdrsz = ehdr->e_phoff + ehdr->e_phentsize * ehdr->e_phnum; in _kvm_initvtop()
170 if (_kvm_maphdrs(kd, hdrsz) == -1) in _kvm_initvtop()
Dkvm_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()
Dkvm_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()
/freebsd-9-stable/sys/dev/cx/
Dcronyxfw.h26 long hdrsz; /* header size in bytes */ member
/freebsd-9-stable/lib/libelf/
Dlibelf_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;