Searched refs:relocs (Results 26 - 50 of 58) sorted by relevance

123

/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/scripts/
H A Dsorttable.h275 Elf_Rel *relocs = NULL; local
320 relocs = (void *)ehdr + _r(&s->sh_offset);
425 if (relocs)
426 memset(relocs, 0, relocs_size);
/linux-master/arch/s390/tools/
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/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/tools/objtool/
H A Delf.c575 * @sym's idx has changed. Update the relocs which reference it.
581 for (reloc = sym->relocs; reloc; reloc = reloc->sym_next_reloc)
856 WARN("%s: bad reloc_idx %u for %s with %d relocs",
861 reloc = &rsec->relocs[reloc_idx];
878 reloc->sym_next_reloc = sym->relocs;
879 sym->relocs = reloc;
959 rsec->relocs = calloc(sec_num_entries(rsec), sizeof(*reloc));
960 if (!rsec->relocs) {
965 reloc = &rsec->relocs[i];
977 reloc->sym_next_reloc = sym->relocs;
[all...]
/linux-master/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c113 kfree(submit->cmd[i].relocs);
226 userptr = u64_to_user_ptr(submit_cmd.relocs);
235 submit->cmd[i].relocs = kmalloc(sz, GFP_KERNEL | __GFP_NOWARN);
236 if (!submit->cmd[i].relocs) {
240 ret = copy_from_user(submit->cmd[i].relocs, userptr, sz);
389 uint32_t offset, uint32_t nr_relocs, struct drm_msm_gem_submit_reloc *relocs)
412 struct drm_msm_gem_submit_reloc submit_reloc = relocs[i];
803 SUBMIT_ERROR(submit, "relocs not allowed\n");
809 submit->cmd[i].nr_relocs, submit->cmd[i].relocs);
388 submit_reloc(struct msm_gem_submit *submit, struct drm_gem_object *obj, uint32_t offset, uint32_t nr_relocs, struct drm_msm_gem_submit_reloc *relocs) argument
H A Dmsm_gem.h292 struct drm_msm_gem_submit_reloc *relocs; member in struct:msm_gem_submit::__anon750
/linux-master/arch/s390/
H A DMakefile22 LDFLAGS_vmlinux := --emit-relocs --discard-none
23 extra_tools := relocs
/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);
/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/drivers/gpu/host1x/
H A Djob.c62 job->relocs = num_relocs ? mem : NULL;
153 struct host1x_reloc *reloc = &job->relocs[i];
285 /* pin & patch the relocs for one gather */
287 struct host1x_reloc *reloc = &job->relocs[i];
534 fw.reloc = job->relocs;
591 /* No relocs should remain at this point */
/linux-master/drivers/gpu/drm/etnaviv/
H A Detnaviv_drv.h83 struct drm_etnaviv_gem_submit_reloc *relocs, unsigned int reloc_size);
/linux-master/include/linux/
H A Dpe.h180 uint16_t relocs; /* relocations */ member in struct:mz_hdr
317 uint32_t relocs; /* file pointer to relocation entries */ member in struct:section_header
H A Dhost1x.h280 struct host1x_reloc *relocs; member in struct:host1x_job
/linux-master/arch/x86/
H A DMakefile225 LDFLAGS_vmlinux := --emit-relocs --discard-none
241 $(Q)$(MAKE) $(build)=arch/x86/tools relocs
/linux-master/fs/
H A Dbinfmt_flat.c413 int i, rev, relocs; local
429 relocs = ntohl(hdr->reloc_count);
432 full_data = data_len + relocs * sizeof(unsigned long);
519 relocs * sizeof(unsigned long));
772 for (i = 0; i < relocs; i++) {
798 * Do the relocation. PIC relocs in the data section are
822 for (i = 0; i < relocs; i++) {
/linux-master/include/uapi/drm/
H A Dtegra_drm.h423 * This defines the length of the array pointed to by @relocs.
470 * @relocs:
477 __u64 relocs; member in struct:drm_tegra_submit
H A Dmsm_drm.h220 __u64 relocs; /* in, ptr to array of submit_reloc's */ member in struct:drm_msm_gem_submit_cmd
H A Dnouveau_drm.h174 __u64 relocs; member in struct:drm_nouveau_gem_pushbuf
H A Detnaviv_drm.h205 __u64 relocs; /* in, ptr to array of submit_reloc's */ member in struct:drm_etnaviv_gem_submit
/linux-master/drivers/gpu/drm/nouveau/
H A Dnouveau_gem.c575 int ret, relocs = 0; local
616 relocs++;
620 return relocs;
839 reloc = u_memcpya(req->relocs, req->nr_relocs, sizeof(*reloc));
/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/riscv/
H A DMakefile11 LDFLAGS_vmlinux += -shared -Bsymbolic -z notext --emit-relocs
/linux-master/arch/mips/vdso/
H A DMakefile34 -mrelax-pic-calls $(call cc-option, -mexplicit-relocs) \
/linux-master/drivers/gpu/drm/tegra/
H A Ddrm.c186 user_relocs = u64_to_user_ptr(args->relocs);
273 err = host1x_reloc_copy_from_user(&job->relocs[num_relocs],
279 reloc = &job->relocs[num_relocs];

Completed in 252 milliseconds

123