Lines Matching refs:new_offset
51 off_t new_offset = 0; in ctf_write_elf() local
153 new_offset = (off_t)dehdr.e_phoff; in ctf_write_elf()
184 pad = new_offset % shdr.sh_addralign; in ctf_write_elf()
187 new_offset += shdr.sh_addralign - pad; in ctf_write_elf()
188 shdr.sh_offset = new_offset; in ctf_write_elf()
274 new_offset = (off_t)shdr.sh_offset; in ctf_write_elf()
276 new_offset += shdr.sh_size; in ctf_write_elf()
299 pad = new_offset % shdr.sh_addralign; in ctf_write_elf()
302 new_offset += shdr.sh_addralign - pad; in ctf_write_elf()
304 shdr.sh_offset = new_offset; in ctf_write_elf()
305 new_offset += shdr.sh_size; in ctf_write_elf()
341 size_t r = new_offset % align; in ctf_write_elf()
344 new_offset += align - r; in ctf_write_elf()
346 dehdr.e_shoff = new_offset; in ctf_write_elf()