Lines Matching refs:rval
915 int rval = SUCCESS; in parse_nexus_opts() local
922 while ((*input != '\0') && (rval == SUCCESS)) { in parse_nexus_opts()
928 rval = FAILURE; in parse_nexus_opts()
934 rval = FAILURE; in parse_nexus_opts()
939 rval = FAILURE; in parse_nexus_opts()
942 if ((rval = get_value64(value, &recv64, HEX_ONLY)) != in parse_nexus_opts()
950 rval = FAILURE; in parse_nexus_opts()
960 rval = FAILURE; in parse_nexus_opts()
966 rval = FAILURE; in parse_nexus_opts()
972 rval = FAILURE; in parse_nexus_opts()
975 if ((rval = get_value64(value, base_addr_arg, in parse_nexus_opts()
984 rval = FAILURE; in parse_nexus_opts()
989 return (rval); in parse_nexus_opts()
1102 int rval = SUCCESS; in parse_device_opts() local
1104 while ((*input != '\0') && (rval == SUCCESS)) { in parse_device_opts()
1111 if ((rval = extract_bdf(value, &bvalue, &dvalue, in parse_device_opts()
1120 if ((rval = extract_bdf_arg(bvalue, "bus", in parse_device_opts()
1124 if ((rval = extract_bdf_arg(dvalue, "dev", in parse_device_opts()
1128 rval = extract_bdf_arg(fvalue, "func", in parse_device_opts()
1134 rval = extract_bdf_arg(value, "bus", BUS_SPEC_FLAG, in parse_device_opts()
1140 rval = extract_bdf_arg(value, "dev", DEV_SPEC_FLAG, in parse_device_opts()
1146 rval = extract_bdf_arg(value, "func", FUNC_SPEC_FLAG, in parse_device_opts()
1154 rval = FAILURE; in parse_device_opts()
1157 if ((rval = get_value64(value, &recv64, HEX_ONLY)) != in parse_device_opts()
1162 if (rval || (*bank_arg != recv64)) { in parse_device_opts()
1165 rval = FAILURE; in parse_device_opts()
1175 rval = FAILURE; in parse_device_opts()
1186 rval = FAILURE; in parse_device_opts()
1197 rval = FAILURE; in parse_device_opts()
1208 rval = FAILURE; in parse_device_opts()
1219 rval = FAILURE; in parse_device_opts()
1230 rval = FAILURE; in parse_device_opts()
1241 rval = FAILURE; in parse_device_opts()
1252 rval = FAILURE; in parse_device_opts()
1261 rval = FAILURE; in parse_device_opts()
1269 rval = FAILURE; in parse_device_opts()
1277 return (rval); in parse_device_opts()
1294 int rval = SUCCESS; in parse_ino_opts() local
1302 rval = FAILURE; in parse_ino_opts()
1305 if ((rval = get_value64(input, &value, HEX_ONLY)) == SUCCESS) in parse_ino_opts()
1311 rval = FAILURE; in parse_ino_opts()
1317 if ((rval = in parse_ino_opts()
1328 if ((rval = get_value64(input, &value, HEX_ONLY)) == SUCCESS) in parse_ino_opts()
1334 rval = FAILURE; in parse_ino_opts()
1341 rval = FAILURE; in parse_ino_opts()
1344 return (rval); in parse_ino_opts()
1359 int rval = SUCCESS; in parse_msi_opts() local
1364 if ((rval = get_value64(input, &value, HEX_ONLY)) == SUCCESS) in parse_msi_opts()
1370 rval = FAILURE; in parse_msi_opts()
1381 if ((rval = get_value64(input, &value, HEX_ONLY)) == SUCCESS) in parse_msi_opts()
1387 rval = FAILURE; in parse_msi_opts()
1394 rval = FAILURE; in parse_msi_opts()
1397 return (rval); in parse_msi_opts()
1412 int rval = SUCCESS; in parse_intr_set_opts() local
1414 if ((rval = get_value64(input, &value, HEX_ONLY)) == SUCCESS) { in parse_intr_set_opts()
1419 rval = FAILURE; in parse_intr_set_opts()
1427 rval = FAILURE; in parse_intr_set_opts()
1430 return (rval); in parse_intr_set_opts()
1456 int rval = SUCCESS; in parse_probeone_opts() local
1458 while ((*input != '\0') && (rval == SUCCESS)) { in parse_probeone_opts()
1465 if ((rval = extract_bdf(value, &bvalue, &dvalue, in parse_probeone_opts()
1470 if ((rval = extract_bdf_arg(bvalue, "bus", in parse_probeone_opts()
1476 if ((rval = extract_bdf_arg(dvalue, "dev", in parse_probeone_opts()
1482 rval = extract_bdf_arg(fvalue, "func", in parse_probeone_opts()
1488 rval = extract_bdf_arg(value, "bus", BUS_SPEC_FLAG, in parse_probeone_opts()
1494 rval = extract_bdf_arg(value, "dev", DEV_SPEC_FLAG, in parse_probeone_opts()
1500 rval = extract_bdf_arg(value, "func", FUNC_SPEC_FLAG, in parse_probeone_opts()
1506 rval = FAILURE; in parse_probeone_opts()
1511 return (rval); in parse_probeone_opts()