Lines Matching refs:loc
143 void *loc;
154 loc = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr
162 DEBUGP("type %d st_value %Lx r_addend %Lx loc %Lx\n",
164 sym->st_value, rel[i].r_addend, (u64)loc);
186 val -= (u64)loc;
190 val -= (u64)loc;
200 if (memcmp(loc, &zero, size)) {
201 pr_err("x86/modules: Invalid relocation target, existing value is nonzero for type %d, loc %p, val %Lx\n",
202 (int)ELF64_R_TYPE(rel[i].r_info), loc, val);
205 write(loc, &val, size);
207 if (memcmp(loc, &val, size)) {
208 pr_warn("x86/modules: Invalid relocation target, existing value does not match expected value for type %d, loc %p, val %Lx\n",
209 (int)ELF64_R_TYPE(rel[i].r_info), loc, val);
212 write(loc, &zero, size);