Searched refs:relocs (Results 1 - 25 of 58) sorted by path

123

/linux-master/include/trace/events/
H A Dhost1x.h131 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/include/uapi/drm/
H A Dqxl_drm.h84 __u64 relocs; /* struct drm_qxl_reloc* */ member in struct:drm_qxl_command
/linux-master/
H A DMakefile1042 # ld.lld before 15 did not support -z pack-relative-relocs.
1043 LDFLAGS_vmlinux += $(call ld-option,--pack-dyn-relocs=relr,-z pack-relative-relocs)
/linux-master/arch/arm64/
H A DMakefile16 # Pass --no-apply-dynamic-relocs to restore pre-binutils-2.27 behaviour
17 # for relative relocs, since this leads to better Image compression
20 $(call ld-option, --no-apply-dynamic-relocs)
/linux-master/arch/loongarch/
H A DMakefile66 # GCC may have -mexplicit-relocs off by default if it was built with an old
79 # relocs, for avoiding unnecessary GOT accesses. It is harmless to not have
82 cflags-y += $(call cc-option,-mexplicit-relocs)
88 cflags-y += $(call cc-option,-mno-explicit-relocs)
110 LDFLAGS_vmlinux += -static -pie --no-dynamic-linker -z notext $(call ld-option, --apply-dynamic-relocs)
/linux-master/arch/mips/
H A DMakefile19 $(Q)$(MAKE) $(build)=arch/mips/boot/tools relocs
104 LDFLAGS_vmlinux += --emit-relocs
H A DMakefile.postlink19 CMD_RELOCS = arch/mips/boot/tools/relocs
31 $(call if_changed,relocs)
/linux-master/arch/mips/boot/tools/
H A DMakefile3 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 Drelocs.c16 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/mips/kernel/
H A Dpm-cps.c69 /* 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);
H A Dsmp-cps.c56 struct uasm_reloc relocs[2]; local
58 struct uasm_reloc *r = relocs;
61 memset(relocs, 0, sizeof(relocs));
92 uasm_resolve_relocs(relocs, labels);
/linux-master/arch/mips/kvm/
H A Dentry.c238 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 Dpage.c55 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);
H A Dtlbex.c297 /* 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...]
/linux-master/arch/mips/vdso/
H A DMakefile34 -mrelax-pic-calls $(call cc-option, -mexplicit-relocs) \
/linux-master/arch/powerpc/kernel/
H A Dmodule_64.c171 /* 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/riscv/
H A DMakefile11 LDFLAGS_vmlinux += -shared -Bsymbolic -z notext --emit-relocs
H A DMakefile.postlink19 quiet_cmd_cp_vmlinux_relocs = CPREL vmlinux.relocs
20 cmd_cp_vmlinux_relocs = cp vmlinux vmlinux.relocs
/linux-master/arch/riscv/boot/
H A DMakefile38 vmlinux.relocs: vmlinux
39 @ (! [ -f vmlinux.relocs ] && echo "vmlinux.relocs can't be found, please remove vmlinux and try again") || true
41 $(obj)/Image: vmlinux.relocs FORCE
/linux-master/arch/s390/
H A DMakefile22 LDFLAGS_vmlinux := --emit-relocs --discard-none
23 extra_tools := relocs
/linux-master/arch/s390/boot/
H A DMakefile41 obj-y += $(if $(CONFIG_PIE_BUILD),machine_kexec_reloc.o,relocs.o)
53 targets += relocs.S
114 CMD_RELOCS=arch/s390/tools/relocs
117 $(obj)/relocs.S: vmlinux FORCE
118 $(call if_changed,relocs)
H A Dvmlinux.lds.S118 * executed in-place. However, the size of .vmlinux.relocs could be
120 * address 0x100000. To address this issue, .vmlinux.relocs is
124 .vmlinux.relocs : {
/linux-master/arch/s390/tools/
H A DMakefile29 hostprogs += relocs
30 PHONY += relocs
31 relocs: $(obj)/relocs
H A Drelocs.c45 struct relocs { struct
51 static struct relocs relocs64;
231 die("malloc of %" FMT " bytes for relocs failed\n", sec->shdr.sh_size);
251 static void add_reloc(struct relocs *r, uint32_t offset)
258 die("realloc of %ld entries for relocs failed\n", newsize);
326 static void sort_relocs(struct relocs *r)
358 die("relocs vmlinux\n");
/linux-master/arch/x86/
H A DMakefile225 LDFLAGS_vmlinux := --emit-relocs --discard-none
241 $(Q)$(MAKE) $(build)=arch/x86/tools relocs

Completed in 275 milliseconds

123