Lines Matching refs:vaddr
400 void *vaddr; in persistent_ram_vmap() local
421 vaddr = vmap(pages, page_count, VM_MAP, prot); in persistent_ram_vmap()
429 return vaddr + offset_in_page(start); in persistent_ram_vmap()
463 prz->vaddr = persistent_ram_vmap(start, size, memtype); in persistent_ram_buffer_map()
465 prz->vaddr = persistent_ram_iomap(start, size, memtype); in persistent_ram_buffer_map()
467 if (!prz->vaddr) { in persistent_ram_buffer_map()
473 prz->buffer = prz->vaddr; in persistent_ram_buffer_map()
523 if (prz->vaddr) { in persistent_ram_free()
526 vunmap(prz->vaddr - offset_in_page(prz->paddr)); in persistent_ram_free()
528 iounmap(prz->vaddr); in persistent_ram_free()
531 prz->vaddr = NULL; in persistent_ram_free()