Searched defs:firstpage (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/boot/sys/boot/common/
H A Dload_elf.c69 caddr_t firstpage; member in struct:elf_file
103 ef->firstpage = malloc(PAGE_SIZE);
104 if (ef->firstpage == NULL) {
108 bytes_read = read(ef->fd, ef->firstpage, PAGE_SIZE);
114 ehdr = ef->ehdr = (Elf_Ehdr *)ef->firstpage;
133 if (ef->firstpage != NULL) {
134 free(ef->firstpage);
135 ef->firstpage = NULL;
284 if (ef.firstpage)
285 free(ef.firstpage);
[all...]

Completed in 88 milliseconds