Lines Matching refs:cluster
259 for ((_cluster) = (memdesc)->cluster, (i) = 0; \
306 struct memclust_struct * cluster; in setup_memory() local
315 for_each_mem_cluster(memdesc, cluster, i) { in setup_memory()
319 i, cluster->usage, cluster->start_pfn, in setup_memory()
320 cluster->start_pfn + cluster->numpages); in setup_memory()
322 end = cluster->start_pfn + cluster->numpages; in setup_memory()
326 memblock_add(PFN_PHYS(cluster->start_pfn), in setup_memory()
327 cluster->numpages << PAGE_SHIFT); in setup_memory()
332 if (cluster->usage & 3) in setup_memory()
333 memblock_reserve(PFN_PHYS(cluster->start_pfn), in setup_memory()
334 cluster->numpages << PAGE_SHIFT); in setup_memory()
390 struct memclust_struct * cluster; in page_is_ram() local
396 for_each_mem_cluster(memdesc, cluster, i) in page_is_ram()
398 if (pfn >= cluster->start_pfn && in page_is_ram()
399 pfn < cluster->start_pfn + cluster->numpages) { in page_is_ram()
400 return (cluster->usage & 3) ? 0 : 1; in page_is_ram()