Lines Matching refs:dofs
110 dof_sec_t *dofs, *s; in prepare_elf32() local
126 dofs = (dof_sec_t *)((char *)dof + dof->dofh_secoff); in prepare_elf32()
133 if (dofs[i].dofs_type != DOF_SECT_URELHDR) in prepare_elf32()
137 dofrh = (dof_relohdr_t *)((char *)dof + dofs[i].dofs_offset); in prepare_elf32()
139 s = &dofs[dofrh->dofr_strtab]; in prepare_elf32()
144 s = &dofs[dofrh->dofr_relsec]; in prepare_elf32()
196 if (dofs[i].dofs_type != DOF_SECT_URELHDR) in prepare_elf32()
200 dofrh = (dof_relohdr_t *)((char *)dof + dofs[i].dofs_offset); in prepare_elf32()
202 s = &dofs[dofrh->dofr_strtab]; in prepare_elf32()
208 s = &dofs[dofrh->dofr_relsec]; in prepare_elf32()
213 s = &dofs[dofrh->dofr_tgtsec]; in prepare_elf32()
290 dof_sec_t *dofs, *s; in prepare_elf64() local
302 dofs = (dof_sec_t *)((char *)dof + dof->dofh_secoff); in prepare_elf64()
309 if (dofs[i].dofs_type != DOF_SECT_URELHDR) in prepare_elf64()
313 dofrh = (dof_relohdr_t *)((char *)dof + dofs[i].dofs_offset); in prepare_elf64()
315 s = &dofs[dofrh->dofr_strtab]; in prepare_elf64()
320 s = &dofs[dofrh->dofr_relsec]; in prepare_elf64()
372 if (dofs[i].dofs_type != DOF_SECT_URELHDR) in prepare_elf64()
376 dofrh = (dof_relohdr_t *)((char *)dof + dofs[i].dofs_offset); in prepare_elf64()
378 s = &dofs[dofrh->dofr_strtab]; in prepare_elf64()
384 s = &dofs[dofrh->dofr_relsec]; in prepare_elf64()
389 s = &dofs[dofrh->dofr_tgtsec]; in prepare_elf64()