Lines Matching refs:offset
65 *off = reloc->sym->offset + reloc_addend(reloc); in reloc_to_sec_off()
73 unsigned long offset; in get_alt_entry() local
75 offset = idx * entry->size; in get_alt_entry()
81 alt->orig_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
83 alt->new_len = *(unsigned char *)(sec->data->d_buf + offset + in get_alt_entry()
87 orig_reloc = find_reloc_by_dest(elf, sec, offset + entry->orig); in get_alt_entry()
89 ERROR_FUNC(sec, offset + entry->orig, "can't find orig reloc"); in get_alt_entry()
98 new_reloc = find_reloc_by_dest(elf, sec, offset + entry->new); in get_alt_entry()
100 ERROR_FUNC(sec, offset + entry->new, "can't find new reloc"); in get_alt_entry()
114 key_reloc = find_reloc_by_dest(elf, sec, offset + entry->key); in get_alt_entry()
116 ERROR_FUNC(sec, offset + entry->key, "can't find key reloc"); in get_alt_entry()