Lines Matching refs:rval

916 	int rval = SUCCESS;  in parse_nexus_opts()  local
923 while ((*input != '\0') && (rval == SUCCESS)) { in parse_nexus_opts()
929 rval = FAILURE; in parse_nexus_opts()
935 rval = FAILURE; in parse_nexus_opts()
940 rval = FAILURE; in parse_nexus_opts()
943 if ((rval = get_value64(value, &recv64, HEX_ONLY)) != in parse_nexus_opts()
951 rval = FAILURE; in parse_nexus_opts()
961 rval = FAILURE; in parse_nexus_opts()
967 rval = FAILURE; in parse_nexus_opts()
973 rval = FAILURE; in parse_nexus_opts()
976 if ((rval = get_value64(value, base_addr_arg, in parse_nexus_opts()
985 rval = FAILURE; in parse_nexus_opts()
990 return (rval); in parse_nexus_opts()
1103 int rval = SUCCESS; in parse_device_opts() local
1105 while ((*input != '\0') && (rval == SUCCESS)) { in parse_device_opts()
1112 if ((rval = extract_bdf(value, &bvalue, &dvalue, in parse_device_opts()
1121 if ((rval = extract_bdf_arg(bvalue, "bus", in parse_device_opts()
1125 if ((rval = extract_bdf_arg(dvalue, "dev", in parse_device_opts()
1129 rval = extract_bdf_arg(fvalue, "func", in parse_device_opts()
1135 rval = extract_bdf_arg(value, "bus", BUS_SPEC_FLAG, in parse_device_opts()
1141 rval = extract_bdf_arg(value, "dev", DEV_SPEC_FLAG, in parse_device_opts()
1147 rval = extract_bdf_arg(value, "func", FUNC_SPEC_FLAG, in parse_device_opts()
1155 rval = FAILURE; in parse_device_opts()
1158 if ((rval = get_value64(value, &recv64, HEX_ONLY)) != in parse_device_opts()
1163 if (rval || (*bank_arg != recv64)) { in parse_device_opts()
1166 rval = FAILURE; in parse_device_opts()
1176 rval = FAILURE; in parse_device_opts()
1187 rval = FAILURE; in parse_device_opts()
1198 rval = FAILURE; in parse_device_opts()
1209 rval = FAILURE; in parse_device_opts()
1220 rval = FAILURE; in parse_device_opts()
1231 rval = FAILURE; in parse_device_opts()
1242 rval = FAILURE; in parse_device_opts()
1253 rval = FAILURE; in parse_device_opts()
1262 rval = FAILURE; in parse_device_opts()
1270 rval = FAILURE; in parse_device_opts()
1278 return (rval); in parse_device_opts()
1295 int rval = SUCCESS; in parse_ino_opts() local
1303 rval = FAILURE; in parse_ino_opts()
1306 if ((rval = get_value64(input, &value, HEX_ONLY)) == SUCCESS) in parse_ino_opts()
1312 rval = FAILURE; in parse_ino_opts()
1318 if ((rval = in parse_ino_opts()
1329 if ((rval = get_value64(input, &value, HEX_ONLY)) == SUCCESS) in parse_ino_opts()
1335 rval = FAILURE; in parse_ino_opts()
1342 rval = FAILURE; in parse_ino_opts()
1345 return (rval); in parse_ino_opts()
1360 int rval = SUCCESS; in parse_msi_opts() local
1365 if ((rval = get_value64(input, &value, HEX_ONLY)) == SUCCESS) in parse_msi_opts()
1371 rval = FAILURE; in parse_msi_opts()
1382 if ((rval = get_value64(input, &value, HEX_ONLY)) == SUCCESS) in parse_msi_opts()
1388 rval = FAILURE; in parse_msi_opts()
1395 rval = FAILURE; in parse_msi_opts()
1398 return (rval); in parse_msi_opts()
1413 int rval = SUCCESS; in parse_intr_set_opts() local
1415 if ((rval = get_value64(input, &value, HEX_ONLY)) == SUCCESS) { in parse_intr_set_opts()
1420 rval = FAILURE; in parse_intr_set_opts()
1428 rval = FAILURE; in parse_intr_set_opts()
1431 return (rval); in parse_intr_set_opts()
1457 int rval = SUCCESS; in parse_probeone_opts() local
1459 while ((*input != '\0') && (rval == SUCCESS)) { in parse_probeone_opts()
1466 if ((rval = extract_bdf(value, &bvalue, &dvalue, in parse_probeone_opts()
1471 if ((rval = extract_bdf_arg(bvalue, "bus", in parse_probeone_opts()
1477 if ((rval = extract_bdf_arg(dvalue, "dev", in parse_probeone_opts()
1483 rval = extract_bdf_arg(fvalue, "func", in parse_probeone_opts()
1489 rval = extract_bdf_arg(value, "bus", BUS_SPEC_FLAG, in parse_probeone_opts()
1495 rval = extract_bdf_arg(value, "dev", DEV_SPEC_FLAG, in parse_probeone_opts()
1501 rval = extract_bdf_arg(value, "func", FUNC_SPEC_FLAG, in parse_probeone_opts()
1507 rval = FAILURE; in parse_probeone_opts()
1512 return (rval); in parse_probeone_opts()