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

123

/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/x86/
H A DMakefile.postlink6 # 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 DMakefile29 hostprogs += relocs
30 PHONY += relocs
31 relocs: $(obj)/relocs
/linux-master/scripts/
H A Dtools-support-relr.sh11 # 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 DMakefile.postlink19 CMD_RELOCS = arch/mips/boot/tools/relocs
31 $(call if_changed,relocs)
/linux-master/arch/x86/realmode/rm/
H A DMakefile19 always-y := realmode.bin realmode.relocs
53 LDFLAGS_realmode.elf := -m elf_i386 --emit-relocs -T
63 $(obj)/realmode.bin: $(obj)/realmode.elf $(obj)/realmode.relocs FORCE
67 cmd_relocs = arch/x86/tools/relocs --realmode $< > $@
69 targets += realmode.relocs
70 $(obj)/realmode.relocs: $(obj)/realmode.elf FORCE
71 $(call if_changed,relocs)
/linux-master/arch/riscv/
H A DMakefile.postlink19 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 Dsym_fw.c352 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 DMakefile42 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 Detnaviv_cmd_parser.c17 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 Detnaviv_gem_submit.c260 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 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/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/drivers/gpu/drm/radeon/
H A Dradeon_cs.c94 /* 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 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 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...]
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);
/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/include/uapi/drm/
H A Dqxl_drm.h84 __u64 relocs; /* struct drm_qxl_reloc* */ member in struct:drm_qxl_command
/linux-master/tools/objtool/include/objtool/
H A Delf.h46 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 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/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);
/linux-master/arch/x86/boot/compressed/
H A DMakefile15 # vmlinux.bin + vmlinux.relocs
128 targets += $(patsubst $(obj)/%,%,$(vmlinux-objs-y)) vmlinux.bin.all vmlinux.relocs
130 # vmlinux.relocs is created by the vmlinux postlink step.
131 $(obj)/vmlinux.relocs: vmlinux
135 vmlinux.bin.all-$(CONFIG_X86_NEED_RELOCS) += $(obj)/vmlinux.relocs

Completed in 279 milliseconds

123