Lines Matching refs:output
234 static void handle_relocations(void *output, unsigned long output_len) in handle_relocations() argument
238 unsigned long min_addr = (unsigned long)output; in handle_relocations()
280 for (reloc = output + output_len - sizeof(*reloc); *reloc; reloc--) { in handle_relocations()
314 static inline void handle_relocations(void *output, unsigned long output_len) in handle_relocations() argument
318 static void parse_elf(void *output) in parse_elf() argument
330 memcpy(&ehdr, output, sizeof(ehdr)); in parse_elf()
345 memcpy(phdrs, output + ehdr.e_phoff, sizeof(*phdrs) * ehdr.e_phnum); in parse_elf()
353 dest = output; in parse_elf()
359 output + phdr->p_offset, in parse_elf()
372 unsigned char *output, in decompress_kernel() argument
376 unsigned char *output_orig = output; in decompress_kernel()
404 output = choose_kernel_location(input_data, input_len, output, in decompress_kernel()
409 if ((unsigned long)output & (MIN_KERNEL_ALIGN - 1)) in decompress_kernel()
419 if ((unsigned long)output != LOAD_PHYSICAL_ADDR) in decompress_kernel()
424 decompress(input_data, input_len, NULL, NULL, output, NULL, error); in decompress_kernel()
425 parse_elf(output); in decompress_kernel()
430 if (!IS_ENABLED(CONFIG_X86_64) || output != output_orig) in decompress_kernel()
431 handle_relocations(output, output_len); in decompress_kernel()
433 return output; in decompress_kernel()