Lines Matching refs:kbuf
25 struct kexec_buf kbuf = { .image = image, .buf_min = 0, in elf_load() local
32 ret = kexec_elf_load(image, &ehdr, &elf_info, &kbuf, &kernel_load_addr); in elf_load()
45 kbuf.buffer = initrd; in elf_load()
46 kbuf.bufsz = kbuf.memsz = initrd_len; in elf_load()
47 kbuf.buf_align = PAGE_SIZE; in elf_load()
48 kbuf.top_down = false; in elf_load()
49 kbuf.mem = KEXEC_BUF_MEM_UNKNOWN; in elf_load()
50 ret = kexec_add_buffer(&kbuf); in elf_load()
54 kexec_dprintk("Loaded initrd at 0x%lx\n", kbuf.mem); in elf_load()
55 image->arch.initrd_start = kbuf.mem; in elf_load()
56 image->arch.initrd_end = kbuf.mem + initrd_len; in elf_load()
60 kbuf.buffer = cmdline; in elf_load()
61 kbuf.bufsz = kbuf.memsz = ALIGN(cmdline_len, 8); in elf_load()
62 kbuf.buf_align = PAGE_SIZE; in elf_load()
63 kbuf.top_down = false; in elf_load()
64 kbuf.buf_min = PAGE0->mem_free + PAGE_SIZE; in elf_load()
65 kbuf.buf_max = kernel_load_addr; in elf_load()
66 kbuf.mem = KEXEC_BUF_MEM_UNKNOWN; in elf_load()
67 ret = kexec_add_buffer(&kbuf); in elf_load()
71 kexec_dprintk("Loaded cmdline at 0x%lx\n", kbuf.mem); in elf_load()
72 image->arch.cmdline = kbuf.mem; in elf_load()