Lines Matching refs:output
251 static void handle_relocations(void *output, unsigned long output_len) in handle_relocations() argument
255 unsigned long min_addr = (unsigned long)output; in handle_relocations()
297 for (reloc = output + output_len - sizeof(*reloc); *reloc; reloc--) { in handle_relocations()
331 static inline void handle_relocations(void *output, unsigned long output_len) in handle_relocations() argument
335 static void parse_elf(void *output) in parse_elf() argument
347 memcpy(&ehdr, output, sizeof(ehdr)); in parse_elf()
362 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
370 dest = output; in parse_elf()
376 output + phdr->p_offset, in parse_elf()
389 unsigned char *output, in decompress_kernel() argument
393 unsigned char *output_orig = output; in decompress_kernel()
422 debug_putaddr(output); in decompress_kernel()
431 output = choose_kernel_location(real_mode, input_data, input_len, output, in decompress_kernel()
436 if ((unsigned long)output & (MIN_KERNEL_ALIGN - 1)) in decompress_kernel()
446 if ((unsigned long)output != LOAD_PHYSICAL_ADDR) in decompress_kernel()
451 __decompress(input_data, input_len, NULL, NULL, output, output_len, in decompress_kernel()
453 parse_elf(output); in decompress_kernel()
458 if (!IS_ENABLED(CONFIG_X86_64) || output != output_orig) in decompress_kernel()
459 handle_relocations(output, output_len); in decompress_kernel()
461 return output; in decompress_kernel()