| /linux/arch/mips/boot/tools/ |
| H A D | Makefile | 3 hostprogs += relocs 4 relocs-objs += relocs_32.o 5 relocs-objs += relocs_64.o 6 relocs-objs += relocs_main.o 7 PHONY += relocs 8 relocs: $(obj)/relocs target
|
| H A D | relocs.c | 16 struct relocs { struct 22 static struct relocs relocs; argument 443 static void add_reloc(struct relocs *r, uint32_t offset, unsigned type) in add_reloc() 546 add_reloc(&relocs, rel->r_offset, r_type); in do_reloc() 620 for (i = 0; i < relocs.count; i++) in emit_relocs() 621 size += write_reloc(relocs.offset[i], outf); in emit_relocs()
|
| H A D | .gitignore | 2 relocs
|
| /linux/drivers/gpu/drm/etnaviv/ |
| H A D | etnaviv_cmd_parser.c | 17 const struct drm_etnaviv_gem_submit_reloc *relocs; member 93 if (state->num_relocs && state->relocs->submit_offset < buf_offset) { in etnaviv_warn_if_non_sensitive() 97 state->relocs->submit_offset); in etnaviv_warn_if_non_sensitive() 99 state->relocs->submit_offset < buf_offset) { in etnaviv_warn_if_non_sensitive() 100 state->relocs++; in etnaviv_warn_if_non_sensitive() 118 state->relocs->submit_offset == buf_offset) { in etnaviv_validate_load_state() 119 state->relocs++; in etnaviv_validate_load_state() 133 state->relocs->submit_offset - in etnaviv_validate_load_state() 150 struct drm_etnaviv_gem_submit_reloc *relocs, in etnaviv_cmd_validate_one() argument 158 state.relocs = relocs; in etnaviv_cmd_validate_one()
|
| /linux/drivers/scsi/sym53c8xx_2/ |
| H A D | sym_fw.c | 352 int relocs; in sym_fw_bind_script() local 395 relocs = 0; in sym_fw_bind_script() 401 relocs = 1; in sym_fw_bind_script() 407 relocs = 2; in sym_fw_bind_script() 429 relocs = 1; in sym_fw_bind_script() 437 relocs = 0; in sym_fw_bind_script() 447 relocs = 1; in sym_fw_bind_script() 456 relocs = 0; in sym_fw_bind_script() 465 relocs = 0; in sym_fw_bind_script() 467 relocs = 2; in sym_fw_bind_script() [all …]
|
| /linux/arch/x86/realmode/rm/ |
| H A D | Makefile | 10 always-y := realmode.bin realmode.relocs 44 LDFLAGS_realmode.elf := -m elf_i386 --emit-relocs -T 54 $(obj)/realmode.bin: $(obj)/realmode.elf $(obj)/realmode.relocs FORCE 58 cmd_relocs = arch/x86/tools/relocs --realmode $< > $@ 60 targets += realmode.relocs 61 $(obj)/realmode.relocs: $(obj)/realmode.elf FORCE 62 $(call if_changed,relocs)
|
| H A D | .gitignore | 4 realmode.relocs
|
| /linux/arch/mips/kvm/ |
| H A D | entry.c | 238 struct uasm_reloc relocs[2]; in kvm_mips_build_enter_guest() local 240 struct uasm_reloc __maybe_unused *r = relocs; in kvm_mips_build_enter_guest() 243 memset(relocs, 0, sizeof(relocs)); in kvm_mips_build_enter_guest() 366 uasm_resolve_relocs(relocs, labels); in kvm_mips_build_enter_guest() 384 struct uasm_reloc relocs[2]; in kvm_mips_build_tlb_refill_exception() local 387 struct uasm_reloc *r = relocs; in kvm_mips_build_tlb_refill_exception() 391 memset(relocs, 0, sizeof(relocs)); in kvm_mips_build_tlb_refill_exception() 472 struct uasm_reloc relocs[2]; in kvm_mips_build_exception() local 474 struct uasm_reloc *r = relocs; in kvm_mips_build_exception() 477 memset(relocs, 0, sizeof(relocs)); in kvm_mips_build_exception() [all …]
|
| /linux/arch/s390/tools/ |
| H A D | Makefile | 29 hostprogs += relocs 30 PHONY += relocs 31 relocs: $(obj)/relocs target
|
| H A D | .gitignore | 4 relocs
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_cs.c | 96 p->relocs = kvzalloc_objs(struct radeon_bo_list, p->nrelocs); in radeon_cs_parser_relocs() 97 if (p->relocs == NULL) { in radeon_cs_parser_relocs() 115 p->relocs[i].robj = gem_to_radeon_bo(gobj); in radeon_cs_parser_relocs() 137 p->relocs[i].preferred_domains = in radeon_cs_parser_relocs() 140 p->relocs[i].allowed_domains = in radeon_cs_parser_relocs() 155 p->relocs[i].preferred_domains = domain; in radeon_cs_parser_relocs() 158 p->relocs[i].allowed_domains = domain; in radeon_cs_parser_relocs() 161 if (radeon_ttm_tt_has_userptr(p->rdev, p->relocs[i].robj->tbo.ttm)) { in radeon_cs_parser_relocs() 162 uint32_t domain = p->relocs[i].preferred_domains; in radeon_cs_parser_relocs() 170 p->relocs[i].preferred_domains = domain; in radeon_cs_parser_relocs() [all …]
|
| /linux/scripts/ |
| H A D | tools-support-relr.sh | 12 if ! $LD $tmp_file.o -shared -Bsymbolic --pack-dyn-relocs=relr -o $tmp_file 2>/dev/null; then 13 $LD $tmp_file.o -shared -Bsymbolic -z pack-relative-relocs -o $tmp_file 2>&1 | 14 grep -q pack-relative-relocs && exit 1
|
| /linux/arch/mips/mm/ |
| H A D | tlbex.c | 299 static struct uasm_reloc relocs[128]; variable 1248 struct uasm_reloc *r = relocs; in build_r4000_tlb_refill_handler() 1256 memset(relocs, 0, sizeof(relocs)); in build_r4000_tlb_refill_handler() 1334 uasm_copy_handler(relocs, labels, tlb_handler, p, f); in build_r4000_tlb_refill_handler() 1340 && uasm_insn_has_bdelay(relocs, in build_r4000_tlb_refill_handler() 1349 uasm_copy_handler(relocs, labels, tlb_handler, p, f); in build_r4000_tlb_refill_handler() 1386 if (uasm_insn_has_bdelay(relocs, split - 1)) in build_r4000_tlb_refill_handler() 1390 uasm_copy_handler(relocs, labels, tlb_handler, split, f); in build_r4000_tlb_refill_handler() 1397 if (uasm_insn_has_bdelay(relocs, split)) in build_r4000_tlb_refill_handler() 1400 uasm_copy_handler(relocs, labels, in build_r4000_tlb_refill_handler() [all …]
|
| H A D | page.c | 55 static struct uasm_reloc relocs[5]; variable 269 struct uasm_reloc *r = relocs; in build_clear_page() 278 memset(relocs, 0, sizeof(relocs)); in build_clear_page() 345 uasm_resolve_relocs(relocs, labels); in build_clear_page() 418 struct uasm_reloc *r = relocs; in build_copy_page() 427 memset(relocs, 0, sizeof(relocs)); in build_copy_page() 591 uasm_resolve_relocs(relocs, labels); in build_copy_page()
|
| /linux/arch/x86/boot/compressed/ |
| H A D | .gitignore | 2 relocs 4 vmlinux.relocs
|
| H A D | Makefile | 123 targets += $(patsubst $(obj)/%,%,$(vmlinux-objs-y)) vmlinux.bin.all vmlinux.relocs 125 CMD_RELOCS = arch/x86/tools/relocs 127 cmd_relocs = $(CMD_RELOCS) $< > $@;$(CMD_RELOCS) --abs-relocs $< 129 $(obj)/vmlinux.relocs: vmlinux.unstripped FORCE 130 $(call if_changed,relocs) 133 vmlinux.bin.all-$(CONFIG_X86_NEED_RELOCS) += $(obj)/vmlinux.relocs
|
| /linux/arch/powerpc/kernel/ |
| H A D | module_64.c | 212 unsigned long relocs = 0; in get_stubs_size() local 232 relocs += count_relocs((void *)sechdrs[i].sh_addr, in get_stubs_size() 237 relocs += count_relocs((void *)sechdrs[i].sh_addr, in get_stubs_size() 246 relocs += IS_ENABLED(CONFIG_DYNAMIC_FTRACE) + IS_ENABLED(CONFIG_DYNAMIC_FTRACE_WITH_REGS); in get_stubs_size() 254 relocs += roundup(me->arch.ool_stub_count * sizeof(struct ftrace_ool_stub), in get_stubs_size() 262 pr_debug("Looks like a total of %lu stubs, max\n", relocs); in get_stubs_size() 263 return relocs * sizeof(struct ppc64_stub_entry); in get_stubs_size() 302 unsigned long relocs = 1; in get_got_size() local 330 relocs += count_relocs((void *)sechdrs[i].sh_addr, in get_got_size() 342 relocs += count_pcpu_relocs(sechdrs, in get_got_size() [all …]
|
| /linux/tools/objtool/ |
| H A D | elf.c | 631 * "klp diff" renames the placeholder symbols of KLP relocs to in read_symbols() 758 * @sym's idx has changed. Update the relocs which reference it. in mark_group_syms() 764 for (reloc = sym->relocs; reloc; reloc = sym_next_reloc(reloc)) 1053 ERROR("%s: bad reloc_idx %u for %s with %d relocs", in elf_init_reloc() 1058 reloc = &rsec->relocs[reloc_idx]; in elf_init_reloc() 1075 set_sym_next_reloc(reloc, sym->relocs); in elf_init_reloc_text_sym() 1076 sym->relocs = reloc; in elf_init_reloc_text_sym() 1153 rsec->relocs = calloc(sec_num_entries(rsec), sizeof(*reloc)); in read_relocs() 1154 if (!rsec->relocs) { in read_relocs() 1161 reloc = &rsec->relocs[ in read_relocs() [all...] |
| /linux/tools/objtool/include/objtool/ |
| H A D | elf.h | 62 struct reloc *relocs; 102 struct reloc *relocs; 358 return reloc - reloc->sec->relocs; 525 for (reloc = rsec->relocs; reloc; reloc = rsec_next_reloc(rsec, reloc)) 46 struct reloc *relocs; global() member 75 struct reloc *relocs; global() member
|
| /linux/fs/ |
| H A D | binfmt_flat.c | 415 int i, rev, relocs; in load_flat_file() local 431 relocs = ntohl(hdr->reloc_count); in load_flat_file() 434 full_data = data_len + relocs * sizeof(unsigned long); in load_flat_file() 481 if ((text_len | data_len | bss_len | stack_len | relocs | full_data) >> 28) { in load_flat_file() 521 relocs * sizeof(unsigned long)); in load_flat_file() 774 for (i = 0; i < relocs; i++) { in load_flat_file() 824 for (i = 0; i < relocs; i++) { in load_flat_file()
|
| /linux/arch/mips/kernel/ |
| H A D | smp-cps.c | 100 struct uasm_reloc relocs[2]; in mips_cps_build_core_entry() local 102 struct uasm_reloc *r = relocs; in mips_cps_build_core_entry() 105 memset(relocs, 0, sizeof(relocs)); in mips_cps_build_core_entry() 136 uasm_resolve_relocs(relocs, labels); in mips_cps_build_core_entry()
|
| /linux/include/uapi/drm/ |
| H A D | qxl_drm.h | 84 __u64 relocs; /* struct drm_qxl_reloc* */ member
|
| H A D | etnaviv_drm.h | 205 __u64 relocs; /* in, ptr to array of submit_reloc's */ member
|
| /linux/include/linux/ |
| H A D | pe.h | 249 uint16_t relocs; /* relocations */ member 386 uint32_t relocs; /* file pointer to relocation entries */ member
|
| /linux/arch/arm64/ |
| H A D | Makefile | 19 LDFLAGS_vmlinux += -shared -Bsymbolic -z notext --no-apply-dynamic-relocs
|