Home | History | Annotate | Download | only in tools

Lines Matching refs:kcount

315   my $kcount = $#sections-1;
316 if ((!defined $newdefault) || ($newdefault < 0) || ($newdefault > $kcount)) {
317 warn "ERROR: Enter a default between 0 and $kcount.\n";
456 my $kcount = $#sections-1;
457 if ($params{'update-kernel'} !~ /^\d+$/ || $params{'update-kernel'} < 0 || $params{'update-kernel'} > $kcount) {
458 warn "ERROR: Enter a default between 0 and $kcount.\n";
1344 kcount = $#sections-1;
1346 if (($newdefault < 0) || ($newdefault > $kcount)) {
1347 warn "ERROR: Enter a default between 0 and $kcount.\n";
1528 my $kcount = $#sections-1;
1529 if ($params{'update-kernel'} !~ /^\d+$/ || $params{'update-kernel'} < 0 || $params{'update-kernel'} > $kcount) {
1530 warn "ERROR: Enter a default between 0 and $kcount.\n";
2091 my $kcount = $#sections-1;
2092 if (($newdefault < 0) || ($newdefault > $kcount)) {
2093 warn "ERROR: Enter a default between 0 and $kcount.\n";
2338 my $kcount = $#sections-1;
2339 if ($params{'update-kernel'} !~ /^\d+$/ || $params{'update-kernel'} < 0 || $params{'update-kernel'} > $kcount) {
2340 warn "ERROR: Enter a default between 0 and $kcount.\n";