Lines Matching defs:res
754 int res;
761 res = ioctl(fd, ENVMONIOCHPU, &hpu);
764 if ((res == 0) && (hpu.sensor_status == ENVMON_SENSOR_OK) &&
1370 int res;
1376 res = ptree_get_node_by_path(SEATTLE_PSU_PLATFORM, &parent_hdl);
1379 res = ptree_get_node_by_path(BOSTON_PSU_PLATFORM, &parent_hdl);
1382 res = ptree_get_node_by_path(PSU_PLATFORM, &parent_hdl);
1386 if (res != PICL_SUCCESS)
1392 res = ptree_get_propval_by_name(parent_hdl, PICL_PROP_CHILD,
1395 while (res == PICL_SUCCESS) {
1396 res = ptree_get_propval_by_name(child_hdl, PICL_PROP_PEER,
1398 if ((res == PICL_SUCCESS) &&
2144 int res;
2176 res = ioctl(fd, ENVMONIOCSYSINFO, &sysinfo);
2178 if (res < 0) {
2198 res = ioctl(fd, ENVMONIOCHPU, &hpu);
2206 while ((res == 0) && (index < entries) &&
2209 res = ioctl(fd, ENVMONIOCHPU, &hpu);
2210 if ((res == 0) &&