Home
last modified time | relevance | path

Searched refs:end_trunc (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/nvdimm/
Dpfn_devs.c246 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in size_show() local
251 - end_trunc - offset); in size_show()
478 pfn_sb->end_trunc = 0; in nd_pfn_validate()
670 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in __nvdimm_setup_pfn() local
675 resource_size_t end = nsio->res.end - end_trunc; in __nvdimm_setup_pfn()
684 res->end -= end_trunc; in __nvdimm_setup_pfn()
714 u32 end_trunc; in nd_pfn_init() local
756 end_trunc = start + size - ALIGN_DOWN(start + size, align); in nd_pfn_init()
783 npfns = PHYS_PFN(size - offset - end_trunc); in nd_pfn_init()
792 pfn_sb->end_trunc = cpu_to_le32(end_trunc); in nd_pfn_init()
Dpfn.h28 __le32 end_trunc; member
Dpmem.c565 resource_size_t offset = 0, end_trunc = 0; in nd_pmem_notify() local
597 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in nd_pmem_notify()
606 res.end = nsio->res.end - end_trunc; in nd_pmem_notify()
Dbus.c912 resource_size_t offset = 0, end_trunc = 0, start, end, pstart, pend; in nd_pmem_forget_poison_check() local
935 pend = nsio->res.end - end_trunc; in nd_pmem_forget_poison_check()