Searched refs:phsize (Results 1 - 8 of 8) sorted by relevance
/netbsd-current/sys/kern/ |
H A D | exec_elf.c | 426 u_long phsize; local 497 phsize = eh.e_phnum * sizeof(Elf_Phdr); 498 ph = kmem_alloc(phsize, KM_SLEEP); 500 error = exec_read(l, vp, eh.e_phoff, ph, phsize, IO_NODELOCKED); 622 kmem_free(ph, phsize); 632 kmem_free(ph, phsize); 654 u_long phsize; local 690 phsize = eh->e_phnum * sizeof(Elf_Phdr); 691 ph = kmem_alloc(phsize, KM_SLEEP); 693 error = exec_read(l, epp->ep_vp, eh->e_phoff, ph, phsize, 902 size_t phsize; local [all...] |
/netbsd-current/libexec/ld.elf_so/arch/arm/ |
H A D | find_exidx.c | 69 const Elf_Phdr * const phlimit = ph + obj->phsize / sizeof(*ph);
|
/netbsd-current/sys/compat/linux/arch/amd64/ |
H A D | linux_exec_machdep.c | 133 u_long phsize; local 155 phsize = eh->e_phnum * sizeof(Elf_Phdr); 156 ph = (Elf_Phdr *)kmem_alloc(phsize, KM_SLEEP); 157 error = exec_read(l, pack->ep_vp, eh->e_phoff, ph, phsize, 0); 166 kmem_free(ph, phsize);
|
/netbsd-current/libexec/ld.elf_so/ |
H A D | map_object.c | 98 size_t phdr_memsz, phsize; local 181 phsize = ehdr->e_phnum * sizeof(phdr[0]); 220 dbg(("%s: %s %p phsize %" PRImemsz, obj->path, 228 dbg(("%s: %s %p phsize %" PRImemsz, obj->path, 248 dbg(("%s: %s %p phsize %" PRImemsz, obj->path, 256 dbg(("%s: %s %p phsize %" PRImemsz, obj->path, "PT_TLS", 422 segs[i]->p_memsz >= phsize) { 424 phdr_memsz = phsize; 430 obj->phsize = phdr_memsz; 432 Elf_Phdr *buf = xmalloc(phsize); [all...] |
H A D | headers.c | 487 obj->phsize = ph->p_memsz; 488 dbg(("headers: phdr %p (%p) phsize %zu relocbase %p", 489 obj->phdr, phdr, obj->phsize, obj->relocbase)); 499 dbg(("headers: %s %p phsize %" PRImemsz, 515 dbg(("headers: %s %p phsize %" PRImemsz, 522 dbg(("headers: %s %p phsize %" PRImemsz, 532 dbg(("headers: %s %p phsize %" PRImemsz, 546 dbg(("headers: %s %p phsize %" PRImemsz, 555 dbg(("headers: %s %p phsize %" PRImemsz,
|
H A D | rtld.h | 163 size_t phsize; /* Size of program header in bytes */ member in struct:Struct_Obj_Entry
|
H A D | rtld.c | 413 _rtld_objself.phsize = ehdr->e_phnum * sizeof(_rtld_objself.phdr[0]); 1470 phdr_info->dlpi_phnum = obj->phsize / sizeof(obj->phdr[0]);
|
/netbsd-current/sys/compat/linux/common/ |
H A D | linux_exec_elf32.c | 371 size_t phsize; local 379 phsize = eh->e_phnum * sizeof(Elf_Phdr); 380 ph = (Elf_Phdr *)malloc(phsize, M_TEMP, M_WAITOK); 381 error = exec_read(l, epp->ep_vp, eh->e_phoff, ph, phsize,
|
Completed in 184 milliseconds