/third_party/elfutils/libebl/ |
H A D | eblnonerelocp.c | 38 ebl_none_reloc_p (Ebl *ebl, int reloc) in ebl_none_reloc_p() argument 40 return ebl->none_reloc_p (reloc); in ebl_none_reloc_p()
|
H A D | eblreloctypecheck.c | 38 ebl_reloc_type_check (Ebl *ebl, int reloc) in ebl_reloc_type_check() argument 40 return ebl != NULL ? ebl->reloc_type_check (reloc) : false; in ebl_reloc_type_check()
|
H A D | eblrelativerelocp.c | 38 ebl_relative_reloc_p (Ebl *ebl, int reloc) in ebl_relative_reloc_p() argument 40 return ebl->relative_reloc_p (reloc); in ebl_relative_reloc_p()
|
H A D | eblrelocsimpletype.c | 37 ebl_reloc_simple_type (Ebl *ebl, int reloc, int *addsub) in ebl_reloc_simple_type() argument 39 return ebl != NULL ? ebl->reloc_simple_type (ebl, reloc, addsub) : ELF_T_NUM; in ebl_reloc_simple_type()
|
H A D | eblreloctypename.c | 39 ebl_reloc_type_name (Ebl *ebl, int reloc, char *buf, size_t len) in ebl_reloc_type_name() argument 43 res = ebl != NULL ? ebl->reloc_type_name (reloc, buf, len) : NULL; in ebl_reloc_type_name()
|
H A D | eblopenbackend.c | 196 static bool default_copy_reloc_p (int reloc); 197 static bool default_none_reloc_p (int reloc); 198 static bool default_relative_reloc_p (int reloc); 629 default_copy_reloc_p (int reloc __attribute__ ((unused))) in default_copy_reloc_p()
|
/third_party/mesa3d/src/freedreno/drm/msm/ |
H A D | msm_ringbuffer.c | 38 * traditional reloc and cmd tracking 479 const struct fd_reloc *reloc) in msm_ringbuffer_emit_reloc() 486 unsigned idx = APPEND(&msm_ring->u, reloc_bos, fd_bo_ref(reloc->bo)); in msm_ringbuffer_emit_reloc() 497 reloc_idx = append_bo(msm_submit, reloc->bo); in msm_ringbuffer_emit_reloc() 505 .reloc_offset = reloc->offset, in msm_ringbuffer_emit_reloc() 506 .or = reloc->orval, in msm_ringbuffer_emit_reloc() 507 .shift = reloc->shift, in msm_ringbuffer_emit_reloc() 518 .reloc_offset = reloc->offset, in msm_ringbuffer_emit_reloc() 519 .or = reloc->orval >> 32, in msm_ringbuffer_emit_reloc() 520 .shift = reloc in msm_ringbuffer_emit_reloc() 478 msm_ringbuffer_emit_reloc(struct fd_ringbuffer *ring, const struct fd_reloc *reloc) msm_ringbuffer_emit_reloc() argument [all...] |
/third_party/mesa3d/src/gallium/drivers/r600/ |
H A D | evergreen_hw_context.c | 66 /* emit reloc before writing cs so that cs is always in consistent state */ in evergreen_dma_copy_buffer() 108 unsigned reloc; in evergreen_cp_dma_clear_buffer() local 125 reloc = radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, in evergreen_cp_dma_clear_buffer() 137 radeon_emit(cs, reloc); in evergreen_cp_dma_clear_buffer()
|
H A D | r600_cs.h | 120 unsigned reloc = radeon_add_to_buffer_list(rctx, ring, rbo, usage); in r600_emit_reloc() local 124 radeon_emit(cs, reloc); in r600_emit_reloc()
|
H A D | evergreen_compute.c | 265 struct r600_shader_reloc *reloc = &binary->relocs[i]; in parse_relocs() local 271 reloc->offset = rel.r_offset; in parse_relocs() 272 strncpy(reloc->name, symbol_name, sizeof(reloc->name)-1); in parse_relocs() 273 reloc->name[sizeof(reloc->name)-1] = 0; in parse_relocs() 689 unsigned reloc = radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, in compute_setup_cbs() local 704 radeon_emit(cs, reloc); in compute_setup_cbs() 707 radeon_emit(cs, reloc); in compute_setup_cbs()
|
H A D | r600_hw_context.c | 449 unsigned offset, reloc; in r600_emit_pfp_sync_me() local 461 reloc = radeon_add_to_buffer_list(&rctx->b, &rctx->b.gfx, buf, in r600_emit_pfp_sync_me() 476 radeon_emit(cs, reloc); in r600_emit_pfp_sync_me() 490 radeon_emit(cs, reloc); in r600_emit_pfp_sync_me() 603 /* emit reloc before writing cs so that cs is always in consistent state */ in r600_dma_copy_buffer()
|
/third_party/mesa3d/src/gallium/drivers/etnaviv/ |
H A D | etnaviv_surface.c | 140 surf->reloc[pipe].bo = rsc->bo; in etna_create_surface() 141 surf->reloc[pipe].offset = surf->surf.offset; in etna_create_surface() 142 surf->reloc[pipe].flags = 0; in etna_create_surface() 150 surf->reloc[1].offset = surf->surf.offset + lev->stride * lev->padded_height / 2; in etna_create_surface()
|
H A D | etnaviv_rs.c | 728 struct etna_reloc reloc; in etna_try_rs_blit() local 741 memset(&reloc, 0, sizeof(struct etna_reloc)); in etna_try_rs_blit() 742 reloc.bo = src->ts_bo; in etna_try_rs_blit() 743 reloc.offset = ts_offset; in etna_try_rs_blit() 744 reloc.flags = ETNA_RELOC_READ; in etna_try_rs_blit() 745 etna_set_state_reloc(ctx->stream, VIVS_TS_COLOR_STATUS_BASE, &reloc); in etna_try_rs_blit() 747 memset(&reloc, 0, sizeof(struct etna_reloc)); in etna_try_rs_blit() 748 reloc.bo = src->bo; in etna_try_rs_blit() 749 reloc.offset = src_lev->offset + in etna_try_rs_blit() 751 reloc in etna_try_rs_blit() [all...] |
H A D | etnaviv_emit.h | 67 const struct etna_reloc *reloc) in etna_set_state_reloc() 71 etna_cmd_stream_reloc(stream, reloc); in etna_set_state_reloc() 66 etna_set_state_reloc(struct etna_cmd_stream *stream, uint32_t address, const struct etna_reloc *reloc) etna_set_state_reloc() argument
|
H A D | etnaviv_surface.h | 42 struct etna_reloc reloc[ETNA_MAX_PIXELPIPES]; member
|
H A D | etnaviv_state.c | 195 cs->PE_PIPE_COLOR_ADDR[i] = cbuf->reloc[i]; in etna_set_framebuffer_state() 199 cs->PE_COLOR_ADDR = cbuf->reloc[0]; in etna_set_framebuffer_state() 212 cs->TS_COLOR_SURFACE_BASE = cbuf->reloc[0]; in etna_set_framebuffer_state() 276 cs->PE_PIPE_DEPTH_ADDR[i] = zsbuf->reloc[i]; in etna_set_framebuffer_state() 280 cs->PE_DEPTH_ADDR = zsbuf->reloc[0]; in etna_set_framebuffer_state() 294 cs->TS_DEPTH_SURFACE_BASE = zsbuf->reloc[0]; in etna_set_framebuffer_state()
|
/third_party/mesa3d/src/nouveau/codegen/ |
H A D | nv50_ir_print.cpp | 918 nv50_ir::RelocInfo *reloc = (nv50_ir::RelocInfo *)info_out->bin.relocData; in nv50_ir_prog_info_out_print() local 920 INFO(" \"codePos\":\"%d\",\n", reloc->codePos); in nv50_ir_prog_info_out_print() 921 INFO(" \"libPos\":\"%d\",\n", reloc->libPos); in nv50_ir_prog_info_out_print() 922 INFO(" \"dataPos\":\"%d\",\n", reloc->dataPos); in nv50_ir_prog_info_out_print() 923 INFO(" \"count\":\"%d\",\n", reloc->count); in nv50_ir_prog_info_out_print() 925 for (unsigned int i = 0; i < reloc->count; i++) { in nv50_ir_prog_info_out_print() 927 reloc->entry[i].data, reloc->entry[i].mask, reloc->entry[i].offset, reloc in nv50_ir_prog_info_out_print() [all...] |
/third_party/libdrm/nouveau/ |
H A D | pushbuf.c | 45 struct drm_nouveau_gem_pushbuf_reloc reloc[NOUVEAU_GEM_MAX_RELOCS]; member 228 uint32_t reloc = data; in pushbuf_krel() local 232 krel = &krec->reloc[krec->nr_reloc++]; in pushbuf_krel() 245 reloc = (bkref->presumed.offset + data); in pushbuf_krel() 249 reloc = (bkref->presumed.offset + data) >> 32; in pushbuf_krel() 254 reloc |= vor; in pushbuf_krel() 256 reloc |= tor; in pushbuf_krel() 260 return reloc; in pushbuf_krel() 284 krel = krec->reloc; in pushbuf_dump() 339 req.relocs = (uint64_t)(unsigned long)krec->reloc; in pushbuf_submit() [all...] |
/third_party/mesa3d/src/broadcom/compiler/ |
H A D | v3d33_tex.c | 29 #define __gen_address_offset(reloc) (*reloc) 30 #define __gen_emit_reloc(cl, reloc)
|
/third_party/libdrm/tegra/ |
H A D | pushbuf.c | 144 buffer->reloc.target_offset = offset; in drm_tegra_pushbuf_relocate() 145 buffer->reloc.gather_offset_words = drm_tegra_pushbuf_get_offset(pushbuf, in drm_tegra_pushbuf_relocate() 147 buffer->reloc.shift = shift; in drm_tegra_pushbuf_relocate()
|
/third_party/mesa3d/src/broadcom/vulkan/ |
H A D | v3dv_uniforms.c | 322 struct v3dv_cl_reloc reloc = in write_ubo_ssbo_uniforms() local 327 bo = reloc.bo; in write_ubo_ssbo_uniforms() 328 addr = reloc.bo->offset + reloc.offset + offset; in write_ubo_ssbo_uniforms() 370 struct v3dv_cl_reloc reloc = in write_inline_uniform() local 377 uint32_t *addr = reloc.bo->map + reloc.offset + 4 * offset; in write_inline_uniform()
|
/third_party/libdrm/freedreno/ |
H A D | freedreno_ringbuffer.h | 135 void fd_ringbuffer_reloc2(struct fd_ringbuffer *ring, const struct fd_reloc *reloc); 136 will_be_deprecated void fd_ringbuffer_reloc(struct fd_ringbuffer *ring, const struct fd_reloc *reloc);
|
/third_party/mesa3d/src/intel/compiler/ |
H A D | intel_clc.c | 200 const struct brw_shader_reloc *reloc = &kernel->prog_data.base.relocs[i]; in print_kernel() local 202 reloc->id, reloc_type_str(reloc->type), in print_kernel() 203 reloc->offset, reloc->delta); in print_kernel()
|
/third_party/mesa3d/src/gallium/drivers/nouveau/nv30/ |
H A D | nvfx_fragprog.c | 271 struct nvfx_relocation reloc; in nv40_fp_cal() local 283 reloc.target = target; in nv40_fp_cal() 284 reloc.location = fpc->inst_offset + 2; in nv40_fp_cal() 285 util_dynarray_append(&fpc->label_relocs, struct nvfx_relocation, reloc); in nv40_fp_cal() 307 struct nvfx_relocation reloc; in nv40_fp_rep() local 324 reloc.target = target; in nv40_fp_rep() 325 reloc.location = fpc->inst_offset + 3; in nv40_fp_rep() 326 util_dynarray_append(&fpc->label_relocs, struct nvfx_relocation, reloc); in nv40_fp_rep() 336 struct nvfx_relocation reloc; 350 reloc [all...] |
/third_party/elfutils/tests/ |
H A D | run-strip-reloc.sh | 42 testrun ${abs_top_builddir}/src/strip --reloc-debug-sections -o $outfile2 \ 44 { echo "*** failure strip --reloc-debug-sections $infile"; status=1; } 58 { echo "*** failure --reloc-debug-sections not smaller $infile"; status=1; } 73 testrun ${abs_top_builddir}/src/strip --reloc-debug-sections-only \ 75 { echo "*** failure strip --reloc-debug-sections-only $debugfile1"; \ 79 { echo "*** failure --reloc-debug-sections[-only] $debugfile1 $debugfile2"; \
|