Lines Matching refs:kbuf
183 struct kexec_buf kbuf; in load_other_segments() local
188 kbuf.image = image; in load_other_segments()
190 kbuf.buf_min = kernel_load_addr + kernel_size; in load_other_segments()
194 kbuf.buffer = initrd; in load_other_segments()
195 kbuf.bufsz = initrd_len; in load_other_segments()
196 kbuf.mem = KEXEC_BUF_MEM_UNKNOWN; in load_other_segments()
197 kbuf.memsz = initrd_len; in load_other_segments()
198 kbuf.buf_align = 0; in load_other_segments()
200 kbuf.buf_max = round_down(kernel_load_addr, SZ_1G) in load_other_segments()
202 kbuf.top_down = false; in load_other_segments()
204 ret = kexec_add_buffer(&kbuf); in load_other_segments()
207 initrd_load_addr = kbuf.mem; in load_other_segments()
221 kbuf.buffer = dtb; in load_other_segments()
222 kbuf.bufsz = dtb_len; in load_other_segments()
223 kbuf.mem = KEXEC_BUF_MEM_UNKNOWN; in load_other_segments()
224 kbuf.memsz = dtb_len; in load_other_segments()
226 kbuf.buf_align = SZ_2M; in load_other_segments()
227 kbuf.buf_max = ULONG_MAX; in load_other_segments()
228 kbuf.top_down = true; in load_other_segments()
230 ret = kexec_add_buffer(&kbuf); in load_other_segments()
234 image->arch.dtb_mem = kbuf.mem; in load_other_segments()
237 kbuf.mem, dtb_len, dtb_len); in load_other_segments()