Searched refs:relocs (Results 1 - 25 of 58) sorted by last modified time

123

/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/include/uapi/drm/
H A Detnaviv_drm.h205 __u64 relocs; /* in, ptr to array of submit_reloc's */ member in struct:drm_etnaviv_gem_submit
H A Dnouveau_drm.h174 __u64 relocs; member in struct:drm_nouveau_gem_pushbuf
/linux-master/arch/riscv/
H A DMakefile11 LDFLAGS_vmlinux += -shared -Bsymbolic -z notext --emit-relocs
/linux-master/arch/x86/
H A DMakefile225 LDFLAGS_vmlinux := --emit-relocs --discard-none
241 $(Q)$(MAKE) $(build)=arch/x86/tools relocs
/linux-master/drivers/gpu/drm/qxl/
H A Dqxl_ioctl.c205 struct drm_qxl_reloc __user *u = u64_to_user_ptr(cmd->relocs);
213 need to validate first then process relocs? */
/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/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/s390/
H A DMakefile22 LDFLAGS_vmlinux := --emit-relocs --discard-none
23 extra_tools := relocs
/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/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/kernel/
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);
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/mips/
H A DMakefile19 $(Q)$(MAKE) $(build)=arch/mips/boot/tools relocs
104 LDFLAGS_vmlinux += --emit-relocs
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_uvd.c580 reloc = &p->relocs[(idx / 4)];
H A Dradeon.h1030 struct radeon_bo_list *relocs; member in struct:radeon_cs_parser
/linux-master/drivers/gpu/drm/i915/gem/
H A Di915_gem_execbuffer.c279 struct list_head relocs; member in struct:i915_execbuffer
584 list_add_tail(&ev->reloc_link, &eb->relocs);
948 INIT_LIST_HEAD(&eb->relocs);
1615 struct drm_i915_gem_relocation_entry *relocs = local
1616 u64_to_ptr(typeof(*relocs), entry->relocs_ptr);
1621 u64 offset = eb_relocate_entry(eb, ev, &relocs[i]);
1663 struct drm_i915_gem_relocation_entry *relocs; local
1682 size = nreloc * sizeof(*relocs);
1684 relocs = kvmalloc_array(1, size, GFP_KERNEL);
1685 if (!relocs) {
1893 struct drm_i915_gem_relocation_entry *relocs; local
[all...]
/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...]
/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
/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/x86/tools/
H A Drelocs.c22 struct relocs { struct
28 static struct relocs relocs16;
29 static struct relocs relocs32;
31 static struct relocs relocs32neg;
32 static struct relocs relocs64;
568 die("malloc of %" FMT " bytes for relocs failed\n",
714 static void add_reloc(struct relocs *r, uint32_t offset)
721 die("realloc of %ld entries for relocs failed\n",
1053 static void sort_relocs(struct relocs *r)
1151 * print summary information about the relocs
[all...]
/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/s390/boot/
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 : {

Completed in 294 milliseconds

123