Searched refs:phnum (Results 1 – 4 of 4) sorted by relevance
/qemu/linux-user/ |
H A D | gen-vdso-elfn.c.inc | 97 unsigned phnum, shnum; 109 phnum = ehdr->e_phnum; 112 for (unsigned i = 0; i < phnum; ++i) { 141 for (unsigned i = 0; i < phnum; ++i) { 158 if (first_segsz < ehdr->e_phoff + phnum * sizeof(*phdr)) { 167 for (unsigned i = 0; i < phnum; ++i) { 195 for (unsigned i = 0; i < phnum; ++i) {
|
H A D | elfload.c | 2138 static void bswap_phdr(struct elf_phdr *phdr, int phnum) in bswap_phdr() argument 2141 for (i = 0; i < phnum; ++i, ++phdr) { in bswap_phdr() 2190 static inline void bswap_phdr(struct elf_phdr *phdr, int phnum) { } in bswap_phdr() argument
|
/qemu/bsd-user/ |
H A D | elfload.c | 65 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
|
/qemu/dump/ |
H A D | dump.c | 143 uint16_t phnum = MIN(s->phdr_num, PN_XNUM); in prepare_elf64_header() local 156 elf_header->e_phnum = cpu_to_dump16(s, phnum); in prepare_elf64_header() 170 uint16_t phnum = MIN(s->phdr_num, PN_XNUM); in prepare_elf32_header() local 183 elf_header->e_phnum = cpu_to_dump16(s, phnum); in prepare_elf32_header()
|