/mm/ |
D | highmem.c | 150 struct page *kmap_to_page(void *vaddr) in kmap_to_page() argument 152 unsigned long addr = (unsigned long)vaddr; in kmap_to_page() 215 unsigned long vaddr; in map_new_virtual() local 257 vaddr = PKMAP_ADDR(last_pkmap_nr); in map_new_virtual() 258 set_pte_at(&init_mm, vaddr, in map_new_virtual() 262 set_page_address(page, (void *)vaddr); in map_new_virtual() 264 return vaddr; in map_new_virtual() 277 unsigned long vaddr; in kmap_high() local 284 vaddr = (unsigned long)page_address(page); in kmap_high() 285 if (!vaddr) in kmap_high() [all …]
|
D | debug_vm_pgtable.c | 91 unsigned long pfn, unsigned long vaddr, in pte_advanced_tests() argument 104 set_pte_at(mm, vaddr, ptep, pte); in pte_advanced_tests() 105 ptep_set_wrprotect(mm, vaddr, ptep); in pte_advanced_tests() 108 ptep_get_and_clear(mm, vaddr, ptep); in pte_advanced_tests() 115 set_pte_at(mm, vaddr, ptep, pte); in pte_advanced_tests() 118 ptep_set_access_flags(vma, vaddr, ptep, pte, 1); in pte_advanced_tests() 121 ptep_get_and_clear_full(mm, vaddr, ptep, 1); in pte_advanced_tests() 127 set_pte_at(mm, vaddr, ptep, pte); in pte_advanced_tests() 128 ptep_test_and_clear_young(vma, vaddr, ptep); in pte_advanced_tests() 132 ptep_get_and_clear_full(mm, vaddr, ptep, 1); in pte_advanced_tests() [all …]
|
D | dmapool.c | 55 void *vaddr; member 214 *(int *)(page->vaddr + offset) = next; in pool_initialise_page() 226 page->vaddr = dma_alloc_coherent(pool->dev, pool->allocation, in pool_alloc_page() 228 if (page->vaddr) { in pool_alloc_page() 230 memset(page->vaddr, POOL_POISON_FREED, pool->allocation); in pool_alloc_page() 252 memset(page->vaddr, POOL_POISON_FREED, pool->allocation); in pool_free_page() 254 dma_free_coherent(pool->dev, pool->allocation, page->vaddr, dma); in pool_free_page() 289 pool->name, page->vaddr); in dma_pool_destroy() 292 pool->name, page->vaddr); in dma_pool_destroy() 343 page->offset = *(int *)(page->vaddr + offset); in dma_pool_alloc() [all …]
|
D | ioremap.c | 255 unsigned long offset, vaddr; in ioremap_prot() local 273 vaddr = (unsigned long)area->addr; in ioremap_prot() 275 if (ioremap_page_range(vaddr, vaddr + size, addr, __pgprot(prot))) { in ioremap_prot() 280 return (void __iomem *)(vaddr + offset); in ioremap_prot()
|
D | vmalloc.c | 1553 void *vaddr; in new_vmap_block() local 1570 vaddr = vmap_block_vaddr(va->va_start, 0); in new_vmap_block() 1595 return vaddr; in new_vmap_block() 1656 void *vaddr = NULL; in vb_alloc() local 1683 vaddr = vmap_block_vaddr(vb->va->va_start, pages_off); in vb_alloc() 1699 if (!vaddr) in vb_alloc() 1700 vaddr = new_vmap_block(order, gfp_mask); in vb_alloc() 1702 return vaddr; in vb_alloc() 2886 char *vaddr, *buf_start = buf; in vread() local 2903 vaddr = (char *) vm->addr; in vread() [all …]
|
D | zsmalloc.c | 988 void *vaddr; in init_zspage() local 992 vaddr = kmap_atomic(page); in init_zspage() 993 link = (struct link_free *)vaddr + off / sizeof(*link); in init_zspage() 1015 kunmap_atomic(vaddr); in init_zspage() 1370 void *vaddr; in obj_malloc() local 1383 vaddr = kmap_atomic(m_page); in obj_malloc() 1384 link = (struct link_free *)vaddr + m_offset / sizeof(*link); in obj_malloc() 1393 kunmap_atomic(vaddr); in obj_malloc() 1476 void *vaddr; in obj_free() local 1483 vaddr = kmap_atomic(f_page); in obj_free() [all …]
|
D | hugetlb.c | 4899 unsigned long vaddr = *position; in follow_hugetlb_page() local 4904 while (vaddr < vma->vm_end && remainder) { in follow_hugetlb_page() 4926 pte = huge_pte_offset(mm, vaddr & huge_page_mask(h), in follow_hugetlb_page() 4940 !hugetlbfs_pagecache_present(h, vma, vaddr)) { in follow_hugetlb_page() 4980 ret = hugetlb_fault(mm, vma, vaddr, fault_flags); in follow_hugetlb_page() 5005 pfn_offset = (vaddr & ~huge_page_mask(h)) >> PAGE_SHIFT; in follow_hugetlb_page() 5013 (vaddr + huge_page_size(h) < vma->vm_end) && in follow_hugetlb_page() 5015 vaddr += huge_page_size(h); in follow_hugetlb_page() 5046 vaddr += PAGE_SIZE; in follow_hugetlb_page() 5050 if (vaddr < vma->vm_end && remainder && in follow_hugetlb_page() [all …]
|
/mm/damon/ |
D | Makefile | 4 obj-$(CONFIG_DAMON_VADDR) += prmtv-common.o vaddr.o
|