Lines Matching refs:cnt
44 for (i=r2; i < rgn->cnt-1 ;i++) { in lmb_coalesce_regions()
50 rgn->cnt--; in lmb_coalesce_regions()
67 _lmb->memory.cnt = 1; in lmb_init()
73 _lmb->reserved.cnt = 1; in lmb_init()
90 for (i=0; i < _lmb->memory.cnt ;i++) { in lmb_analyze()
110 for (i=0; i < _lmb->memory.cnt ;i++) { in lmb_analyze()
180 for (i=0; i < rgn->cnt ;i++) { in lmb_add_region()
203 if ((i < rgn->cnt-1) && lmb_regions_adjacent(rgn, i, i+1) ) { in lmb_add_region()
210 } else if ( rgn->cnt >= MAX_LMB_REGIONS ) { in lmb_add_region()
215 for (i=rgn->cnt-1; i >= 0 ;i--) { in lmb_add_region()
229 rgn->cnt++; in lmb_add_region()
239 for (i=0; i < rgn->cnt ;i++) { in lmb_overlaps_region()
247 return (i < rgn->cnt) ? i : -1; in lmb_overlaps_region()
266 for (i=_mem->cnt-1; i >= 0 ;i--) { in lmb_alloc_base()
307 unsigned long idx = _mem->cnt-1; in lmb_phys_mem_size()
323 for(idx=_mem->cnt-1; idx >= 0 ;idx--) { in lmb_end_of_DRAM()
345 for (i=0; i < _mem->cnt ;i++) { in lmb_abs_to_phys()
366 lmb.memory.cnt); in lmb_dump()
371 for (i=0; i < lmb.memory.cnt ;i++) { in lmb_dump()
384 lmb.reserved.cnt); in lmb_dump()
389 for (i=0; i < lmb.reserved.cnt ;i++) { in lmb_dump()