Home
last modified time | relevance | path

Searched refs:vaddr (Results 1 - 25 of 52) sorted by relevance

123

/third_party/elfutils/libdwfl/
H A Ddwfl_module_report_build_id.c39 GElf_Addr vaddr) in dwfl_module_report_build_id()
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()
37 dwfl_module_report_build_id(Dwfl_Module *mod, const unsigned char *bits, size_t len, GElf_Addr vaddr) dwfl_module_report_build_id() argument
H A Ddwfl_module_build_id.c37 const void *bits, int len, GElf_Addr vaddr) in found_build_id()
54 mod->build_id_vaddr = vaddr; in found_build_id()
83 const unsigned char **bits, GElf_Addr *vaddr) in dwfl_module_build_id()
103 *vaddr = mod->build_id_vaddr; in dwfl_module_build_id()
114 GElf_Addr *vaddr) in NEW_INTDEF()
116 int result = INTUSE(dwfl_module_build_id) (mod, bits, vaddr); in NEW_INTDEF()
118 *vaddr += (result + 3) & -4; in NEW_INTDEF()
36 found_build_id(Dwfl_Module *mod, bool set, const void *bits, int len, GElf_Addr vaddr) found_build_id() argument
82 dwfl_module_build_id(Dwfl_Module *mod, const unsigned char **bits, GElf_Addr *vaddr) dwfl_module_build_id() argument
H A Dlink_map.c138 GElf_Addr vaddr, in integrated_memory_callback()
155 vaddr, minread, in integrated_memory_callback()
166 vaddr, minread, info->memory_callback_arg); in integrated_memory_callback()
170 vaddr, minread, info->memory_callback_arg)) in integrated_memory_callback()
179 (void) INTUSE(dwfl_addrsegment) (dwfl, vaddr, &mod); in integrated_memory_callback()
184 Elf_Scn *scn = INTUSE(dwfl_module_address_section) (mod, &vaddr, &bias); in integrated_memory_callback()
193 vaddr - mod->main.bias, minread, mod->main.elf); in integrated_memory_callback()
203 if (unlikely (data->d_size < vaddr)) in integrated_memory_callback()
207 void *contents = data->d_buf + vaddr; in integrated_memory_callback()
208 size_t avail = data->d_size - vaddr; in integrated_memory_callback()
135 integrated_memory_callback(Dwfl *dwfl, int ndx, void **buffer, size_t *buffer_available, GElf_Addr vaddr, size_t minread, void *arg) integrated_memory_callback() argument
246 read_addrs(struct memory_closure *closure, uint_fast8_t elfclass, uint_fast8_t elfdata, void **buffer, size_t *buffer_available, GElf_Addr vaddr, GElf_Addr *read_vaddr, size_t n, GElf_Addr *addrs ) read_addrs() argument
666 GElf_Addr vaddr; consider_executable() local
942 GElf_Addr vaddr = (is32 dwfl_link_map_report() local
[all...]
H A 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 ! in __libdwfl_report_elf()
[all...]
H A Ddwfl_segment_report_module.c60 GElf_Addr vaddr; member
262 GElf_Addr vaddr, size_t filesz) in read_portion()
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 in dwfl_segment_report_module() local
259 read_portion(struct read_state *read_state, void **data, size_t *data_size, GElf_Addr start, size_t segment, GElf_Addr vaddr, size_t filesz) read_portion() argument
995 GElf_Addr vaddr = is32 ? p32[i].p_vaddr : p64[i].p_vaddr; dwfl_segment_report_module() local
[all...]
H A 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()
H A Dlinux-kernel-modules.c574 Dwarf_Addr vaddr, const char *secname) in check_notes()
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()
573 check_notes(Dwfl_Module *mod, const char *notesfile, Dwarf_Addr vaddr, const char *secname) check_notes() argument
H A 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/
H A 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()
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
161 clif_dump_gl_shader_state_record(struct clif_dump *clif, struct reloc_worklist_entry *reloc, void *vaddr, bool including_gs) clif_dump_gl_shader_state_record() argument
445 clif_dump_add_bo(struct clif_dump *clif, const char *name, uint32_t offset, uint32_t size, void *vaddr) clif_dump_add_bo() argument
[all...]
H A Dclif_dump.h40 uint32_t offset, uint32_t size, void *vaddr);
/third_party/FreeBSD/sys/compat/linuxkpi/common/src/
H A 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()
286 VM_ERR("out of range:base=%x size=%d vaddr=%x len=%u", in remap_pfn_range()
287 region->range.base, region->range.size, vaddr, siz in remap_pfn_range()
[all...]
/third_party/elfutils/libdwelf/
H A 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/node/deps/v8/src/base/platform/
H A Dplatform-qnx.cc134 map.info.vaddr = mapinfo->vaddr; in GetSharedLibraryAddresses()
138 result.push_back(SharedLibraryAddress(map.info.path, mapinfo->vaddr, in GetSharedLibraryAddresses()
139 mapinfo->vaddr + mapinfo->size)); in GetSharedLibraryAddresses()
/third_party/skia/third_party/externals/swiftshader/src/Common/
H A DGrallocAndroid.cpp137 int GrallocModule::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()
H A DGrallocAndroid.hpp40 int lock(buffer_handle_t handle, int usage, int left, int top, int width, int height, void **vaddr);
/third_party/skia/third_party/externals/swiftshader/src/System/
H A DGrallocAndroid.cpp137 int GrallocModule::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/mesa3d/src/gallium/drivers/vc4/
H A 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, (voi in vc4_simulator_create_shader_bo_ioctl()
[all...]
/third_party/mesa3d/src/gallium/drivers/vc4/kernel/
H A Dvc4_gem.c61 * bo->vaddr is uncached access. in vc4_get_bcl()
117 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/libdrm/exynos/
H A 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()
H A Dexynos_drmif.h49 * @vaddr: user space address to a gem buffer mmapped.
57 void *vaddr; member
/third_party/libabigail/tests/data/test-read-ctf/
H A Dtest-anonymous-fields.c9 unsigned long vaddr; member
/third_party/mesa3d/include/android_stub/hardware/
H A Dgralloc.h204 * If usage specifies GRALLOC_USAGE_SW_*, vaddr is filled with the address
231 void** vaddr);
285 void** vaddr, int fenceFd);
/third_party/libunwind/libunwind/include/
H A Dlibunwind-coredump.h49 unsigned long vaddr,
/third_party/libunwind/libunwind/src/coredump/
H A D_UCD_create.c316 unsigned long vaddr, in _UCD_add_backing_file_at_vaddr()
323 if (phdr->p_vaddr != vaddr) in _UCD_add_backing_file_at_vaddr()
315 _UCD_add_backing_file_at_vaddr(struct UCD_info *ui, unsigned long vaddr, const char *filename) _UCD_add_backing_file_at_vaddr() argument
/third_party/libunwind/libunwind/src/dwarf/
H A DGfind_proc_info-lsb.c613 Elf_W(Addr) vaddr = phdr->p_vaddr + load_base; in dwarf_callback()
615 if (ip >= vaddr && ip < vaddr + phdr->p_memsz) in dwarf_callback()
618 if (vaddr + phdr->p_filesz > max_load_addr) in dwarf_callback()
619 max_load_addr = vaddr + phdr->p_filesz; in dwarf_callback()

Completed in 13 milliseconds

123