Lines Matching refs:output
175 static void handle_relocations(void *output, unsigned long output_len, in handle_relocations() argument
180 unsigned long min_addr = (unsigned long)output; in handle_relocations()
231 for (reloc = output + output_len - sizeof(*reloc); *reloc; reloc--) { in handle_relocations()
265 static inline void handle_relocations(void *output, unsigned long output_len, in handle_relocations() argument
270 static void parse_elf(void *output) in parse_elf() argument
282 memcpy(&ehdr, output, sizeof(ehdr)); in parse_elf()
297 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
309 dest = output; in parse_elf()
314 memmove(dest, output + phdr->p_offset, phdr->p_filesz); in parse_elf()
343 unsigned char *output, in extract_kernel() argument
402 debug_putaddr(output); in extract_kernel()
413 (unsigned long *)&output, in extract_kernel()
418 if ((unsigned long)output & (MIN_KERNEL_ALIGN - 1)) in extract_kernel()
432 if ((unsigned long)output != LOAD_PHYSICAL_ADDR) in extract_kernel()
439 __decompress(input_data, input_len, NULL, NULL, output, output_len, in extract_kernel()
441 parse_elf(output); in extract_kernel()
442 handle_relocations(output, output_len, virt_addr); in extract_kernel()
444 return output; in extract_kernel()