Searched refs:cur_end (Results 1 – 3 of 3) sorted by relevance
262 pfn_t cur_base, cur_end; in mem_node_memlist_pages() local274 cur_end = cur_base + btop(pmem->ml_size) - 1; in mem_node_memlist_pages()275 if (end < cur_base || base > cur_end) in mem_node_memlist_pages()277 npgs = npgs + (MIN(cur_end, end) - in mem_node_memlist_pages()
531 pfn_t cur_end; /* end addr of subrange */ in plat_build_mem_nodes() local591 cur_end = end; in plat_build_mem_nodes()594 cur_end > lgrp_plat_memnode_info[node].end) { in plat_build_mem_nodes()595 cur_end = lgrp_plat_memnode_info[node].end; in plat_build_mem_nodes()607 mem_node_add_slice(cur_start, cur_end - endcnt); in plat_build_mem_nodes()612 cur_start = cur_end + 1; in plat_build_mem_nodes()613 } while (cur_end < end); in plat_build_mem_nodes()
252 pfn_t cur_base, cur_end; in mem_node_memlist_pages() local277 cur_end = cur_base + btop(pmem->ml_size) - 1; in mem_node_memlist_pages()278 if (end < cur_base || base > cur_end) in mem_node_memlist_pages()280 npgs = npgs + (MIN(cur_end, end) - in mem_node_memlist_pages()