Home
last modified time | relevance | path

Searched defs:vaddr (Results 1 – 25 of 519) sorted by relevance

12345678910>>...21

/linux/arch/m68k/include/asm/
H A Dbitops.h31 static inline void bset_reg_set_bit(int nr, volatile unsigned long *vaddr) in bset_reg_set_bit()
41 static inline void bset_mem_set_bit(int nr, volatile unsigned long *vaddr) in bset_mem_set_bit()
50 static inline void bfset_mem_set_bit(int nr, volatile unsigned long *vaddr) in bfset_mem_set_bit()
59 #define set_bit(nr, vaddr) bset_reg_set_bit(nr, vaddr) argument
61 #define set_bit(nr, vaddr) bset_mem_set_bit(nr, vaddr) argument
63 #define set_bit(nr, vaddr) (__builtin_constant_p(nr) ? \ argument
74 static inline void bclr_reg_clear_bit(int nr, volatile unsigned long *vaddr) in bclr_reg_clear_bit()
84 static inline void bclr_mem_clear_bit(int nr, volatile unsigned long *vaddr) in bclr_mem_clear_bit()
93 static inline void bfclr_mem_clear_bit(int nr, volatile unsigned long *vaddr) in bfclr_mem_clear_bit()
102 #define clear_bit(nr, vaddr) bclr_reg_clear_bit(nr, vaddr) argument
[all …]
H A Dpage_mm.h55 #define clear_user_page(addr, vaddr, page) \ argument
59 #define copy_user_page(to, from, vaddr, page) \ argument
70 static inline unsigned long ___pa(void *vaddr) in ___pa()
80 #define __pa(vaddr) ___pa((void *)(long)(vaddr)) argument
83 void *vaddr; in __va() local
/linux/arch/riscv/mm/
H A Dkasan_init.c29 static void __init kasan_populate_pte(pmd_t *pmd, unsigned long vaddr, unsigned long end) in kasan_populate_pte()
50 static void __init kasan_populate_pmd(pud_t *pud, unsigned long vaddr, unsigned long end) in kasan_populate_pmd()
81 unsigned long vaddr, unsigned long end) in kasan_populate_pud()
112 unsigned long vaddr, unsigned long end) in kasan_populate_p4d()
143 unsigned long vaddr, unsigned long end) in kasan_populate_pgd()
166 unsigned long vaddr, unsigned long end) in kasan_early_clear_pud()
191 unsigned long vaddr, unsigned long end) in kasan_early_clear_p4d()
217 unsigned long vaddr, unsigned long end) in kasan_early_clear_pgd()
235 unsigned long vaddr, in kasan_early_populate_pud()
264 unsigned long vaddr, in kasan_early_populate_p4d()
[all …]
H A Ddma-noncoherent.c20 void *vaddr = phys_to_virt(paddr); in arch_dma_cache_wback() local
33 void *vaddr = phys_to_virt(paddr); in arch_dma_cache_inv() local
47 void *vaddr = phys_to_virt(paddr); in arch_dma_cache_wback_inv() local
/linux/arch/s390/include/asm/
H A Didals.h33 static inline bool idal_is_needed(void *vaddr, unsigned int length) in idal_is_needed()
43 static inline unsigned int idal_nr_words(void *vaddr, unsigned int length) in idal_nr_words()
56 static inline unsigned int idal_2k_nr_words(void *vaddr, unsigned int length) in idal_2k_nr_words()
69 static inline dma64_t *idal_create_words(dma64_t *idaws, void *vaddr, unsigned int length) in idal_create_words()
88 static inline int set_normalized_cda(struct ccw1 *ccw, void *vaddr) in set_normalized_cda()
136 void *vaddr; in idal_buffer_alloc() local
172 void *vaddr; in idal_buffer_free() local
198 void *vaddr; in idal_buffer_set_cda() local
222 void *vaddr; in idal_buffer_to_user() local
244 void *vaddr; in idal_buffer_from_user() local
/linux/mm/
H A Dhighmem.c165 struct page *__kmap_to_page(void *vaddr) in __kmap_to_page()
247 unsigned long vaddr; in map_new_virtual() local
309 unsigned long vaddr; in kmap_high() local
339 unsigned long vaddr, flags; in kmap_high_get() local
361 unsigned long vaddr; in kunmap_high() local
495 # define arch_kmap_local_post_map(vaddr, pteval) do { } while (0) argument
499 # define arch_kmap_local_pre_unmap(vaddr) do { } while (0) argument
503 # define arch_kmap_local_post_unmap(vaddr) do { } while (0) argument
507 #define arch_kmap_local_unmap_idx(idx, vaddr) kmap_local_calc_idx(idx) argument
518 #define arch_kmap_local_set_pte(mm, vaddr, ptep, ptev) \ argument
[all …]
/linux/arch/parisc/kernel/
H A Dpci-dma.c77 unsigned long vaddr, in map_pte_uncached()
104 static inline int map_pmd_uncached(pmd_t * pmd, unsigned long vaddr, in map_pmd_uncached()
127 static inline int map_uncached_pages(unsigned long vaddr, unsigned long size, in map_uncached_pages()
153 static inline void unmap_uncached_pte(pmd_t * pmd, unsigned long vaddr, in unmap_uncached_pte()
189 static inline void unmap_uncached_pmd(pgd_t * dir, unsigned long vaddr, in unmap_uncached_pmd()
216 static void unmap_uncached_pages(unsigned long vaddr, unsigned long size) in unmap_uncached_pages()
305 pcxl_free_range(unsigned long vaddr, size_t size) in pcxl_free_range()
404 unsigned long vaddr; in arch_dma_alloc() local
423 void arch_dma_free(struct device *dev, size_t size, void *vaddr, in arch_dma_free()
/linux/arch/sparc/include/asm/
H A Dhighmem.h54 #define arch_kmap_local_pre_map(vaddr, pteval) flush_cache_all() argument
55 #define arch_kmap_local_pre_unmap(vaddr) flush_cache_all() argument
56 #define arch_kmap_local_post_map(vaddr, pteval) flush_tlb_all() argument
57 #define arch_kmap_local_post_unmap(vaddr) flush_tlb_all() argument
/linux/include/linux/
H A Dio-mapping.h81 io_mapping_unmap_atomic(void __iomem *vaddr) in io_mapping_unmap_atomic()
101 static inline void io_mapping_unmap_local(void __iomem *vaddr) in io_mapping_unmap_local()
120 io_mapping_unmap(void __iomem *vaddr) in io_mapping_unmap()
162 io_mapping_unmap(void __iomem *vaddr) in io_mapping_unmap()
180 io_mapping_unmap_atomic(void __iomem *vaddr) in io_mapping_unmap_atomic()
196 static inline void io_mapping_unmap_local(void __iomem *vaddr) in io_mapping_unmap_local()
H A Dhighmem.h192 static inline void flush_kernel_vmap_range(void *vaddr, int size) in flush_kernel_vmap_range()
195 static inline void invalidate_kernel_vmap_range(void *vaddr, int size) in invalidate_kernel_vmap_range()
202 static inline void clear_user_highpage(struct page *page, unsigned long vaddr) in clear_user_highpage()
225 unsigned long vaddr) in vma_alloc_zeroed_movable_folio()
304 unsigned long vaddr, struct vm_area_struct *vma) in copy_user_highpage()
342 unsigned long vaddr, struct vm_area_struct *vma) in copy_mc_user_highpage()
381 unsigned long vaddr, struct vm_area_struct *vma) in copy_mc_user_highpage()
/linux/arch/arm/mm/
H A Dcopypage-v6.c31 struct page *from, unsigned long vaddr, struct vm_area_struct *vma) in v6_copy_user_highpage_nonaliasing()
46 static void v6_clear_user_highpage_nonaliasing(struct page *page, unsigned long vaddr) in v6_clear_user_highpage_nonaliasing()
70 struct page *from, unsigned long vaddr, struct vm_area_struct *vma) in v6_copy_user_highpage_aliasing()
104 static void v6_clear_user_highpage_aliasing(struct page *page, unsigned long vaddr) in v6_clear_user_highpage_aliasing()
/linux/arch/sh/mm/
H A Dkmap.c21 unsigned long vaddr; in kmap_coherent_init() local
32 unsigned long vaddr; in kmap_coherent() local
54 unsigned long vaddr = (unsigned long)kvaddr & PAGE_MASK; in kunmap_coherent() local
/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_phys.c28 void *vaddr; in i915_gem_object_get_pages_phys() local
102 void *vaddr = sg_page(pages->sgl); in i915_gem_object_put_pages_phys() local
142 void *vaddr = sg_page(obj->mm.pages->sgl) + args->offset; in i915_gem_object_pwrite_phys() local
173 void *vaddr = sg_page(obj->mm.pages->sgl) + args->offset; in i915_gem_object_pread_phys() local
/linux/drivers/misc/sgi-gru/
H A Dgrufault.c48 struct vm_area_struct *gru_find_vma(unsigned long vaddr) in gru_find_vma()
66 static struct gru_thread_state *gru_find_lock_gts(unsigned long vaddr) in gru_find_lock_gts()
83 static struct gru_thread_state *gru_alloc_locked_gts(unsigned long vaddr) in gru_alloc_locked_gts()
178 unsigned long vaddr, int write, in non_atomic_pte_lookup()
205 static int atomic_pte_lookup(struct vm_area_struct *vma, unsigned long vaddr, in atomic_pte_lookup()
252 static int gru_vtop(struct gru_thread_state *gts, unsigned long vaddr, in gru_vtop()
316 unsigned long vaddr = 0, gpa; in gru_preload_tlb() local
363 unsigned long gpa = 0, vaddr = 0; in gru_try_dropin() local
/linux/arch/mips/include/asm/
H A Dhighmem.h54 #define arch_kmap_local_set_pte(mm, vaddr, ptep, ptev) set_pte(ptep, ptev) argument
55 #define arch_kmap_local_post_map(vaddr, pteval) local_flush_tlb_one(vaddr) argument
56 #define arch_kmap_local_post_unmap(vaddr) local_flush_tlb_one(vaddr) argument
/linux/arch/powerpc/include/asm/
H A Dhighmem.h61 #define arch_kmap_local_set_pte(mm, vaddr, ptep, ptev) \ argument
63 #define arch_kmap_local_post_map(vaddr, pteval) \ argument
65 #define arch_kmap_local_post_unmap(vaddr) \ argument
/linux/arch/arm/include/asm/
H A Dhighmem.h66 #define arch_kmap_local_post_map(vaddr, pteval) \ argument
69 #define arch_kmap_local_pre_unmap(vaddr) \ argument
75 #define arch_kmap_local_post_unmap(vaddr) \ argument
/linux/arch/x86/mm/
H A Dinit_32.c107 pmd_t * __init populate_extra_pmd(unsigned long vaddr) in populate_extra_pmd()
115 pte_t * __init populate_extra_pte(unsigned long vaddr) in populate_extra_pte()
132 unsigned long vaddr; in page_table_range_init_count() local
156 unsigned long vaddr, pte_t *lastpte, in page_table_kmap_check()
207 unsigned long vaddr; in page_table_range_init() local
391 unsigned long vaddr = PKMAP_BASE; in permanent_kmaps_init() local
498 unsigned long vaddr, end; in early_ioremap_page_table_range_init() local
/linux/drivers/net/ethernet/freescale/fman/
H A Dfman_muram.c19 unsigned long vaddr) in fman_muram_vbase_to_offset()
40 void __iomem *vaddr; in fman_muram_init() local
106 unsigned long vaddr; in fman_muram_alloc() local
/linux/arch/arc/mm/
H A Dcache.c188 void __cache_line_loop_v3(phys_addr_t paddr, unsigned long vaddr, in __cache_line_loop_v3()
248 void __cache_line_loop_v4(phys_addr_t paddr, unsigned long vaddr, in __cache_line_loop_v4()
302 void __cache_line_loop_v4(phys_addr_t paddr, unsigned long vaddr, in __cache_line_loop_v4()
460 static inline void __dc_line_op(phys_addr_t paddr, unsigned long vaddr, in __dc_line_op()
482 #define __dc_line_op(paddr, vaddr, sz, op) argument
496 __ic_line_inv_vaddr_local(phys_addr_t paddr, unsigned long vaddr, in __ic_line_inv_vaddr_local()
514 phys_addr_t paddr, vaddr; member
525 static void __ic_line_inv_vaddr(phys_addr_t paddr, unsigned long vaddr, in __ic_line_inv_vaddr()
848 void __sync_icache_dcache(phys_addr_t paddr, unsigned long vaddr, int len) in __sync_icache_dcache()
855 void __inv_icache_pages(phys_addr_t paddr, unsigned long vaddr, unsigned nr) in __inv_icache_pages()
[all …]
/linux/drivers/xen/xenbus/
H A Dxenbus_client.c388 int xenbus_setup_ring(struct xenbus_device *dev, gfp_t gfp, void **vaddr, in xenbus_setup_ring()
447 void xenbus_teardown_ring(void **vaddr, unsigned int nr_pages, in xenbus_teardown_ring()
526 unsigned int nr_grefs, void **vaddr) in xenbus_map_ring_valloc()
659 unsigned long vaddr = (unsigned long)gfn_to_virt(gfn); in xenbus_map_ring_setup_grant_hvm() local
671 void **vaddr) in xenbus_map_ring_hvm()
738 int xenbus_unmap_ring_vfree(struct xenbus_device *dev, void *vaddr) in xenbus_unmap_ring_vfree()
757 void **vaddr) in xenbus_map_ring_pv()
797 static int xenbus_unmap_ring_pv(struct xenbus_device *dev, void *vaddr) in xenbus_unmap_ring_pv()
883 static int xenbus_unmap_ring_hvm(struct xenbus_device *dev, void *vaddr) in xenbus_unmap_ring_hvm()
/linux/arch/sparc/prom/
H A Dmisc_64.c204 unsigned long tte_data, unsigned long vaddr) in tlb_load()
225 unsigned long vaddr) in prom_itlb_load()
232 unsigned long vaddr) in prom_dtlb_load()
238 unsigned long vaddr, unsigned long paddr) in prom_map()
263 void prom_unmap(unsigned long size, unsigned long vaddr) in prom_unmap()
/linux/kernel/events/
H A Duprobes.c118 unsigned long vaddr; /* Page(s) of instruction slots */ global() member
149 vaddr_to_offset(struct vm_area_struct * vma,unsigned long vaddr) vaddr_to_offset() argument
253 copy_from_page(struct page * page,unsigned long vaddr,void * dst,int len) copy_from_page() argument
260 copy_to_page(struct page * page,unsigned long vaddr,const void * src,int len) copy_to_page() argument
267 verify_opcode(struct page * page,unsigned long vaddr,uprobe_opcode_t * new_opcode) verify_opcode() argument
354 unsigned long vaddr = offset_to_vaddr(vma, uprobe->ref_ctr_offset); valid_ref_ctr_vma() local
378 __update_ref_ctr(struct mm_struct * mm,unsigned long vaddr,short d) __update_ref_ctr() argument
474 uprobe_write_opcode(struct arch_uprobe * auprobe,struct mm_struct * mm,unsigned long vaddr,uprobe_opcode_t opcode) uprobe_write_opcode() argument
583 set_swbp(struct arch_uprobe * auprobe,struct mm_struct * mm,unsigned long vaddr) set_swbp() argument
598 set_orig_insn(struct arch_uprobe * auprobe,struct mm_struct * mm,unsigned long vaddr) set_orig_insn() argument
1063 prepare_uprobe(struct uprobe * uprobe,struct file * file,struct mm_struct * mm,unsigned long vaddr) prepare_uprobe() argument
1119 install_breakpoint(struct uprobe * uprobe,struct mm_struct * mm,struct vm_area_struct * vma,unsigned long vaddr) install_breakpoint() argument
1146 remove_breakpoint(struct uprobe * uprobe,struct mm_struct * mm,unsigned long vaddr) remove_breakpoint() argument
1155 unsigned long vaddr; global() member
1439 unsigned long vaddr; unapply_uprobe() local
1528 unsigned long vaddr; delayed_ref_ctr_inc() local
1589 unsigned long vaddr = offset_to_vaddr(vma, uprobe->offset); uprobe_mmap() local
1707 __create_xol_area(unsigned long vaddr) __create_xol_area() argument
1856 arch_uprobe_copy_ixol(struct page * page,unsigned long vaddr,void * src,unsigned long len) arch_uprobe_copy_ixol() argument
2271 is_trap_at_addr(struct mm_struct * mm,unsigned long vaddr) is_trap_at_addr() argument
[all...]
/linux/arch/csky/abiv2/inc/abi/
H A Dpage.h3 static inline void clear_user_page(void *addr, unsigned long vaddr, in clear_user_page()
9 static inline void copy_user_page(void *to, void *from, unsigned long vaddr, in copy_user_page()
/linux/arch/x86/include/asm/
H A Dmem_encrypt.h90 early_set_memory_decrypted(unsigned long vaddr, unsigned long size) { return 0; } in early_set_memory_decrypted()
92 early_set_memory_encrypted(unsigned long vaddr, unsigned long size) { return 0; } in early_set_memory_encrypted()
94 early_set_mem_enc_dec_hypercall(unsigned long vaddr, unsigned long size, bool enc) {} in early_set_mem_enc_dec_hypercall()

12345678910>>...21