Lines Matching full:rel
96 * @rel: pointer to the relocation table
102 static efi_status_t efi_loader_relocate(const IMAGE_BASE_RELOCATION *rel, in efi_loader_relocate() argument
113 end = (const IMAGE_BASE_RELOCATION *)((const char *)rel + rel_size); in efi_loader_relocate()
114 while (rel < end && rel->SizeOfBlock) { in efi_loader_relocate()
115 const uint16_t *relocs = (const uint16_t *)(rel + 1); in efi_loader_relocate()
116 i = (rel->SizeOfBlock - sizeof(*rel)) / sizeof(uint16_t); in efi_loader_relocate()
119 rel->VirtualAddress; in efi_loader_relocate()
161 rel = (const IMAGE_BASE_RELOCATION *)relocs; in efi_loader_relocate()
226 const IMAGE_BASE_RELOCATION *rel; in efi_load_pe() local
285 rel = efi_reloc + opt->DataDirectory[rel_idx].VirtualAddress; in efi_load_pe()
301 rel = efi_reloc + opt->DataDirectory[rel_idx].VirtualAddress; in efi_load_pe()
320 if (efi_loader_relocate(rel, rel_size, efi_reloc, in efi_load_pe()