Lines Matching refs:end_trunc
251 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in size_show() local
256 - end_trunc - offset); in size_show()
397 pfn_sb->end_trunc = 0; in nd_pfn_validate()
551 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in __nvdimm_setup_pfn() local
562 res->end -= end_trunc; in __nvdimm_setup_pfn()
597 u32 start_pad = 0, end_trunc = 0; in nd_pfn_init() local
652 end_trunc = start + size - phys_pmem_align_down(nd_pfn, in nd_pfn_init()
656 if (start_pad + end_trunc) in nd_pfn_init()
658 dev_name(&ndns->dev), start_pad + end_trunc); in nd_pfn_init()
668 npfns = PFN_SECTION_ALIGN_UP((size - start_pad - end_trunc - SZ_8K) in nd_pfn_init()
684 if (offset + start_pad + end_trunc >= size) { in nd_pfn_init()
690 npfns = (size - offset - start_pad - end_trunc) / SZ_4K; in nd_pfn_init()
700 pfn_sb->end_trunc = cpu_to_le32(end_trunc); in nd_pfn_init()