Searched refs:pmem_addr (Results 1 – 1 of 1) sorted by relevance
/drivers/nvdimm/ |
D | pmem.c | 125 static void write_pmem(void *pmem_addr, struct page *page, in write_pmem() argument 134 memcpy_flushcache(pmem_addr, mem + off, chunk); in write_pmem() 139 pmem_addr += chunk; in write_pmem() 144 void *pmem_addr, unsigned int len) in read_pmem() argument 153 rem = copy_mc_to_kernel(mem + off, pmem_addr, chunk); in read_pmem() 160 pmem_addr += chunk; in read_pmem() 171 void *pmem_addr = pmem->virt_addr + pmem_off; in pmem_do_read() local 176 rc = read_pmem(page, page_off, pmem_addr, len); in pmem_do_read() 186 void *pmem_addr = pmem->virt_addr + pmem_off; in pmem_do_write() local 196 write_pmem(pmem_addr, page, page_off, len); in pmem_do_write()
|