Home
last modified time | relevance | path

Searched refs:relocs (Results 26 – 50 of 75) sorted by relevance

123

/openbmc/linux/arch/mips/boot/tools/
H A Drelocs.c16 struct relocs { struct
22 static struct relocs relocs; argument
442 static void add_reloc(struct relocs *r, uint32_t offset, unsigned type) in add_reloc()
539 add_reloc(&relocs, rel->r_offset, r_type); in do_reloc()
613 for (i = 0; i < relocs.count; i++) in emit_relocs()
614 size += write_reloc(relocs.offset[i], outf); in emit_relocs()
H A D.gitignore2 relocs
/openbmc/linux/tools/objtool/include/objtool/
H A Delf.h46 struct reloc *relocs; member
71 struct reloc *relocs; member
200 return reloc - reloc->sec->relocs; in reloc_idx()
312 for (reloc = rsec->relocs; \
/openbmc/linux/arch/x86/tools/
H A D.gitignore2 relocs
H A Drelocs.c22 struct relocs { struct
28 static struct relocs relocs16; argument
29 static struct relocs relocs32;
31 static struct relocs relocs32neg;
32 static struct relocs relocs64;
714 static void add_reloc(struct relocs *r, uint32_t offset) in add_reloc()
1062 static void sort_relocs(struct relocs *r) in sort_relocs()
/openbmc/linux/arch/x86/realmode/rm/
H A D.gitignore4 realmode.relocs
/openbmc/linux/tools/objtool/
H A Delf.c583 for (reloc = sym->relocs; reloc; reloc = reloc->sym_next_reloc) in elf_update_sym_relocs()
863 reloc = &rsec->relocs[reloc_idx]; in elf_init_reloc()
880 reloc->sym_next_reloc = sym->relocs; in elf_init_reloc()
881 sym->relocs = reloc; in elf_init_reloc()
961 rsec->relocs = calloc(sec_num_entries(rsec), sizeof(*reloc)); in read_relocs()
962 if (!rsec->relocs) { in read_relocs()
967 reloc = &rsec->relocs[i]; in read_relocs()
979 reloc->sym_next_reloc = sym->relocs; in read_relocs()
980 sym->relocs = reloc; in read_relocs()
1197 rsec->relocs = calloc(sec_num_entries(rsec), sizeof(struct reloc)); in elf_create_rela_section()
[all …]
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_gem_submit.c107 kfree(submit->cmd[i].relocs); in __msm_gem_submit_destroy()
222 userptr = u64_to_user_ptr(submit_cmd.relocs); in submit_lookup_cmds()
231 submit->cmd[i].relocs = kmalloc(sz, GFP_KERNEL); in submit_lookup_cmds()
232 if (!submit->cmd[i].relocs) { in submit_lookup_cmds()
236 ret = copy_from_user(submit->cmd[i].relocs, userptr, sz); in submit_lookup_cmds()
468 uint32_t offset, uint32_t nr_relocs, struct drm_msm_gem_submit_reloc *relocs) in submit_reloc() argument
494 struct drm_msm_gem_submit_reloc submit_reloc = relocs[i]; in submit_reloc()
905 submit->cmd[i].nr_relocs, submit->cmd[i].relocs); in msm_ioctl_gem_submit()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_execbuffer.c276 struct list_head relocs; member
581 list_add_tail(&ev->reloc_link, &eb->relocs); in eb_add_vma()
945 INIT_LIST_HEAD(&eb->relocs); in eb_lookup_vmas()
1679 size = nreloc * sizeof(*relocs); in eb_copy_relocations()
1682 if (!relocs) { in eb_copy_relocations()
1720 eb->exec[i].relocs_ptr = (uintptr_t)relocs; in eb_copy_relocations()
1728 kvfree(relocs); in eb_copy_relocations()
1732 relocs = u64_to_ptr(typeof(*relocs), eb->exec[i].relocs_ptr); in eb_copy_relocations()
1734 kvfree(relocs); in eb_copy_relocations()
1895 relocs = u64_to_ptr(typeof(*relocs), entry->relocs_ptr); in eb_relocate_parse_slow()
[all …]
/openbmc/linux/scripts/
H A Dsorttable.h275 Elf_Rel *relocs = NULL; in do_sort() local
320 relocs = (void *)ehdr + _r(&s->sh_offset); in do_sort()
425 if (relocs) in do_sort()
426 memset(relocs, 0, relocs_size); in do_sort()
/openbmc/linux/arch/x86/boot/compressed/
H A DMakefile128 targets += $(patsubst $(obj)/%,%,$(vmlinux-objs-y)) vmlinux.bin.all vmlinux.relocs
131 $(obj)/vmlinux.relocs: vmlinux
135 vmlinux.bin.all-$(CONFIG_X86_NEED_RELOCS) += $(obj)/vmlinux.relocs
/openbmc/u-boot/tools/
H A D.gitignore20 /mips-relocs
/openbmc/openbmc/meta-arm/meta-arm/recipes-bsp/uefi/sbsa-acs/
H A D0002-Enforce-using-good-old-BFD-linker.patch30 …DEFINE GCC_ARM_AARCH64_DLINK_COMMON= -Wl,--emit-relocs -nostdlib -Wl,--gc-sections -u $(IMAGE_ENTR…
31 …DEFINE GCC_LOONGARCH64_DLINK_COMMON= -Wl,--emit-relocs -nostdlib -Wl,--gc-sections -u $(IMAGE_ENTR…
/openbmc/linux/fs/
H A Dbinfmt_flat.c413 int i, rev, relocs; in load_flat_file() local
429 relocs = ntohl(hdr->reloc_count); in load_flat_file()
432 full_data = data_len + relocs * sizeof(unsigned long); in load_flat_file()
519 relocs * sizeof(unsigned long)); in load_flat_file()
772 for (i = 0; i < relocs; i++) { in load_flat_file()
822 for (i = 0; i < relocs; i++) { in load_flat_file()
/openbmc/u-boot/arch/mips/
H A Dconfig.mk61 LDFLAGS_FINAL += --emit-relocs
/openbmc/linux/drivers/gpu/host1x/
H A Djob.c62 job->relocs = num_relocs ? mem : NULL; in host1x_job_alloc()
153 struct host1x_reloc *reloc = &job->relocs[i]; in pin_job()
287 struct host1x_reloc *reloc = &job->relocs[i]; in do_relocs()
534 fw.reloc = job->relocs; in copy_gathers()
/openbmc/linux/include/uapi/drm/
H A Dqxl_drm.h84 __u64 relocs; /* struct drm_qxl_reloc* */ member
H A Detnaviv_drm.h205 __u64 relocs; /* in, ptr to array of submit_reloc's */ member
H A Dmsm_drm.h217 __u64 relocs; /* in, ptr to array of submit_reloc's */ member
/openbmc/linux/include/linux/
H A Dpe.h180 uint16_t relocs; /* relocations */ member
317 uint32_t relocs; /* file pointer to relocation entries */ member
/openbmc/linux/drivers/gpu/drm/etnaviv/
H A Detnaviv_drv.h83 struct drm_etnaviv_gem_submit_reloc *relocs, unsigned int reloc_size);
/openbmc/linux/arch/x86/
H A DMakefile226 LDFLAGS_vmlinux := --emit-relocs --discard-none
242 $(Q)$(MAKE) $(build)=arch/x86/tools relocs
/openbmc/u-boot/arch/x86/
H A Dconfig.mk74 PLATFORM_LDFLAGS += --emit-relocs
/openbmc/openbmc/poky/meta/recipes-bsp/gnu-efi/
H A Dgnu-efi_3.0.17.bb19 file://0001-riscv64-ignore-unknown-relocs.patch \
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_gem.c569 int ret, relocs = 0; in validate_list() local
610 relocs++; in validate_list()
614 return relocs; in validate_list()
833 reloc = u_memcpya(req->relocs, req->nr_relocs, sizeof(*reloc)); in nouveau_gem_ioctl_pushbuf()

123