Home
last modified time | relevance | path

Searched refs:phnum (Results 1 – 5 of 5) sorted by relevance

/openbmc/qemu/linux-user/
H A Dgen-vdso-elfn.c.inc114 unsigned phnum, shnum;
127 phnum = ehdr->e_phnum;
148 for (unsigned i = 0; i < phnum; ++i) {
182 if (first_segsz < ehdr->e_phoff + phnum * sizeof(*phdr)) {
191 for (unsigned i = 0; i < phnum; ++i) {
219 for (unsigned i = 0; i < phnum; ++i) {
H A Delfload.c2224 static void bswap_phdr(struct elf_phdr *phdr, int phnum) in bswap_phdr() argument
2230 for (int i = 0; i < phnum; ++i, ++phdr) { in bswap_phdr()
/openbmc/u-boot/tools/
H A Dprelink-riscv.inc27 static void* get_offset_nn (void* data, Elf_Phdr* phdrs, size_t phnum, Elf_Addr addr)
31 for (p = phdrs; p < phdrs + phnum; ++p)
/openbmc/qemu/bsd-user/
H A Delfload.c65 static void bswap_phdr(struct elf_phdr *phdr, int phnum) in bswap_phdr() argument
69 for (i = 0; i < phnum; i++, phdr++) { in bswap_phdr()
117 static void bswap_phdr(struct elf_phdr *phdr, int phnum) { } in bswap_phdr() argument
/openbmc/qemu/dump/
H A Ddump.c144 uint16_t phnum = MIN(s->phdr_num, PN_XNUM); in prepare_elf64_header() local
157 elf_header->e_phnum = cpu_to_dump16(s, phnum); in prepare_elf64_header()
171 uint16_t phnum = MIN(s->phdr_num, PN_XNUM); in prepare_elf32_header() local
184 elf_header->e_phnum = cpu_to_dump16(s, phnum); in prepare_elf32_header()