Lines Matching refs:loadaddr
78 static vm_offset_t loadaddr = 0; variable
209 loadaddr = 0; in unload()
498 loadaddr = archsw.arch_loadaddr(LOAD_MEM, &size, loadaddr); in build_environment_module()
500 if (loadaddr == 0) { in build_environment_module()
507 laddr = bi_copyenv(loadaddr); in build_environment_module()
509 module_hash(fp, PTOV(loadaddr), laddr - loadaddr); in build_environment_module()
511 fp->f_addr = loadaddr; in build_environment_module()
512 fp->f_size = laddr - loadaddr; in build_environment_module()
515 loadaddr = laddr; in build_environment_module()
600 loadaddr = archsw.arch_loadaddr(LOAD_MEM, &size, loadaddr); in build_font_module()
602 if (loadaddr == 0) { in build_font_module()
609 laddr = loadaddr; in build_font_module()
626 module_hash(fp, PTOV(loadaddr), laddr - loadaddr); in build_font_module()
628 fp->f_addr = loadaddr; in build_font_module()
629 fp->f_size = laddr - loadaddr; in build_font_module()
632 loadaddr = laddr; in build_font_module()
679 loadaddr = archsw.arch_loadaddr(LOAD_RAW, name, loadaddr); in file_loadraw()
680 if (loadaddr == 0) { in file_loadraw()
688 got = archsw.arch_readin(fd, loadaddr, st.st_size); in file_loadraw()
695 archsw.arch_free_loadaddr(loadaddr, in file_loadraw()
705 archsw.arch_free_loadaddr(loadaddr, in file_loadraw()
719 fp->f_addr = loadaddr; in file_loadraw()
731 loadaddr += st.st_size; in file_loadraw()
811 err = file_load(filename, loadaddr, &fp); in mod_loadkld()
815 loadaddr_saved = loadaddr; in mod_loadkld()
816 loadaddr = fp->f_addr + fp->f_size; in mod_loadkld()
821 loadaddr = loadaddr_saved; in mod_loadkld()