/linux-master/arch/loongarch/ |
H A D | Makefile | 66 # 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 D | sorttable.h | 275 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 D | relocs.c | 45 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 D | i915_gem_execbuffer.c | 279 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 D | elf.c | 575 * @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 D | msm_gem_submit.c | 113 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 D | msm_gem.h | 292 struct drm_msm_gem_submit_reloc *relocs; member in struct:msm_gem_submit::__anon750
|
/linux-master/arch/s390/ |
H A D | Makefile | 22 LDFLAGS_vmlinux := --emit-relocs --discard-none 23 extra_tools := relocs
|
/linux-master/arch/mips/kernel/ |
H A D | smp-cps.c | 56 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 D | relocs.c | 22 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 D | job.c | 62 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 D | etnaviv_drv.h | 83 struct drm_etnaviv_gem_submit_reloc *relocs, unsigned int reloc_size);
|
/linux-master/include/linux/ |
H A D | pe.h | 180 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 D | host1x.h | 280 struct host1x_reloc *relocs; member in struct:host1x_job
|
/linux-master/arch/x86/ |
H A D | Makefile | 225 LDFLAGS_vmlinux := --emit-relocs --discard-none 241 $(Q)$(MAKE) $(build)=arch/x86/tools relocs
|
/linux-master/fs/ |
H A D | binfmt_flat.c | 413 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 D | tegra_drm.h | 423 * This defines the length of the array pointed to by @relocs. 470 * @relocs: 477 __u64 relocs; member in struct:drm_tegra_submit
|
H A D | msm_drm.h | 220 __u64 relocs; /* in, ptr to array of submit_reloc's */ member in struct:drm_msm_gem_submit_cmd
|
H A D | nouveau_drm.h | 174 __u64 relocs; member in struct:drm_nouveau_gem_pushbuf
|
H A D | etnaviv_drm.h | 205 __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 D | nouveau_gem.c | 575 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 D | Makefile | 16 # 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 D | Makefile | 11 LDFLAGS_vmlinux += -shared -Bsymbolic -z notext --emit-relocs
|
/linux-master/arch/mips/vdso/ |
H A D | Makefile | 34 -mrelax-pic-calls $(call cc-option, -mexplicit-relocs) \
|
/linux-master/drivers/gpu/drm/tegra/ |
H A D | drm.c | 186 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];
|