Lines Matching refs:end_trunc
235 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in size_show() local
240 - end_trunc - offset); in size_show()
480 pfn_sb->end_trunc = 0; in nd_pfn_validate()
603 if (!IS_ALIGNED(res->end + 1 - le32_to_cpu(pfn_sb->end_trunc), in nd_pfn_validate()
680 u32 end_trunc = __le32_to_cpu(pfn_sb->end_trunc); in __nvdimm_setup_pfn() local
685 resource_size_t end = nsio->res.end - end_trunc; in __nvdimm_setup_pfn()
694 .end = nsio->res.end - end_trunc, in __nvdimm_setup_pfn()
725 u32 end_trunc; in nd_pfn_init() local
781 end_trunc = start + size - ALIGN_DOWN(start + size, align); in nd_pfn_init()
808 npfns = PHYS_PFN(size - offset - end_trunc); in nd_pfn_init()
817 pfn_sb->end_trunc = cpu_to_le32(end_trunc); in nd_pfn_init()