aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux
diff options
context:
space:
mode:
authorVivek Goyal <vgoyal@redhat.com>2020-02-28 11:34:51 -0500
committerDan Williams <dan.j.williams@intel.com>2020-04-02 19:15:03 -0700
commit5d64efe79703c4de1f017af9f7643ead1dc85432 (patch)
tree27967fe80aadd9a426b384eb6d72f75538aed2ec /include/linux
parentlibnvdimm: Update persistence domain value for of_pmem and papr_scm device (diff)
downloadwireguard-linux-5d64efe79703c4de1f017af9f7643ead1dc85432.tar.xz
wireguard-linux-5d64efe79703c4de1f017af9f7643ead1dc85432.zip
pmem: Add functions for reading/writing page to/from pmem
This splits pmem_do_bvec() into pmem_do_read() and pmem_do_write(). pmem_do_write() will be used by pmem zero_page_range() as well. Hence sharing the same code. Suggested-by: Christoph Hellwig <hch@infradead.org> Signed-off-by: Vivek Goyal <vgoyal@redhat.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Pankaj Gupta <pankaj.gupta.linux@gmail.com> Link: https://lore.kernel.org/r/20200228163456.1587-2-vgoyal@redhat.com Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions