Lines Matching refs:end_trunc
234 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in size_show() local
239 - end_trunc - offset); in size_show()
482 pfn_sb->end_trunc = 0; in nd_pfn_validate()
605 if (!IS_ALIGNED(res->end + 1 - le32_to_cpu(pfn_sb->end_trunc), in nd_pfn_validate()
682 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in __nvdimm_setup_pfn() local
687 resource_size_t end = nsio->res.end - end_trunc; in __nvdimm_setup_pfn()
696 .end = nsio->res.end - end_trunc, in __nvdimm_setup_pfn()
727 u32 end_trunc; in nd_pfn_init() local
783 end_trunc = start + size - ALIGN_DOWN(start + size, align); in nd_pfn_init()
810 npfns = PHYS_PFN(size - offset - end_trunc); in nd_pfn_init()
819 pfn_sb->end_trunc = cpu_to_le32(end_trunc); in nd_pfn_init()