Lines Matching refs:perc
61 return bsp1->perc < bsp2->perc; in bs_cmp()
67 unsigned int i, perc, perc_missing; in bssplit_ddir() local
97 perc = atoi(perc_str); in bssplit_ddir()
98 if (perc > 100) in bssplit_ddir()
99 perc = 100; in bssplit_ddir()
100 else if (!perc) in bssplit_ddir()
101 perc = -1U; in bssplit_ddir()
103 perc = -1U; in bssplit_ddir()
117 bssplit[i].perc = perc; in bssplit_ddir()
126 perc = perc_missing = 0; in bssplit_ddir()
130 if (bsp->perc == -1U) in bssplit_ddir()
133 perc += bsp->perc; in bssplit_ddir()
136 if (perc > 100 && perc_missing > 1) { in bssplit_ddir()
148 perc = 100; in bssplit_ddir()
152 if (bsp->perc == -1U) in bssplit_ddir()
153 bsp->perc = (100 - perc) / perc_missing; in bssplit_ddir()