Home
last modified time | relevance | path

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

123

/external/oprofile/module/x86/
Dop_fixmap.c41 /*static*/ void set_pte_phys(ulong vaddr, ulong phys) in set_pte_phys() argument
48 pgd = pgd_offset_k(vaddr); in set_pte_phys()
49 pmd = pmd_offset(pgd, vaddr); in set_pte_phys()
50 pte = pte_offset(pmd, vaddr); in set_pte_phys()
57 __flush_tlb_one(vaddr); in set_pte_phys()
69 ulong vaddr; in free_fixmap() local
74 vaddr = virt_apic_base; in free_fixmap()
75 if (!vaddr) in free_fixmap()
78 pgd = pgd_offset_k(vaddr); in free_fixmap()
82 pmd = pmd_offset(pgd, vaddr); in free_fixmap()
[all …]
/external/kernel-headers/original/asm-arm/arch/
Dio.h103 #define __REGV16(vaddr) ((__regbase16 *)((vaddr)&~0xff)) \ argument
104 ->offset[((vaddr)&0xff)>>1]
109 #define __REGV8(vaddr) ((__regbase8 *)((vaddr)&~4095)) \ argument
110 ->offset[((vaddr)&4095)>>0]
114 #define __REGV32(vaddr) ((__regbase32 *)((vaddr)&~4095)) \ argument
115 ->offset[((vaddr)&4095)>>2]
/external/elfutils/libdwfl/
Ddwfl_module_report_build_id.c56 GElf_Addr vaddr) in dwfl_module_report_build_id() argument
67 && (mod->build_id_vaddr == vaddr || vaddr == 0) in dwfl_module_report_build_id()
75 if (vaddr != 0 && (vaddr < mod->low_addr || vaddr + len > mod->high_addr)) in dwfl_module_report_build_id()
97 mod->build_id_vaddr = vaddr; in dwfl_module_report_build_id()
Ddwfl_segment_report_module.c152 GElf_Addr vaddr, size_t filesz) in dwfl_segment_report_module()
154 if (vaddr - start + filesz > buffer_available) in dwfl_segment_report_module()
158 return segment_read (addr_segndx (dwfl, segment, vaddr), in dwfl_segment_report_module()
159 data, data_size, vaddr, filesz); in dwfl_segment_report_module()
163 *data = vaddr - start + buffer; in dwfl_segment_report_module()
280 inline void consider_notes (GElf_Addr vaddr, GElf_Xword filesz) in dwfl_segment_report_module()
288 if (read_portion (&data, &data_size, vaddr, filesz)) in dwfl_segment_report_module()
325 build_id_vaddr = note_desc - (const void *) notes + vaddr; in dwfl_segment_report_module()
344 GElf_Addr vaddr, GElf_Xword memsz, in dwfl_segment_report_module()
351 dyn_vaddr = vaddr; in dwfl_segment_report_module()
[all …]
Ddwfl_module_build_id.c54 const void *bits, int len, GElf_Addr vaddr) in found_build_id() argument
71 mod->build_id_vaddr = vaddr; in found_build_id()
146 const unsigned char **bits, GElf_Addr *vaddr)
150 const unsigned char **bits, GElf_Addr *vaddr) in dwfl_module_build_id() argument
172 *vaddr = mod->build_id_vaddr; in dwfl_module_build_id()
185 const unsigned char **bits, GElf_Addr *vaddr)
187 int result = INTUSE(dwfl_module_build_id) (mod, bits, vaddr);
189 *vaddr += (result + 3) & -4;
Dlink_map.c165 GElf_Addr vaddr, in integrated_memory_callback() argument
182 vaddr, minread, in integrated_memory_callback()
193 vaddr, minread, info->memory_callback_arg); in integrated_memory_callback()
197 vaddr, minread, info->memory_callback_arg)) in integrated_memory_callback()
206 (void) INTUSE(dwfl_addrsegment) (dwfl, vaddr, &mod); in integrated_memory_callback()
211 Elf_Scn *scn = INTUSE(dwfl_module_address_section) (mod, &vaddr, &bias); in integrated_memory_callback()
220 vaddr - mod->main.bias, minread, mod->main.elf); in integrated_memory_callback()
230 if (unlikely (data->d_size < vaddr)) in integrated_memory_callback()
234 void *contents = data->d_buf + vaddr; in integrated_memory_callback()
235 size_t avail = data->d_size - vaddr; in integrated_memory_callback()
[all …]
Dlinux-kernel-modules.c433 Dwarf_Addr vaddr, const char *secname) in check_notes() argument
473 (mod, NULL, mod->name, 0, secname, 0, NULL, &vaddr) != 0 in check_notes()
474 || vaddr == (GElf_Addr) -1l)) in check_notes()
475 vaddr = 0; in check_notes()
477 if (vaddr != 0) in check_notes()
478 vaddr += bits - buf.data; in check_notes()
480 nhdr->n_descsz, vaddr); in check_notes()
489 check_kernel_notes (Dwfl_Module *kernelmod, GElf_Addr vaddr) in check_kernel_notes() argument
491 return check_notes (kernelmod, KNOTESFILE, vaddr, NULL) < 0 ? -1 : 0; in check_kernel_notes()
Ddwfl_build_id_find_debuginfo.c66 GElf_Addr vaddr; in dwfl_build_id_find_debuginfo() local
67 if (INTUSE(dwfl_module_build_id) (mod, &bits, &vaddr) > 0) in dwfl_build_id_find_debuginfo()
Delf-from-memory.c219 inline void handle_segment (GElf_Addr vaddr, GElf_Off offset, in elf_from_remote_memory()
229 loadbase = ehdr_vma - (vaddr & -align); in elf_from_remote_memory()
283 inline bool handle_segment (GElf_Addr vaddr, GElf_Off offset, in elf_from_remote_memory()
291 (loadbase + vaddr) & -align, in elf_from_remote_memory()
/external/kernel-headers/original/linux/
Dhighmem.h48 static inline void clear_user_highpage(struct page *page, unsigned long vaddr) in clear_user_highpage() argument
51 clear_user_page(addr, vaddr, page); in clear_user_highpage()
59 alloc_zeroed_user_highpage(struct vm_area_struct *vma, unsigned long vaddr) in alloc_zeroed_user_highpage() argument
61 struct page *page = alloc_page_vma(GFP_HIGHUSER, vma, vaddr); in alloc_zeroed_user_highpage()
64 clear_user_highpage(page, vaddr); in alloc_zeroed_user_highpage()
92 static inline void copy_user_highpage(struct page *to, struct page *from, unsigned long vaddr) in copy_user_highpage() argument
98 copy_user_page(vto, vfrom, vaddr, to); in copy_user_highpage()
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/Xxf86dga/
DXF86DGA.c387 void * vaddr; /* mapped address, without the delta */ member
468 void *vaddr; in MapPhysAddress() local
480 return (void *)((unsigned long)mp->vaddr + mp->delta); in MapPhysAddress()
509 mloc.vaddr = (char *)0; in MapPhysAddress()
514 if ((vaddr = (void *)ioctl(mapFd, MAP, &mloc)) == (void *)-1) in MapPhysAddress()
545 vaddr = dmap.a.user; in MapPhysAddress()
551 vaddr = (void *)smem_create("XF86DGA", (char *)offset, in MapPhysAddress()
561 vaddr = (void *)mmap(NULL, size + delta, PROT_READ | PROT_WRITE, in MapPhysAddress()
563 if (vaddr == (void *)-1) in MapPhysAddress()
567 if (!vaddr) { in MapPhysAddress()
[all …]
/external/kernel-headers/original/asm-mips/
Dtlbflush.h23 extern void local_flush_tlb_one(unsigned long vaddr);
33 extern void flush_tlb_one(unsigned long vaddr);
43 #define flush_tlb_one(vaddr) local_flush_tlb_one(vaddr) argument
Dfixmap.h105 static inline unsigned long virt_to_fix(const unsigned long vaddr) in virt_to_fix() argument
107 BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START); in virt_to_fix()
108 return __virt_to_fix(vaddr); in virt_to_fix()
Dpgtable.h76 #define ZERO_PAGE(vaddr) \ argument
77 (virt_to_page((void *)(empty_zero_page + (((unsigned long)(vaddr)) & zero_page_mask))))
357 unsigned long vaddr, in io_remap_pfn_range() argument
363 return remap_pfn_range(vma, vaddr, phys_addr_high >> PAGE_SHIFT, size, prot); in io_remap_pfn_range()
366 #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ argument
367 remap_pfn_range(vma, vaddr, pfn, size, prot)
Ddma-mapping.h11 void *vaddr, dma_addr_t dma_handle);
17 void *vaddr, dma_addr_t dma_handle);
68 extern void dma_cache_sync(struct device *dev, void *vaddr, size_t size,
Dcacheflush.h85 struct page *page, unsigned long vaddr, void *dst, const void *src,
89 struct page *page, unsigned long vaddr, void *dst, const void *src,
/external/kernel-headers/original/asm-x86/
Dfixmap_32.h150 static inline unsigned long virt_to_fix(const unsigned long vaddr) in virt_to_fix() argument
152 BUG_ON(vaddr >= FIXADDR_TOP || vaddr < FIXADDR_START); in virt_to_fix()
153 return __virt_to_fix(vaddr); in virt_to_fix()
Dpgtable_32.h32 #define ZERO_PAGE(vaddr) (virt_to_page(empty_zero_page)) argument
450 extern int set_kernel_exec(unsigned long vaddr, int enable);
452 static inline int set_kernel_exec(unsigned long vaddr, int enable) { return 0;} in set_kernel_exec() argument
471 #define kpte_clear_flush(ptep, vaddr) \ argument
473 pte_clear(&init_mm, vaddr, ptep); \
474 __flush_tlb_one(vaddr); \
504 #define io_remap_pfn_range(vma, vaddr, pfn, size, prot) \ argument
505 remap_pfn_range(vma, vaddr, pfn, size, prot)
Dpage_32.h34 #define clear_user_page(page, vaddr, pg) clear_page(page) argument
35 #define copy_user_page(to, from, vaddr, pg) copy_page(to, from) argument
37 #define __alloc_zeroed_user_highpage(movableflags, vma, vaddr) \ argument
38 alloc_page_vma(GFP_HIGHUSER | __GFP_ZERO | movableflags, vma, vaddr)
Dcacheflush.h22 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
24 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/external/kernel-headers/original/asm-arm/
Dpage.h131 #define clear_user_page(addr,vaddr,pg) __cpu_clear_user_page(addr, vaddr) argument
132 #define copy_user_page(to,from,vaddr,pg) __cpu_copy_user_page(to, from, vaddr) argument
Dcacheflush.h19 #define CACHE_COLOUR(vaddr) ((vaddr & (SHMLBA - 1)) >> PAGE_SHIFT) argument
248 #define copy_to_user_page(vma, page, vaddr, dst, src, len) \ argument
251 flush_ptrace_access(vma, page, vaddr, dst, len, 1);\
254 #define copy_from_user_page(vma, page, vaddr, dst, src, len) \ argument
/external/qemu/memcheck/
Dmemcheck.c98 target_ulong vaddr; in av_access_violation() local
109 vaddr = memcheck_tpc_to_gpc(retaddr); in av_access_violation()
114 const MMRangeDesc* rdesc = procdesc_get_range_desc(proc, vaddr); in av_access_violation()
117 printf(" In module %s at address 0x%08X\n", rdesc->path, vaddr); in av_access_violation()
119 memcheck_get_address_info(vaddr, rdesc, &elff_info, &elff_handle); in av_access_violation()
155 mmrangedesc_get_module_offset(rdesc, vaddr)); in av_access_violation()
158 printf(" In unknown module at address 0x%08X\n", vaddr); in av_access_violation()
/external/qemu/
Dexec.c394 target_ulong vaddr);
1378 wp->vaddr = addr; in cpu_watchpoint_insert()
1403 if (addr == wp->vaddr && len_mask == wp->len_mask in cpu_watchpoint_remove()
1417 tlb_flush_page(env, watchpoint->vaddr); in cpu_watchpoint_remove_by_ref()
1761 cpu_watchpoint_insert(new_env, wp->vaddr, (~wp->len_mask) + 1, in cpu_copy()
1864 target_ulong vaddr) in tlb_unprotect_code_phys() argument
1967 static inline void tlb_set_dirty1(CPUTLBEntry *tlb_entry, target_ulong vaddr) in tlb_set_dirty1() argument
1969 if (tlb_entry->addr_write == (vaddr | TLB_NOTDIRTY)) in tlb_set_dirty1()
1970 tlb_entry->addr_write = vaddr; in tlb_set_dirty1()
1975 static inline void tlb_set_dirty(CPUState *env, target_ulong vaddr) in tlb_set_dirty() argument
[all …]
/external/qemu/hw/
Dgoldfish_trace.h114 extern void trace_dynamic_symbol_add(unsigned long vaddr, const char *name);
115 extern void trace_dynamic_symbol_remove(unsigned long vaddr);

123