Lines Matching refs:mfp
407 struct preloaded_file *mfp;
426 for (mfp = fp; mfp->f_next != NULL; mfp = mfp->f_next);
429 last_addr = roundup(mfp->f_addr + mfp->f_size, MULTIBOOT_MOD_ALIGN);
462 for (mfp = fp->f_next; mfp != NULL; mfp = mfp->f_next) {
464 if (mfp->f_type != NULL && strcmp(mfp->f_type, "rootfs") == 0)
466 if (mfp->f_type != NULL && strcmp(mfp->f_type, "kernel") == 0)
487 for (mfp = fp->f_next; mfp != NULL; mfp = mfp->f_next) {
488 mb_mod[num].mod_start = mfp->f_addr;
489 mb_mod[num].mod_end = mfp->f_addr + mfp->f_size;
491 if (strcmp(mfp->f_type, "kernel") == 0) {
492 cmdline = kernel_cmdline(mfp, rootdev);
498 len = strlen(mfp->f_name) + 1;
499 len += strlen(mfp->f_type) + 5 + 1;
500 if (mfp->f_args != NULL) {
501 len += strlen(mfp->f_args) + 1;
509 if (mfp->f_args != NULL)
511 mfp->f_name, mfp->f_type, mfp->f_args);
514 mfp->f_name, mfp->f_type);
622 struct preloaded_file *mfp, *kfp, *rfp;
627 mfp = file_findfile(NULL, "aout multiboot kernel");
628 if (mfp != NULL) {
643 mfp = file_findfile(NULL, "elf multiboot kernel");
644 if (mfp == NULL) {