/third_party/mesa3d/src/gallium/winsys/radeon/drm/ |
H A D | radeon_drm_cs.c | 40 The adding is skipped if the reloc is already present in the list, but it 51 cs_write_reloc(cs, buf) just writes a reloc that has been added using 248 /* Put this reloc in the hash list. in radeon_lookup_buffer() 268 struct drm_radeon_cs_reloc *reloc; in radeon_lookup_or_add_real_buffer() local 309 reloc = &csc->relocs[csc->num_relocs]; in radeon_lookup_or_add_real_buffer() 310 reloc->handle = bo->handle; in radeon_lookup_or_add_real_buffer() 311 reloc->read_domains = 0; in radeon_lookup_or_add_real_buffer() 312 reloc->write_domain = 0; in radeon_lookup_or_add_real_buffer() 313 reloc->flags = 0; in radeon_lookup_or_add_real_buffer() 387 struct drm_radeon_cs_reloc *reloc; in radeon_drm_cs_add_buffer() local [all...] |
/kernel/linux/linux-5.10/scripts/ |
H A D | check_extable.sh | 42 eval $(echo $reloc | sed 's/\([^+]\+\)+\?\(0x[0-9a-f]\+\)\?/symbol="\1"; symbol_offset="\2"/') 109 for reloc in ${suspicious_relocs}; do 112 find_symbol_and_offset_from_reloc ${reloc} 120 # In this case objdump was presenting us with a reloc to a symbol
|
/kernel/linux/linux-5.10/tools/objtool/ |
H A D | check.h | 59 struct reloc *jump_table; 60 struct reloc *reloc; member
|
/kernel/linux/linux-6.6/scripts/ |
H A D | check_extable.sh | 42 eval $(echo $reloc | sed 's/\([^+]\+\)+\?\(0x[0-9a-f]\+\)\?/symbol="\1"; symbol_offset="\2"/') 109 for reloc in ${suspicious_relocs}; do 112 find_symbol_and_offset_from_reloc ${reloc} 120 # In this case objdump was presenting us with a reloc to a symbol
|
/third_party/elfutils/libebl/ |
H A D | eblrelocvaliduse.c | 38 ebl_reloc_valid_use (Ebl *ebl, int reloc) in ebl_reloc_valid_use() argument 40 return ebl != NULL ? ebl->reloc_valid_use (ebl->elf, reloc) : false; in ebl_reloc_valid_use()
|
H A D | eblcopyrelocp.c | 38 ebl_copy_reloc_p (Ebl *ebl, int reloc) in ebl_copy_reloc_p() argument 40 return ebl->copy_reloc_p (reloc); in ebl_copy_reloc_p()
|
H A D | eblgotpcreloccheck.c | 39 ebl_gotpc_reloc_check (Ebl *ebl, int reloc) in ebl_gotpc_reloc_check() argument 41 return ebl != NULL ? ebl->gotpc_reloc_check (ebl->elf, reloc) : false; in ebl_gotpc_reloc_check()
|
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()
|
/kernel/linux/linux-6.6/arch/arm64/kvm/hyp/nvhe/ |
H A D | Makefile | 39 targets += $(hyp-obj) kvm_nvhe.tmp.o kvm_nvhe.rel.o hyp.lds hyp-reloc.S hyp-reloc.o 66 $(obj)/hyp-reloc.S: $(obj)/kvm_nvhe.tmp.o $(obj)/gen-hyprel FORCE 69 # 5) Compile hyp-reloc.S and link it into the existing partially linked object. 74 $(obj)/kvm_nvhe.rel.o: $(obj)/kvm_nvhe.tmp.o $(obj)/hyp-reloc.o FORCE
|
/third_party/libdrm/freedreno/ |
H A D | freedreno_ringbuffer.c | 92 * the IB source) as it's parent before emitting reloc's, to ensure 146 const struct fd_reloc *reloc) in fd_ringbuffer_reloc() 149 ring->funcs->emit_reloc(ring, reloc); in fd_ringbuffer_reloc() 153 const struct fd_reloc *reloc) in fd_ringbuffer_reloc2() 155 ring->funcs->emit_reloc(ring, reloc); in fd_ringbuffer_reloc2() 145 fd_ringbuffer_reloc(struct fd_ringbuffer *ring, const struct fd_reloc *reloc) fd_ringbuffer_reloc() argument 152 fd_ringbuffer_reloc2(struct fd_ringbuffer *ring, const struct fd_reloc *reloc) fd_ringbuffer_reloc2() argument
|
/third_party/libdrm/etnaviv/ |
H A D | etnaviv_cmd_stream.c | 251 struct drm_etnaviv_gem_submit_reloc *reloc; in etna_cmd_stream_reloc() local 255 reloc = &priv->submit.relocs[idx]; in etna_cmd_stream_reloc() 257 reloc->reloc_idx = bo2idx(stream, r->bo, r->flags); in etna_cmd_stream_reloc() 258 reloc->reloc_offset = r->offset; in etna_cmd_stream_reloc() 259 reloc->submit_offset = stream->offset * 4; /* in bytes */ in etna_cmd_stream_reloc() 260 reloc->flags = 0; in etna_cmd_stream_reloc()
|
/third_party/mesa3d/src/etnaviv/drm/ |
H A D | etnaviv_cmd_stream.c | 261 struct drm_etnaviv_gem_submit_reloc *reloc; in etna_cmd_stream_reloc() local 268 reloc = &priv->submit.relocs[idx]; in etna_cmd_stream_reloc() 270 reloc->reloc_idx = bo_idx; in etna_cmd_stream_reloc() 271 reloc->reloc_offset = r->offset; in etna_cmd_stream_reloc() 272 reloc->submit_offset = stream->offset * 4; /* in bytes */ in etna_cmd_stream_reloc() 273 reloc->flags = 0; in etna_cmd_stream_reloc()
|
/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()
|
/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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
H A D | intel_renderstate.h | 35 const u32 *reloc; member 42 .reloc = gen ## _g ## _null_state_relocs, \
|
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
H A D | intel_renderstate.h | 18 const u32 *reloc; member 25 .reloc = gen ## _g ## _null_state_relocs, \
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | map.h | 26 u64 reloc; in DECLARE_RC_STRUCT() local 93 return RC_CHK_ACCESS(map)->reloc; in map__reloc() 277 static inline void map__set_reloc(struct map *map, u64 reloc) in map__set_reloc() argument 279 RC_CHK_ACCESS(map)->reloc = reloc; in map__set_reloc()
|
/kernel/linux/linux-5.10/fs/ |
H A D | binfmt_flat.c | 332 id = (r >> 24) & 0xff; /* Find ID for this reloc */ in calc_reloc() 341 pr_err("reloc address 0x%lx not in same module " in calc_reloc() 366 pr_err("reloc outside program 0x%lx (0 - 0x%lx/0x%lx)", in calc_reloc() 398 ptr = (unsigned long __user *)(current->mm->start_code + r.reloc.offset); in old_reloc() 400 ptr = (unsigned long __user *)(current->mm->start_data + r.reloc.offset); in old_reloc() 406 r.reloc.offset, ptr, val, segment[r.reloc.type]); in old_reloc() 408 switch (r.reloc.type) { in old_reloc() 419 pr_err("Unknown relocation type=%x\n", r.reloc.type); in old_reloc() 461 __be32 __user *reloc; in load_flat_file() local [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | binfmt_flat.c | 316 pr_err("reloc outside program 0x%lx (0 - 0x%lx/0x%lx)", in calc_reloc() 348 ptr = (unsigned long __user *)(current->mm->start_code + r.reloc.offset); in old_reloc() 350 ptr = (unsigned long __user *)(current->mm->start_data + r.reloc.offset); in old_reloc() 356 r.reloc.offset, ptr, val, segment[r.reloc.type]); in old_reloc() 358 switch (r.reloc.type) { in old_reloc() 369 pr_err("Unknown relocation type=%x\n", r.reloc.type); in old_reloc() 411 __be32 __user *reloc; in load_flat_file() local 584 reloc = (__be32 __user *) in load_flat_file() 610 reloc in load_flat_file() [all...] |
/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...] |