Home
last modified time | relevance | path

Searched refs:vaddr (Results 1 – 25 of 69) sorted by relevance

123

/third_party/elfutils/libdwfl/
Ddwfl_module_report_build_id.c39 GElf_Addr vaddr) in dwfl_module_report_build_id() argument
50 && (mod->build_id_vaddr == vaddr || vaddr == 0) in dwfl_module_report_build_id()
58 if (vaddr != 0 && (vaddr < mod->low_addr || vaddr + len > mod->high_addr)) in dwfl_module_report_build_id()
80 mod->build_id_vaddr = vaddr; in dwfl_module_report_build_id()
Ddwfl_module_build_id.c37 const void *bits, int len, GElf_Addr vaddr) in found_build_id() argument
54 mod->build_id_vaddr = vaddr; in found_build_id()
83 const unsigned char **bits, GElf_Addr *vaddr) in dwfl_module_build_id() argument
103 *vaddr = mod->build_id_vaddr; in dwfl_module_build_id()
114 GElf_Addr *vaddr) in _compat_vaddr_at_end_dwfl_module_build_id() argument
116 int result = INTUSE(dwfl_module_build_id) (mod, bits, vaddr); in _compat_vaddr_at_end_dwfl_module_build_id()
118 *vaddr += (result + 3) & -4; in _compat_vaddr_at_end_dwfl_module_build_id()
Ddwfl_report_elf.c59 GElf_Addr vaddr = 0; in __libdwfl_elf_address_range() local
188 vaddr = ph->p_vaddr & -ph->p_align; in __libdwfl_elf_address_range()
195 start = base + vaddr; in __libdwfl_elf_address_range()
201 bias = base - vaddr; in __libdwfl_elf_address_range()
225 *vaddrp = vaddr; in __libdwfl_elf_address_range()
245 GElf_Addr vaddr, address_sync, start, end, bias; in __libdwfl_report_elf() local
247 if (! __libdwfl_elf_address_range (elf, base, add_p_vaddr, sanity, &vaddr, in __libdwfl_report_elf()
272 m->main.vaddr = vaddr; in __libdwfl_report_elf()
281 || m->main.vaddr != vaddr || m->main.address_sync != address_sync) in __libdwfl_report_elf()
Ddwfl_segment_report_module.c60 GElf_Addr vaddr; member
262 GElf_Addr vaddr, size_t filesz) in read_portion() argument
267 || vaddr - start > *read_state->buffer_available - filesz in read_portion()
270 || (filesz == 0 && memchr (vaddr - start + *read_state->buffer, '\0', in read_portion()
272 - (vaddr - start))) == NULL)) in read_portion()
278 segment, vaddr, in read_portion()
280 data, data_size, vaddr, filesz, in read_portion()
285 *data = vaddr - start + (*read_state->buffer); in read_portion()
338 build_id.vaddr = 0; in dwfl_segment_report_module()
516 GElf_Addr vaddr = is32 ? p32[i].p_vaddr : p64[i].p_vaddr; in dwfl_segment_report_module() local
[all …]
Dlink_map.c137 GElf_Addr vaddr, in integrated_memory_callback() argument
154 vaddr, minread, in integrated_memory_callback()
165 vaddr, minread, info->memory_callback_arg); in integrated_memory_callback()
169 vaddr, minread, info->memory_callback_arg)) in integrated_memory_callback()
178 (void) INTUSE(dwfl_addrsegment) (dwfl, vaddr, &mod); in integrated_memory_callback()
183 Elf_Scn *scn = INTUSE(dwfl_module_address_section) (mod, &vaddr, &bias); in integrated_memory_callback()
192 vaddr - mod->main.bias, minread, mod->main.elf); in integrated_memory_callback()
202 if (unlikely (data->d_size < vaddr)) in integrated_memory_callback()
206 void *contents = data->d_buf + vaddr; in integrated_memory_callback()
207 size_t avail = data->d_size - vaddr; in integrated_memory_callback()
[all …]
Delf-from-memory.c245 GElf_Addr vaddr = class32 ? (*p32)[i].p_vaddr : (*p64)[i].p_vaddr; in elf_from_remote_memory() local
251 if (((vaddr - offset) & (pagesize - 1)) != 0) in elf_from_remote_memory()
262 loadbase = ehdr_vma - (vaddr & -pagesize); in elf_from_remote_memory()
302 GElf_Addr vaddr = class32 ? (*p32)[i].p_vaddr : (*p64)[i].p_vaddr; in elf_from_remote_memory() local
311 (loadbase + vaddr) & -pagesize, in elf_from_remote_memory()
Dlinux-kernel-modules.c574 Dwarf_Addr vaddr, const char *secname) in check_notes() argument
640 (mod, NULL, mod->name, 0, secname, 0, NULL, &vaddr) != 0 in check_notes()
641 || vaddr == (GElf_Addr) -1l)) in check_notes()
642 vaddr = 0; in check_notes()
644 if (vaddr != 0) in check_notes()
645 vaddr += bits - buf.data; in check_notes()
647 nhdr->n_descsz, vaddr); in check_notes()
656 check_kernel_notes (Dwfl_Module *kernelmod, GElf_Addr vaddr) in check_kernel_notes() argument
658 return check_notes (kernelmod, KNOTESFILE, vaddr, NULL) < 0 ? -1 : 0; in check_kernel_notes()
Ddwfl_build_id_find_debuginfo.c97 GElf_Addr vaddr; in dwfl_build_id_find_debuginfo() local
99 if (INTUSE(dwfl_module_build_id) (mod, &bits, &vaddr) > 0) in dwfl_build_id_find_debuginfo()
/third_party/mesa3d/src/broadcom/clif/
Dclif_dump.c92 clif_lookup_vaddr(struct clif_dump *clif, uint32_t addr, void **vaddr) in clif_lookup_vaddr() argument
98 *vaddr = bo->vaddr + addr - bo->offset; in clif_lookup_vaddr()
128 void *start_vaddr = bo->vaddr + start - bo->offset; in clif_dump_cl()
154 return (void *)cl - bo->vaddr; in clif_dump_cl()
163 void *vaddr, in clif_dump_gl_shader_state_record() argument
179 v3d_print_group(clif, gs_state, 0, vaddr + offset); in clif_dump_gl_shader_state_record()
185 v3d_print_group(clif, state, 0, vaddr + offset); in clif_dump_gl_shader_state_record()
190 v3d_print_group(clif, attr, 0, vaddr + offset); in clif_dump_gl_shader_state_record()
202 void *vaddr; in clif_process_worklist() local
203 if (!clif_lookup_vaddr(clif, reloc->addr, &vaddr)) { in clif_process_worklist()
[all …]
Dclif_dump.h40 uint32_t offset, uint32_t size, void *vaddr);
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
Dadp.c219 VOID iounmap(VOID *vaddr) {} in iounmap() argument
250 int remap_pfn_range(VADDR_T vaddr, unsigned long pfn, unsigned long size, unsigned long prot) in remap_pfn_range() argument
258 LosVmSpace *space = LOS_SpaceGet(vaddr); in remap_pfn_range()
266 if (!IS_PAGE_ALIGNED(vaddr) || pfn == 0) { in remap_pfn_range()
267 VM_ERR("invalid map map vaddr %x or pfn %x", vaddr, pfn); in remap_pfn_range()
278 region = LOS_RegionFind(space, vaddr); in remap_pfn_range()
284 end = vaddr + size; in remap_pfn_range()
287 region->range.base, region->range.size, vaddr, size); in remap_pfn_range()
293 for (vpos = vaddr; vpos < end; vpos += PAGE_SIZE) { in remap_pfn_range()
303 ret = LOS_ArchMmuMap(&space->archMmu, vaddr, paddr, size >> PAGE_SHIFT, prot); in remap_pfn_range()
/third_party/elfutils/libdwelf/
Ddwelf_elf_gnu_build_id.c108 GElf_Addr vaddr = 0; in find_elf_build_id() local
110 vaddr = NO_VADDR; in find_elf_build_id()
112 vaddr = shdr->sh_addr; in find_elf_build_id()
114 elf_ndxscn (scn), &vaddr)) in find_elf_build_id()
115 vaddr = NO_VADDR; in find_elf_build_id()
116 result = check_notes (elf_getdata (scn, NULL), vaddr, in find_elf_build_id()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DFLATInstructions.td86 bits<8> vaddr;
119 let Inst{39-32} = !if(ps.has_vaddr, vaddr, ?);
143 !con((ins VReg_64:$vaddr),
147 " $vdst, $vaddr"#!if(HasSaddr, !if(EnableSaddr, ", $saddr", ", off"), "")#"$offset$glc$slc$dlc"> {
164 !con((ins VReg_64:$vaddr, vdataClass:$vdata),
167 …" $vaddr, $vdata"#!if(HasSaddr, !if(EnableSaddr, ", $saddr", ", off"), "")#"$offset$glc$slc$dlc"> {
201 (ins VGPR_32:$vaddr, flat_offset:$offset, GLC:$glc, SLC:$slc, DLC:$dlc)),
202 …" $vdst, "#!if(EnableSaddr, "off", "$vaddr")#!if(EnableSaddr, ", $saddr", ", off")#"$offset$glc$sl…
217 (ins vdataClass:$vdata, VGPR_32:$vaddr, flat_offset:$offset, GLC:$glc, SLC:$slc, DLC:$dlc)),
218 …" "#!if(EnableSaddr, "off", "$vaddr")#", $vdata, "#!if(EnableSaddr, "$saddr", "off")#"$offset$glc$…
[all …]
DBUFInstructions.td127 bits<8> vaddr;
145 (ins vaddrClass:$vaddr, SReg_128:$srsrc, SCSrc_b32:$soffset,
152 (ins vdataClass:$vdata, vaddrClass:$vaddr, SReg_128:$srsrc,
173 "$vaddr, $srsrc, $format, $soffset offen",
175 "$vaddr, $srsrc, $format, $soffset idxen",
177 "$vaddr, $srsrc, $format, $soffset idxen offen",
179 "$vaddr, $srsrc, $format, $soffset addr64",
227 (ld (MUBUFAddr64 v4i32:$srsrc, i64:$vaddr, i32:$soffset, i16:$offset,
274 [(st store_vt:$vdata, (MUBUFAddr64 v4i32:$srsrc, i64:$vaddr, i32:$soffset,
361 bits<8> vaddr;
[all …]
DMIMGInstructions.td28 // vdata/vaddr size.
171 !if(!lt(i, num_addrs), !listconcat(lhs, ["vaddr"#!size(lhs)]), lhs));
227 let InOperandList = !con((ins addr_rc:$vaddr, SReg_256:$srsrc,
231 let AsmString = asm#" $vdata, $vaddr, $srsrc$dmask$unorm$glc$slc$r128$tfe$lwe$da"
320 let InOperandList = !con((ins data_rc:$vdata, addr_rc:$vaddr, SReg_256:$srsrc,
324 let AsmString = asm#" $vdata, $vaddr, $srsrc$dmask$unorm$glc$slc$r128$tfe$lwe$da"
409 let InOperandList = (ins data_rc:$vdata, addr_rc:$vaddr, SReg_256:$srsrc,
412 let AsmString = asm#" $vdst, $vaddr, $srsrc$dmask$unorm$glc$slc$r128$tfe$lwe$da";
511 let InOperandList = !con((ins src_rc:$vaddr, SReg_256:$srsrc, SReg_128:$ssamp,
515 let AsmString = asm#" $vdata, $vaddr, $srsrc, $ssamp$dmask$unorm$glc$slc$r128$tfe$lwe$da"
[all …]
/third_party/mesa3d/src/gallium/drivers/vc4/
Dvc4_simulator.c157 obj->vaddr = sim_state.mem + sim_bo->block->ofs; in vc4_create_simulator_bo()
158 obj->paddr = simpenrose_hw_addr(obj->vaddr); in vc4_create_simulator_bo()
160 *(uint32_t *)(obj->vaddr + size) = BO_SENTINEL; in vc4_create_simulator_bo()
253 memcpy(obj->vaddr, sim_bo->gem_vaddr, obj->base.size); in vc4_simulator_pin_bos()
269 assert(*(uint32_t *)(obj->vaddr + in vc4_simulator_unpin_bos()
272 memcpy(sim_bo->gem_vaddr, obj->vaddr, obj->base.size); in vc4_simulator_unpin_bos()
349 fwrite(cma_bo->vaddr, cma_bo->base.size, 1, f); in vc4_dump_to_file()
355 fwrite(cma_bo->vaddr, cma_bo->base.size, 1, f); in vc4_dump_to_file()
426 assert(*(uint32_t *)(obj->vaddr + obj->base.size) == in vc4_simulator_submit_cl_ioctl()
501 memcpy(obj->vaddr, (void *)(uintptr_t)args->data, args->size); in vc4_simulator_create_shader_bo_ioctl()
/third_party/skia/third_party/externals/swiftshader/src/System/
DGrallocAndroid.cpp137 …le::lock(buffer_handle_t handle, int usage, int left, int top, int width, int height, void **vaddr) in lock() argument
158 *vaddr = tmp_vaddr; in lock()
187 *vaddr = tmp_vaddr; in lock()
198 return m_module->lock(m_module, handle, usage, left, top, width, height, vaddr); in lock()
208 return m_gralloc1_lock(m_gralloc1_device, handle, usage, usage, &outRect, vaddr, -1); in lock()
/third_party/skia/third_party/externals/swiftshader/src/Common/
DGrallocAndroid.cpp137 …le::lock(buffer_handle_t handle, int usage, int left, int top, int width, int height, void **vaddr) in lock() argument
158 *vaddr = tmp_vaddr; in lock()
187 *vaddr = tmp_vaddr; in lock()
198 return m_module->lock(m_module, handle, usage, left, top, width, height, vaddr); in lock()
208 return m_gralloc1_lock(m_gralloc1_device, handle, usage, usage, &outRect, vaddr, -1); in lock()
/third_party/libdrm/exynos/
Dexynos_drm.c175 if (bo->vaddr) in exynos_bo_destroy()
176 munmap(bo->vaddr, bo->size); in exynos_bo_destroy()
279 if (!bo->vaddr) { in exynos_bo_map()
299 bo->vaddr = map; in exynos_bo_map()
302 return bo->vaddr; in exynos_bo_map()
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
Dvc4_gem.c117 exec->shader_rec_v = exec->exec_bo->vaddr + shader_rec_offset; in vc4_get_bcl()
121 exec->uniforms_v = exec->exec_bo->vaddr + uniforms_offset; in vc4_get_bcl()
126 exec->exec_bo->vaddr + bin_offset, in vc4_get_bcl()
/third_party/flutter/skia/third_party/externals/sdl/src/video/mir/
DSDL_mirframebuffer.c76 s_dest = region.vaddr; in MIR_UpdateWindowFramebuffer()
84 s_dest = region.vaddr; in MIR_UpdateWindowFramebuffer()
/third_party/mesa3d/include/android_stub/hardware/
Dgralloc.h231 void** vaddr);
285 void** vaddr, int fenceFd);
/third_party/elfio/tests/elf_examples/
Dwrite_exe_i386_32_work_dump.txt9 LOAD off 0x00000000 vaddr 0x08048000 paddr 0x08048000 align 2**12
11 LOAD off 0x000000a0 vaddr 0x080490a0 paddr 0x080490a0 align 2**12
/third_party/libabigail/tests/data/test-read-ctf/
Dtest-anonymous-fields.c9 unsigned long vaddr; member
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/
Dsymbolize_test.cc292 const void *const vaddr = in FilterElfHeader() local
304 vaddr, reinterpret_cast<const char *>(vaddr) + segsize, in FilterElfHeader()

123