Home
last modified time | relevance | path

Searched refs:firstpage (Results 1 – 4 of 4) sorted by relevance

/f-stack/freebsd/sys/
H A Dimgact.h77 struct sf_buf *firstpage; /* first page that we mapped */ member
/f-stack/freebsd/kern/
H A Dkern_exec.c888 if (imgp->firstpage != NULL) in do_execve()
992 if (imgp->firstpage != NULL) in exec_map_first_page()
1011 imgp->firstpage = sf_buf_alloc(m, 0); in exec_map_first_page()
1012 imgp->image_header = (char *)sf_buf_kva(imgp->firstpage); in exec_map_first_page()
1022 if (imgp->firstpage != NULL) { in exec_unmap_first_page()
1023 m = sf_buf_page(imgp->firstpage); in exec_unmap_first_page()
1024 sf_buf_free(imgp->firstpage); in exec_unmap_first_page()
1025 imgp->firstpage = NULL; in exec_unmap_first_page()
H A Dlink_elf.c951 caddr_t firstpage, segbase; in link_elf_load_file() local
987 firstpage = NULL; in link_elf_load_file()
993 firstpage = NULL; in link_elf_load_file()
1001 firstpage = malloc(PAGE_SIZE, M_LINKER, M_WAITOK); in link_elf_load_file()
1002 hdr = (Elf_Ehdr *)firstpage; in link_elf_load_file()
1003 error = vn_rdwr(UIO_READ, nd.ni_vp, firstpage, PAGE_SIZE, 0, in link_elf_load_file()
1054 phdr = (Elf_Phdr *) (firstpage + hdr->e_phoff); in link_elf_load_file()
1324 free(firstpage, M_LINKER); in link_elf_load_file()
H A Dimgact_elf.c845 if (imgp->firstpage) in __elfN()