Lines Matching defs:resval
584 const char *resval;
587 if (resource_string_value("npe", unit, resname, &resval) != 0)
589 switch (resval[0]) {
601 "npe.%d.%s ignored\n", resval, unit, resname);
606 unit, resname, resval);
614 const char *resval;
617 if (resource_string_value("npe", unit, resname, &resval) != 0)
619 switch (resval[0]) {
625 "npe.%d.%s ignored\n", resval, unit, resname);
630 unit, resname, resval);
638 int resval;
640 if (resource_int_value("npe", unit, resname, &resval) != 0)
642 if (!(min <= resval && resval <= max)) {
644 "ignored (value must be [%d-%d])\n", resval, unit,
650 unit, resname, resval);
651 *val = resval;