Searched refs:firstpage (Results 1 – 5 of 5) sorted by relevance
| /trueos/sys/boot/common/ |
| HD | load_elf.c | 69 caddr_t firstpage; member 112 ef.firstpage = malloc(PAGE_SIZE); in __elfN() 113 if (ef.firstpage == NULL) { in __elfN() 117 bytes_read = read(ef.fd, ef.firstpage, PAGE_SIZE); in __elfN() 123 ehdr = ef.ehdr = (Elf_Ehdr *)ef.firstpage; in __elfN() 241 if (ef.firstpage) in __elfN() 242 free(ef.firstpage); in __elfN() 338 phdr = (Elf_Phdr *)(ef->firstpage + ehdr->e_phoff); in __elfN() 363 archsw.arch_copyin(ef->firstpage + phdr[i].p_offset, in __elfN()
|
| /trueos/sys/kern/ |
| HD | kern_exec.c | 877 if (imgp->firstpage != NULL) 944 if (imgp->firstpage != NULL) 995 imgp->firstpage = sf_buf_alloc(ma[0], 0); 996 imgp->image_header = (char *)sf_buf_kva(imgp->firstpage); 1007 if (imgp->firstpage != NULL) { 1008 m = sf_buf_page(imgp->firstpage); 1009 sf_buf_free(imgp->firstpage); 1010 imgp->firstpage = NULL;
|
| HD | link_elf.c | 720 caddr_t firstpage; in link_elf_load_file() local 755 firstpage = NULL; in link_elf_load_file() 761 firstpage = NULL; in link_elf_load_file() 769 firstpage = malloc(PAGE_SIZE, M_LINKER, M_WAITOK); in link_elf_load_file() 770 hdr = (Elf_Ehdr *)firstpage; in link_elf_load_file() 771 error = vn_rdwr(UIO_READ, nd.ni_vp, firstpage, PAGE_SIZE, 0, in link_elf_load_file() 822 phdr = (Elf_Phdr *) (firstpage + hdr->e_phoff); in link_elf_load_file() 1032 if (firstpage != NULL) in link_elf_load_file() 1033 free(firstpage, M_LINKER); in link_elf_load_file()
|
| HD | imgact_elf.c | 624 imgp->firstpage = NULL; in __elfN() 704 if (imgp->firstpage) in __elfN()
|
| /trueos/sys/sys/ |
| HD | imgact.h | 70 struct sf_buf *firstpage; /* first page that we mapped */ member
|