Lines Matching refs:offs
461 size_t offs = 0; /* offset from the starting address */ in fastboot_build_mbi() local
532 offs += sizeof (multiboot_info_t); in fastboot_build_mbi()
533 mbi->mods_addr = start_addr_pa + offs; in fastboot_build_mbi()
534 mbp = (mb_module_t *)(start_addr_va + offs); in fastboot_build_mbi()
538 offs += sizeof (mb_module_t); in fastboot_build_mbi()
541 (void *)(start_addr_va + offs), mdnsz); in fastboot_build_mbi()
542 mbp->mod_name = start_addr_pa + offs; in fastboot_build_mbi()
548 offs += mdnsz; in fastboot_build_mbi()
549 offs = P2ROUNDUP_TYPED(offs, 16, size_t); in fastboot_build_mbi()
554 mbi->mmap_addr = start_addr_pa + offs; in fastboot_build_mbi()
555 bcopy((void *)(uintptr_t)saved_mmap, (void *)(start_addr_va + offs), in fastboot_build_mbi()
557 offs += saved_mbi.mmap_length; in fastboot_build_mbi()
562 mbi->drives_addr = start_addr_pa + offs; in fastboot_build_mbi()
563 bcopy((void *)(uintptr_t)saved_drives, (void *)(start_addr_va + offs), in fastboot_build_mbi()
565 offs += saved_mbi.drives_length; in fastboot_build_mbi()
571 mbi->cmdline = start_addr_pa + offs; in fastboot_build_mbi()
574 bcopy(mdep, (void *)(start_addr_va + offs), arglen); in fastboot_build_mbi()
576 bcopy((void *)saved_cmdline, (void *)(start_addr_va + offs), in fastboot_build_mbi()