Home
last modified time | relevance | path

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

/mm/
Dhighmem.c150 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 …]
Ddmapool.c55 void *vaddr; member
216 *(int *)(page->vaddr + offset) = next; in pool_initialise_page()
228 page->vaddr = dma_alloc_coherent(pool->dev, pool->allocation, in pool_alloc_page()
230 if (page->vaddr) { in pool_alloc_page()
232 memset(page->vaddr, POOL_POISON_FREED, pool->allocation); in pool_alloc_page()
254 memset(page->vaddr, POOL_POISON_FREED, pool->allocation); in pool_free_page()
256 dma_free_coherent(pool->dev, pool->allocation, page->vaddr, dma); in pool_free_page()
294 pool->name, page->vaddr); in dma_pool_destroy()
297 pool->name, page->vaddr); in dma_pool_destroy()
348 page->offset = *(int *)(page->vaddr + offset); in dma_pool_alloc()
[all …]
Dvmalloc.c1463 void *vaddr; in new_vmap_block() local
1487 vaddr = vmap_block_vaddr(va->va_start, 0); in new_vmap_block()
1511 return vaddr; in new_vmap_block()
1576 void *vaddr = NULL; in vb_alloc() local
1603 vaddr = vmap_block_vaddr(vb->va->va_start, pages_off); in vb_alloc()
1619 if (!vaddr) in vb_alloc()
1620 vaddr = new_vmap_block(order, gfp_mask); in vb_alloc()
1622 return vaddr; in vb_alloc()
2849 char *vaddr, *buf_start = buf; in vread() local
2866 vaddr = (char *) vm->addr; in vread()
[all …]
Dzsmalloc.c992 void *vaddr; in init_zspage() local
996 vaddr = kmap_atomic(page); in init_zspage()
997 link = (struct link_free *)vaddr + off / sizeof(*link); in init_zspage()
1019 kunmap_atomic(vaddr); in init_zspage()
1416 void *vaddr; in obj_malloc() local
1429 vaddr = kmap_atomic(m_page); in obj_malloc()
1430 link = (struct link_free *)vaddr + m_offset / sizeof(*link); in obj_malloc()
1439 kunmap_atomic(vaddr); in obj_malloc()
1522 void *vaddr; in obj_free() local
1529 vaddr = kmap_atomic(f_page); in obj_free()
[all …]
Dhugetlb.c4393 unsigned long vaddr = *position; in follow_hugetlb_page() local
4398 while (vaddr < vma->vm_end && remainder) { in follow_hugetlb_page()
4420 pte = huge_pte_offset(mm, vaddr & huge_page_mask(h), in follow_hugetlb_page()
4434 !hugetlbfs_pagecache_present(h, vma, vaddr)) { in follow_hugetlb_page()
4471 ret = hugetlb_fault(mm, vma, vaddr, fault_flags); in follow_hugetlb_page()
4496 pfn_offset = (vaddr & ~huge_page_mask(h)) >> PAGE_SHIFT; in follow_hugetlb_page()
4520 vaddr += PAGE_SIZE; in follow_hugetlb_page()
4524 if (vaddr < vma->vm_end && remainder && in follow_hugetlb_page()
4540 *position = vaddr; in follow_hugetlb_page()