Home
last modified time | relevance | path

Searched refs:relocs (Results 1 – 25 of 283) sorted by relevance

12345678910>>...12

/external/mesa3d/src/intel/vulkan/
Danv_batch_chain.c68 list->relocs = in anv_reloc_list_init_clone()
69 vk_alloc(alloc, list->array_length * sizeof(*list->relocs), 8, in anv_reloc_list_init_clone()
71 if (list->relocs == NULL) in anv_reloc_list_init_clone()
78 vk_free(alloc, list->relocs); in anv_reloc_list_init_clone()
82 memcpy(list->relocs, other_list->relocs, in anv_reloc_list_init_clone()
83 list->array_length * sizeof(*list->relocs)); in anv_reloc_list_init_clone()
87 list->relocs = NULL; in anv_reloc_list_init_clone()
110 vk_free(alloc, list->relocs); in anv_reloc_list_finish()
128 vk_realloc(alloc, list->relocs, in anv_reloc_list_grow()
129 new_length * sizeof(*list->relocs), 8, in anv_reloc_list_grow()
[all …]
/external/llvm/test/tools/llvm-readobj/Inputs/
Drelocs.py175 def patch(self, f, relocs): argument
177 self.patchRelocs(f, relocs)
179 def patchRelocs(self, f, relocs): argument
186 if index < len(relocs):
195 f.writeUInt8(relocs[ri][1])
196 f.writeUInt8(relocs[ri][1])
197 f.writeUInt8(relocs[ri][1])
202 r_type = relocs[ri][1]
208 print(" %s" % relocs[ri][0])
242 def craftElf(filename, triple, relocs, dummyReloc): argument
[all …]
/external/llvm-project/lld/lib/ReaderWriter/MachO/
DArchHandler_x86_64.cpp182 normalized::Relocations &relocs) override;
771 normalized::Relocations &relocs) { in appendSectionRelocations() argument
781 appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
785 appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
789 appendReloc(relocs, sectionOffset, sectionIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
793 appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
797 appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
801 appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
806 appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
810 appendReloc(relocs, sectionOffset, sectionIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
[all …]
DArchHandler_arm.cpp1188 normalized::Relocations &relocs) { in appendSectionRelocations() argument
1206 appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
1210 appendReloc(relocs, sectionOffset, 0, addressForAtom(*ref.target()), in appendSectionRelocations()
1213 appendReloc(relocs, sectionOffset, sectionIndexForAtom(*ref.target()),0, in appendSectionRelocations()
1220 appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
1222 appendReloc(relocs, other16, 0, 0, in appendSectionRelocations()
1228 appendReloc(relocs, sectionOffset, 0, targetAtomAddress, in appendSectionRelocations()
1230 appendReloc(relocs, other16, 0, 0, in appendSectionRelocations()
1234 appendReloc(relocs, sectionOffset, sectionIndexForAtom(*ref.target()),0, in appendSectionRelocations()
1236 appendReloc(relocs, other16, 0, 0, in appendSectionRelocations()
[all …]
DArchHandler_arm64.cpp174 normalized::Relocations &relocs) override;
778 FindAddressForAtom addressForAtom, normalized::Relocations &relocs) { in appendSectionRelocations() argument
786 appendReloc(relocs, sectionOffset, ref.addend(), 0, in appendSectionRelocations()
788 appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
791 appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
797 appendReloc(relocs, sectionOffset, ref.addend(), 0, in appendSectionRelocations()
799 appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
802 appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
812 appendReloc(relocs, sectionOffset, ref.addend(), 0, in appendSectionRelocations()
814 appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
[all …]
DArchHandler_x86.cpp121 normalized::Relocations &relocs) override;
558 normalized::Relocations &relocs) { in appendSectionRelocations() argument
570 appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
574 appendReloc(relocs, sectionOffset, 0, addressForAtom(*ref.target()), in appendSectionRelocations()
577 appendReloc(relocs, sectionOffset, sectionIndexForAtom(*ref.target()),0, in appendSectionRelocations()
583 appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
587 appendReloc(relocs, sectionOffset, 0, addressForAtom(*ref.target()), in appendSectionRelocations()
590 appendReloc(relocs, sectionOffset, sectionIndexForAtom(*ref.target()),0, in appendSectionRelocations()
597 appendReloc(relocs, sectionOffset, symbolIndexForAtom(*ref.target()), 0, in appendSectionRelocations()
601 appendReloc(relocs, sectionOffset, 0, addressForAtom(*ref.target()), in appendSectionRelocations()
[all …]
/external/libdrm/freedreno/msm/
Dmsm_ringbuffer.c46 DECLARE_ARRAY(struct drm_msm_gem_submit_reloc, relocs);
132 free(cmd->relocs); in ring_cmd_del()
405 struct drm_msm_gem_submit_reloc *relocs = U642VOID(cmd->relocs); in dump_submit() local
409 struct drm_msm_gem_submit_reloc *r = &relocs[j]; in dump_submit()
422 struct drm_msm_gem_submit_reloc *relocs = malloc(nr_relocs * sizeof(*relocs)); in handle_stateobj_relocs() local
435 relocs[i] = orig_relocs[i]; in handle_stateobj_relocs()
436 relocs[i].reloc_idx = bo2idx(parent, bo, flags); in handle_stateobj_relocs()
457 return relocs; in handle_stateobj_relocs()
488 struct drm_msm_gem_submit_reloc *relocs = msm_cmd->relocs; in msm_ringbuffer_flush() local
499 relocs = handle_stateobj_relocs(ring, msm_cmd->ring, in msm_ringbuffer_flush()
[all …]
/external/mesa3d/src/freedreno/drm/
Dmsm_ringbuffer.c78 DECLARE_ARRAY(struct drm_msm_gem_submit_reloc, relocs);
88 cmd->relocs = NULL; in cmd_new()
96 free(cmd->relocs); in cmd_free()
264 struct drm_msm_gem_submit_reloc *relocs; in handle_stateobj_relocs() local
266 relocs = malloc(cmd->nr_relocs * sizeof(*relocs)); in handle_stateobj_relocs()
269 unsigned idx = cmd->relocs[i].reloc_idx; in handle_stateobj_relocs()
272 relocs[i] = cmd->relocs[i]; in handle_stateobj_relocs()
273 relocs[i].reloc_idx = append_bo(submit, bo); in handle_stateobj_relocs()
276 return relocs; in handle_stateobj_relocs()
326 void *relocs = handle_stateobj_relocs(msm_submit, msm_ring); in msm_submit_flush() local
[all …]
/external/igt-gpu-tools/tests/i915/
Dgem_exec_reloc.c107 struct drm_i915_gem_relocation_entry *relocs; in from_mmap() local
122 max = size / sizeof(*relocs); in from_mmap()
125 relocs = mmap(0, size, in from_mmap()
128 igt_assert(relocs != (void *)-1); in from_mmap()
132 relocs = gem_mmap__gtt(fd, reloc_handle, size, PROT_WRITE); in from_mmap()
139 relocs = gem_mmap__cpu(fd, reloc_handle, 0, size, PROT_WRITE); in from_mmap()
146 relocs = gem_mmap__wc(fd, reloc_handle, 0, size, PROT_WRITE); in from_mmap()
154 relocs[i].target_handle = obj.handle; in from_mmap()
155 relocs[i].presumed_offset = ~0ull; in from_mmap()
156 relocs[i].offset = 1024; in from_mmap()
[all …]
/external/libdrm/nouveau/
Dbufctx.c45 int relocs; member
112 bctx->relocs -= pbin->relocs; in nouveau_bufctx_reset()
113 pbin->relocs = 0; in nouveau_bufctx_reset()
156 pbin->relocs++; in nouveau_bufctx_mthd()
157 bctx->relocs++; in nouveau_bufctx_mthd()
/external/elfutils/libdwfl/
Dderelocate.c41 Elf_Scn *relocs; member
52 Elf_Scn *relocs; member
136 newref->relocs = NULL; in cache_sections()
158 sec->relocs = scn; in cache_sections()
187 mod->reloc_info->refs[i].relocs = sortrefs[i]->relocs; in cache_sections()
217 mod->reloc_info->refs[i].relocs = scn; in cache_sections()
414 if (mod->reloc_info->refs[idx].relocs != NULL) in INTDEF()
419 Elf_Scn *relocscn = mod->reloc_info->refs[idx].relocs; in INTDEF()
423 mod->reloc_info->refs[idx].relocs = NULL; in INTDEF()
/external/libdrm/radeon/
Dradeon_cs_gem.c77 uint32_t *relocs; member
156 csg->base.relocs = csg->relocs = (uint32_t*)calloc(1, 4096); in cs_gem_create()
157 if (csg->relocs == NULL) { in cs_gem_create()
168 csg->chunks[1].chunk_data = (uint64_t)(uintptr_t)csg->relocs; in cs_gem_create()
208 reloc = (struct cs_reloc_gem*)&csg->relocs[idx]; in cs_gem_write_reloc()
251 tmp = (uint32_t*)realloc(csg->relocs, size); in cs_gem_write_reloc()
255 cs->relocs = csg->relocs = tmp; in cs_gem_write_reloc()
257 csg->chunks[1].chunk_data = (uint64_t)(uintptr_t)csg->relocs; in cs_gem_write_reloc()
261 reloc = (struct cs_reloc_gem*)&csg->relocs[idx]; in cs_gem_write_reloc()
358 blob = bof_blob(csg->nrelocs * 16, csg->relocs); in cs_gem_dump_bof()
[all …]
/external/llvm-project/lld/test/ELF/
Demit-relocs-debug.s2 ## Test --emit-relocs handles .debug*
5 # RUN: ld.lld --emit-relocs %t.o -o %t
7 # RUN: ld.lld --emit-relocs --strip-debug %t.o -o %t.no
Demit-relocs-discard-locals.s2 ## Test that --emit-relocs keeps local symbols which are used in relocations
10 # RUN: ld.lld --emit-relocs --discard-locals %t.o -o %tlocal
15 # RUN: ld.lld --emit-relocs --discard-locals --gc-sections %t.o -o %tlocal.gc
19 # RUN: ld.lld --emit-relocs --discard-all %t.o -o %tall
23 # RUN: ld.lld --emit-relocs --discard-all --gc-sections %t.o -o %tall.gc
Demit-relocs-gc.s5 # RUN: ld.lld --emit-relocs %t.o -o %t
12 # RUN: ld.lld --gc-sections --emit-relocs --print-gc-sections %t.o -o %t \
25 relocs: label
Dapply-dynamic-relocs.s3 ## On RELA targets, --apply-dynamic-relocs writes addends to the relocated positions.
6 # RUN: ld.lld %t.o -o %t.so -shared --apply-dynamic-relocs
11 # RUN: ld.lld %t.o -o %t3.so -shared --no-apply-dynamic-relocs
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvhost/nvhost_channel_submit/
Dformat11 field:u32 relocs; offset:20; size:4; signed:0;
16 …int fmt: "name=%s, cmdbufs=%u, relocs=%u, waitchks=%d,syncpt_id=%u, syncpt_incrs=%u", REC->name, R…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvhost/nvhost_channel_write_submit/
Dformat12 field:u32 relocs; offset:28; size:4; signed:0;
16 …ame=%s, count=%zd, cmdbufs=%u, relocs=%u, syncpt_id=%u, syncpt_incrs=%u", REC->name, REC->count, R…
/external/mesa3d/src/gallium/drivers/iris/
Diris_disk_cache.c120 blob_write_bytes(&blob, prog_data->relocs, in iris_disk_cache_store()
199 prog_data->relocs = NULL; in iris_disk_cache_retrieve()
201 struct brw_shader_reloc *relocs = in iris_disk_cache_retrieve() local
203 blob_copy_bytes(&blob, relocs, in iris_disk_cache_retrieve()
205 prog_data->relocs = relocs; in iris_disk_cache_retrieve()
/external/llvm/test/DebugInfo/
Ddwarfdump-macho-relocs.test1 // RUN: llvm-dwarfdump -debug-dump=info %p/Inputs/dwarfdump-macho-relocs.macho.x86_64.o | FileCheck…
6 // Compiled with: clang -x c -g -c -o dwarfdump-macho-relocs.macho.x86_64.o dwarfdump-macho-relocs.…
/external/llvm-project/llvm/test/DebugInfo/
Ddwarfdump-macho-relocs.test1 // RUN: llvm-dwarfdump -debug-info %p/Inputs/dwarfdump-macho-relocs.macho.x86_64.o | FileCheck %s
6 // Compiled with: clang -x c -g -c -o dwarfdump-macho-relocs.macho.x86_64.o dwarfdump-macho-relocs.…
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/nvhost/nvhost_ioctl_channel_submit/
Dformat12 field:u32 relocs; offset:24; size:4; signed:0;
17 …ersion=%u, cmdbufs=%u, relocs=%u, waitchks=%u, syncpt_id=%u, syncpt_incrs=%u", REC->name, REC->ver…
/external/llvm/test/tools/llvm-readobj/
Dreloc-types.test6 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-i386 | FileCheck %s -check-prefix …
7 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-x86_64 | FileCheck %s -check-prefix …
8 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-aarch64 | FileCheck %s -check-prefix …
9 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-arm | FileCheck %s -check-prefix …
10 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-lanai | FileCheck %s -check-prefix …
11 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-mips | FileCheck %s -check-prefix …
12 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-mips64el | FileCheck %s -check-prefix …
13 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.elf-ppc64 | FileCheck %s -check-prefix …
14 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.coff-i386 | FileCheck %s -check-prefix …
15 RUN: llvm-readobj -r -expand-relocs %p/Inputs/relocs.obj.coff-x86_64 | FileCheck %s -check-prefix …
[all …]
/external/llvm-project/llvm/test/DebugInfo/RISCV/
Ddwarf-riscv-relocs.ll26 ; DWARF-DUMP: DW_AT_name ("dwarf-riscv-relocs.c")
29 ; DWARF-DUMP: DW_AT_decl_file ("{{.*}}dwarf-riscv-relocs.c")
65 ; DWARF-DUMP-NEXT: name: "dwarf-riscv-relocs.c"
76 ; ModuleID = 'dwarf-riscv-relocs.c'
77 source_filename = "dwarf-riscv-relocs.c"
96 !1 = !DIFile(filename: "dwarf-riscv-relocs.c", directory: ".", checksumkind: CSK_MD5, checksum: "05…
/external/llvm-project/llvm/test/tools/llvm-readobj/MachO/
Dreloc-types-macho-i386.test5 # RUN: llvm-readobj -r --expand-relocs %p/Inputs/relocs.obj.macho-i386 | FileCheck %s

12345678910>>...12