Lines Matching refs:mod
73 const struct bootmodule *mod = info->initrd_bootmodule; in place_modules() local
74 const paddr_t initrd_len = ROUNDUP(mod ? mod->size : 0, MB(2)); in place_modules()
264 static __init int kernel_decompress(struct bootmodule *mod) in kernel_decompress() argument
274 paddr_t addr = mod->start; in kernel_decompress()
275 paddr_t size = mod->size; in kernel_decompress()
306 mod->start = page_to_maddr(pages); in kernel_decompress()
307 mod->size = output_size; in kernel_decompress()
510 struct bootmodule *mod = boot_module_find_by_kind(BOOTMOD_KERNEL); in kernel_probe() local
513 if ( !mod || !mod->size ) in kernel_probe()
519 info->kernel_bootmodule = mod; in kernel_probe()
521 printk("Loading kernel from boot module @ %"PRIpaddr"\n", mod->start); in kernel_probe()
529 rc = kernel_decompress(mod); in kernel_probe()
534 rc = kernel_zimage64_probe(info, mod->start, mod->size); in kernel_probe()
537 rc = kernel_uimage_probe(info, mod->start, mod->size); in kernel_probe()
539 rc = kernel_zimage32_probe(info, mod->start, mod->size); in kernel_probe()
541 rc = kernel_elf_probe(info, mod->start, mod->size); in kernel_probe()