/linux-master/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
|
H A D | relocs.c | 16 struct relocs { struct 22 static struct relocs relocs; variable in typeref:struct:relocs 374 die("malloc of %d bytes for relocs failed\n", 442 static void add_reloc(struct relocs *r, uint32_t offset, unsigned type) 539 add_reloc(&relocs, rel->r_offset, r_type); 613 for (i = 0; i < relocs.count; i++) 614 size += write_reloc(relocs.offset[i], outf); 616 /* Print a stop, but only if we've actually written some relocs */ 632 * print summary information about the relocs [all...] |
/linux-master/arch/x86/ |
H A D | Makefile.postlink | 6 # 1. Separate relocations from vmlinux into vmlinux.relocs. 15 CMD_RELOCS = arch/x86/tools/relocs 17 quiet_cmd_relocs = RELOCS $(OUT_RELOCS)/$@.relocs 20 $(CMD_RELOCS) $@ > $(OUT_RELOCS)/$@.relocs; \ 21 $(CMD_RELOCS) --abs-relocs $@ 33 $(call cmd,relocs) 38 @rm -f $(OUT_RELOCS)/vmlinux.relocs
|
/linux-master/arch/s390/tools/ |
H A D | Makefile | 29 hostprogs += relocs 30 PHONY += relocs 31 relocs: $(obj)/relocs
|
/linux-master/scripts/ |
H A D | tools-support-relr.sh | 11 # ld.lld before 15 did not support -z pack-relative-relocs. 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-master/arch/mips/ |
H A D | Makefile.postlink | 19 CMD_RELOCS = arch/mips/boot/tools/relocs 31 $(call if_changed,relocs)
|
/linux-master/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)
|
/linux-master/arch/riscv/ |
H A D | Makefile.postlink | 19 quiet_cmd_cp_vmlinux_relocs = CPREL vmlinux.relocs 20 cmd_cp_vmlinux_relocs = cp vmlinux vmlinux.relocs
|
/linux-master/drivers/scsi/sym53c8xx_2/ |
H A D | sym_fw.c | 352 int relocs; local 395 relocs = 0; 401 relocs = 1; 407 relocs = 2; 429 relocs = 1; 437 relocs = 0; 447 relocs = 1; 456 relocs = 0; 465 relocs = 0; 467 relocs [all...] |
/linux-master/arch/x86/tools/ |
H A D | Makefile | 42 hostprogs += relocs 43 relocs-objs := relocs_32.o relocs_64.o relocs_common.o 44 PHONY += relocs 45 relocs: $(obj)/relocs
|
/linux-master/drivers/gpu/drm/etnaviv/ |
H A D | etnaviv_cmd_parser.c | 17 const struct drm_etnaviv_gem_submit_reloc *relocs; member in struct:etna_validation_state 93 if (state->num_relocs && state->relocs->submit_offset < buf_offset) { 97 state->relocs->submit_offset); 99 state->relocs->submit_offset < buf_offset) { 100 state->relocs++; 118 state->relocs->submit_offset == buf_offset) { 119 state->relocs++; 133 state->relocs->submit_offset - 150 struct drm_etnaviv_gem_submit_reloc *relocs, 158 state.relocs 148 etnaviv_cmd_validate_one(struct etnaviv_gpu *gpu, u32 *stream, unsigned int size, struct drm_etnaviv_gem_submit_reloc *relocs, unsigned int reloc_size) argument [all...] |
H A D | etnaviv_gem_submit.c | 260 u32 size, const struct drm_etnaviv_gem_submit_reloc *relocs, 267 /* Submits using softpin don't blend with relocs */ 272 const struct drm_etnaviv_gem_submit_reloc *r = relocs + i; 418 struct drm_etnaviv_gem_submit_reloc *relocs; local 472 relocs = kvmalloc_array(args->nr_relocs, sizeof(*relocs), GFP_KERNEL); 475 if (!bos || !relocs || !pmrs || !stream) { 487 ret = copy_from_user(relocs, u64_to_user_ptr(args->relocs), 488 args->nr_relocs * sizeof(*relocs)); 259 submit_reloc(struct etnaviv_gem_submit *submit, void *stream, u32 size, const struct drm_etnaviv_gem_submit_reloc *relocs, u32 nr_relocs) argument [all...] |
/linux-master/arch/riscv/boot/ |
H A D | Makefile | 36 vmlinux.relocs: vmlinux 37 @ (! [ -f vmlinux.relocs ] && echo "vmlinux.relocs can't be found, please remove vmlinux and try again") || true 39 $(obj)/Image: vmlinux.relocs FORCE
|
/linux-master/include/trace/events/ |
H A D | host1x.h | 131 TP_PROTO(const char *name, u32 cmdbufs, u32 relocs, u32 syncpt_id, 134 TP_ARGS(name, cmdbufs, relocs, syncpt_id, syncpt_incrs), 139 __field(u32, relocs) 147 __entry->relocs = relocs; 152 TP_printk("name=%s, cmdbufs=%u, relocs=%u, syncpt_id=%u, " 154 __entry->name, __entry->cmdbufs, __entry->relocs,
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | radeon_cs.c | 94 /* FIXME: we assume that each relocs use 4 dwords */ 96 p->relocs = kvcalloc(p->nrelocs, sizeof(struct radeon_bo_list), 98 if (p->relocs == NULL) { 116 p->relocs[i].robj = gem_to_radeon_bo(gobj); 138 p->relocs[i].preferred_domains = 141 p->relocs[i].allowed_domains = 156 p->relocs[i].preferred_domains = domain; 159 p->relocs[i].allowed_domains = domain; 162 if (radeon_ttm_tt_has_userptr(p->rdev, p->relocs[i].robj->tbo.ttm)) { 163 uint32_t domain = p->relocs[ [all...] |
/linux-master/arch/mips/kvm/ |
H A D | entry.c | 238 struct uasm_reloc relocs[2]; local 240 struct uasm_reloc __maybe_unused *r = relocs; 243 memset(relocs, 0, sizeof(relocs)); 366 uasm_resolve_relocs(relocs, labels); 384 struct uasm_reloc relocs[2]; local 387 struct uasm_reloc *r = relocs; 391 memset(relocs, 0, sizeof(relocs)); 472 struct uasm_reloc relocs[ local 515 struct uasm_reloc relocs[3]; local 741 struct uasm_reloc relocs[2]; local [all...] |
/linux-master/arch/mips/mm/ |
H A D | tlbex.c | 297 /* simply assume worst case size for labels and relocs */ 299 static struct uasm_reloc relocs[128]; variable in typeref:struct:uasm_reloc 1248 struct uasm_reloc *r = relocs; 1256 memset(relocs, 0, sizeof(relocs)); 1334 uasm_copy_handler(relocs, labels, tlb_handler, p, f); 1340 && uasm_insn_has_bdelay(relocs, 1349 uasm_copy_handler(relocs, labels, tlb_handler, p, f); 1386 if (uasm_insn_has_bdelay(relocs, split - 1)) 1390 uasm_copy_handler(relocs, label [all...] |
H A D | page.c | 55 static struct uasm_reloc relocs[5]; variable in typeref:struct:uasm_reloc 269 struct uasm_reloc *r = relocs; 278 memset(relocs, 0, sizeof(relocs)); 345 uasm_resolve_relocs(relocs, labels); 418 struct uasm_reloc *r = relocs; 427 memset(relocs, 0, sizeof(relocs)); 591 uasm_resolve_relocs(relocs, labels);
|
/linux-master/arch/s390/boot/ |
H A D | Makefile | 40 obj-y += version.o pgm_check_info.o ctype.o ipl_data.o relocs.o 51 targets += relocs.S 110 CMD_RELOCS=arch/s390/tools/relocs 113 $(obj)/relocs.S: vmlinux FORCE 114 $(call if_changed,relocs)
|
H A D | vmlinux.lds.S | 103 .vmlinux.relocs : {
|
/linux-master/include/uapi/drm/ |
H A D | qxl_drm.h | 84 __u64 relocs; /* struct drm_qxl_reloc* */ member in struct:drm_qxl_command
|
/linux-master/tools/objtool/include/objtool/ |
H A D | elf.h | 46 struct reloc *relocs; member in struct:section 72 struct reloc *relocs; member in struct:symbol 201 return reloc - reloc->sec->relocs; 313 for (reloc = rsec->relocs; \
|
/linux-master/arch/powerpc/kernel/ |
H A D | module_64.c | 171 /* Only count r_type relocs, others don't need stubs */ 211 unsigned long relocs = 1; local 231 relocs += count_relocs((void *)sechdrs[i].sh_addr, 236 relocs += count_relocs((void *)sechdrs[i].sh_addr, 246 relocs++; 249 relocs++; 253 pr_debug("Looks like a total of %lu stubs, max\n", relocs); 254 return relocs * sizeof(struct ppc64_stub_entry); 293 unsigned long relocs = 1; local 321 relocs [all...] |
/linux-master/arch/mips/kernel/ |
H A D | pm-cps.c | 69 /* A somewhat arbitrary number of labels & relocs for uasm */ 71 static struct uasm_reloc relocs[32]; variable in typeref:struct:uasm_reloc 339 struct uasm_reloc *r = relocs; 366 /* Clear labels & relocs ready for (re)use */ 368 memset(relocs, 0, sizeof(relocs)); 616 BUG_ON((r - relocs) > ARRAY_SIZE(relocs)); 619 uasm_resolve_relocs(relocs, labels);
|
/linux-master/arch/x86/boot/compressed/ |
H A D | Makefile | 15 # vmlinux.bin + vmlinux.relocs 117 targets += $(patsubst $(obj)/%,%,$(vmlinux-objs-y)) vmlinux.bin.all vmlinux.relocs 119 # vmlinux.relocs is created by the vmlinux postlink step. 120 $(obj)/vmlinux.relocs: vmlinux 124 vmlinux.bin.all-$(CONFIG_X86_NEED_RELOCS) += $(obj)/vmlinux.relocs
|