Lines Matching refs:allphdrs
331 caddr_t allphdrs; in read_elf32() local
347 allphdrs = NULL; in read_elf32()
368 allphdrs = (caddr_t)kmem_alloc(phdrsize, 0); in read_elf32()
369 if (allphdrs == NULL) in read_elf32()
375 if (xread(fd, allphdrs, phdrsize) != phdrsize) in read_elf32()
386 phdr = (Elf32_Phdr *)(allphdrs + elfhdrp->e_phentsize * i); in read_elf32()
444 phdr = (Elf32_Phdr *)(allphdrs + elfhdrp->e_phentsize * i); in read_elf32()
635 AUX(av, AT_PHDR, allphdrs); in read_elf32()
700 kmem_free(allphdrs, phdrsize); in read_elf32()
705 if (allphdrs != NULL) in read_elf32()
706 kmem_free(allphdrs, phdrsize); in read_elf32()
730 caddr_t allphdrs; in read_elf64() local
746 allphdrs = NULL; in read_elf64()
767 allphdrs = (caddr_t)kmem_alloc(phdrsize, 0); in read_elf64()
768 if (allphdrs == NULL) in read_elf64()
775 if (xread(fd, allphdrs, phdrsize) != phdrsize) in read_elf64()
786 phdr = (Elf64_Phdr *)(allphdrs + elfhdrp->e_phentsize * i); in read_elf64()
845 phdr = (Elf64_Phdr *)(allphdrs + elfhdrp->e_phentsize * i); in read_elf64()
1026 AUX64(av, AT_PHDR, (uintptr_t)allphdrs); in read_elf64()
1081 kmem_free(allphdrs, phdrsize); in read_elf64()
1086 if (allphdrs != NULL) in read_elf64()
1087 kmem_free(allphdrs, phdrsize); in read_elf64()