Lines Matching refs:lastaddr
193 vm_offset_t firstaddr, lastaddr; in __elfN() local
197 firstaddr = lastaddr = (vm_offset_t)off; in __elfN()
224 lastaddr = roundup(lastaddr, shdr[i].sh_addralign); in __elfN()
225 shdr[i].sh_addr = (Elf_Addr)lastaddr; in __elfN()
226 lastaddr += shdr[i].sh_size; in __elfN()
238 shdr[i].sh_addr = (Elf_Addr)lastaddr; in __elfN()
239 lastaddr += shdr[i].sh_size; in __elfN()
248 lastaddr = roundup(lastaddr, shdr[ef->symtabindex].sh_addralign); in __elfN()
249 shdr[ef->symtabindex].sh_addr = (Elf_Addr)lastaddr; in __elfN()
250 lastaddr += shdr[ef->symtabindex].sh_size; in __elfN()
259 lastaddr = roundup(lastaddr, shdr[symstrindex].sh_addralign); in __elfN()
260 shdr[symstrindex].sh_addr = (Elf_Addr)lastaddr; in __elfN()
261 lastaddr += shdr[symstrindex].sh_size; in __elfN()
271 lastaddr = roundup(lastaddr, shdr[ef->shstrindex].sh_addralign); in __elfN()
272 shdr[ef->shstrindex].sh_addr = (Elf_Addr)lastaddr; in __elfN()
273 lastaddr += shdr[ef->shstrindex].sh_size; in __elfN()
280 lastaddr = roundup(lastaddr, shdr[i].sh_addralign); in __elfN()
281 shdr[i].sh_addr = (Elf_Addr)lastaddr; in __elfN()
282 lastaddr += shdr[i].sh_size; in __elfN()
288 kern_bzero(firstaddr, lastaddr - firstaddr); in __elfN()
331 ret = lastaddr - firstaddr; in __elfN()