Lines Matching refs:cnt
543 u_int cnt = mr - physmemr;
544 if (cnt > 1) {
545 for (u_int i = 0; i < cnt - 1; i++) {
546 for (u_int j = i + 1; j < cnt; j++) {
555 for (u_int i = 0; i + 1 < cnt; i++, mr++) {
558 for (u_int j = 1; i + j + 1 < cnt; j++)
560 cnt--;
563 } else if (cnt == 0) {
570 memcpy(availmemr, physmemr, cnt * sizeof(physmemr[0]));
579 for (u_int i = 0; i < cnt; i++, mr++) {
599 for (u_int j = cnt; j > i + 1; j--) {
602 cnt++;
613 mr = availmemr + cnt - 1;
621 for (u_int i = 0; i < cnt; i++)
624 nmemr = cnt;
625 return physmemr[cnt-1].start + physmemr[cnt-1].size;