Lines Matching refs:offs
469 size_t offs = 0; /* offset from the starting address */ in fastboot_build_mbi() local
540 offs += sizeof (multiboot_info_t); in fastboot_build_mbi()
541 mbi->mods_addr = start_addr_pa + offs; in fastboot_build_mbi()
542 mbp = (mb_module_t *)(start_addr_va + offs); in fastboot_build_mbi()
546 offs += sizeof (mb_module_t); in fastboot_build_mbi()
549 (void *)(start_addr_va + offs), mdnsz); in fastboot_build_mbi()
550 mbp->mod_name = start_addr_pa + offs; in fastboot_build_mbi()
556 offs += mdnsz; in fastboot_build_mbi()
557 offs = P2ROUNDUP_TYPED(offs, 16, size_t); in fastboot_build_mbi()
562 mbi->mmap_addr = start_addr_pa + offs; in fastboot_build_mbi()
563 bcopy((void *)(uintptr_t)saved_mmap, (void *)(start_addr_va + offs), in fastboot_build_mbi()
565 offs += saved_mbi.mmap_length; in fastboot_build_mbi()
570 mbi->drives_addr = start_addr_pa + offs; in fastboot_build_mbi()
571 bcopy((void *)(uintptr_t)saved_drives, (void *)(start_addr_va + offs), in fastboot_build_mbi()
573 offs += saved_mbi.drives_length; in fastboot_build_mbi()
579 mbi->cmdline = start_addr_pa + offs; in fastboot_build_mbi()
582 bcopy(mdep, (void *)(start_addr_va + offs), arglen); in fastboot_build_mbi()
584 bcopy((void *)saved_cmdline, (void *)(start_addr_va + offs), in fastboot_build_mbi()