Searched refs:aligns (Results 1 – 2 of 2) sorted by relevance
125 unsigned long aligns[MAX_NVDIMM_ALIGN] = { [0] = 0, }; in align_store() local131 nd_pfn_supported_alignments(aligns)); in align_store()255 unsigned long aligns[MAX_NVDIMM_ALIGN] = { [0] = 0, }; in supported_alignments_show() local258 nd_pfn_supported_alignments(aligns), buf); in supported_alignments_show()
948 static inline resource_size_t calculate_mem_align(resource_size_t *aligns, in calculate_mem_align() argument964 align += aligns[order]; in calculate_mem_align()997 resource_size_t aligns[24]; /* Alignments from 1MB to 8TB */ in pbus_size_mem() local1012 memset(aligns, 0, sizeof(aligns)); in pbus_size_mem()1050 if (order >= ARRAY_SIZE(aligns)) { in pbus_size_mem()1062 aligns[order] += align; in pbus_size_mem()1074 min_align = calculate_mem_align(aligns, max_order); in pbus_size_mem()