Home
last modified time | relevance | path

Searched refs:right_cnt (Results 1 – 2 of 2) sorted by relevance

/netbsd/src/sys/dev/raidframe/
Drf_cvscan.c75 RF_ASSERT(i == hdr->right_cnt); in CheckCvscanState()
142 hdr->right_cnt--; in ReBalance()
171 if (hdr->left_cnt == 0 && hdr->right_cnt == 0) { in RealEnqueue()
181 hdr->right_cnt = 0; in RealEnqueue()
197 hdr->right_cnt++; in RealEnqueue()
224 if (hdr->left_cnt == 0 && hdr->right_cnt == 0) in rf_CvscanDequeue()
227 range = RF_MIN(hdr->range_for_avg, RF_MIN(hdr->left_cnt, hdr->right_cnt)); in rf_CvscanDequeue()
241 if (hdr->right_cnt == 0 || sum_dist_left < sum_dist_right) { in rf_CvscanDequeue()
250 hdr->right_cnt = RF_MAX(hdr->right_cnt - 1, 0); in rf_CvscanDequeue()
256 if (hdr->left_cnt == 0 && hdr->right_cnt == 0 in rf_CvscanDequeue()
[all …]
Drf_cvscan.h69 int right_cnt; member