Lines Matching refs:rc

241 	int rc = 0;
267 if ((rc = ptree_get_root(&rooth)) != PICL_SUCCESS) {
268 return (rc);
271 if ((rc = ptree_get_node_by_path(FRUTREE_PATH, &frutreeh)) !=
273 return (rc);
276 if ((rc = ptree_get_node_by_path(PICL_FRUTREE_CHASSIS,
278 return (rc);
282 if ((rc = env_create_property(PICL_PTYPE_CHARSTRING,
286 return (rc);
302 if ((rc = env_create_property(PICL_PTYPE_CHARSTRING,
306 return (rc);
317 picl_errno_t rc = PICL_SUCCESS;
319 if ((rc = env_set_cpu_info()) != PICL_SUCCESS) {
320 return (rc);
331 rc = env_platmod_init();
332 return (rc);
392 picl_errno_t rc = PICL_SUCCESS;
402 if ((rc = env_platmod_handle_bus_if_change(
406 "event, error = %d"), rc);
411 if ((rc = env_platmod_handle_latch_open()) !=
415 "error = %d"), rc);
427 int rc = SMC_SUCCESS;
439 if ((rc = process_platmod_sp_state_change_notif(res_datap)) !=
443 "error = %d"), rc);
451 if ((rc = process_platmod_change_cpu_node_state(res_datap)) !=
454 "cpu change of state event, error = %d"), rc);
462 if ((rc = process_platmod_change_cpci_state(res_datap)) !=
465 "cpci change state event, error = %d"), rc);
473 if ((rc = process_platmod_async_msg_notif(res_datap)) !=
476 "async event notification, error = %d"), rc);
625 int rc;
639 rc = pthread_create(&polling_threadID, NULL,
641 if (rc != 0) {
650 if ((rc = env_platmod_create_sensors()) != PICL_SUCCESS) {
652 " nodes, error = %d"), rc);
656 if ((rc = env_platmod_setup_hotswap()) != PICL_SUCCESS) {
658 "initialization, error = %d"), rc);
661 if ((rc = env_platmod_create_hotswap_prop()) != PICL_SUCCESS) {
663 "hotswap prop, error = %d"), rc);
667 if ((rc = env_platmod_sp_monitor()) != PICL_SUCCESS) {
669 " service processor, error = %d"), rc);
677 picl_errno_t rc = PICL_SUCCESS;
690 if ((rc = ptree_find_node(chassis_nodehdl,
695 " to get CPU nodehdl, error = %d"), rc);
696 return (rc);
703 if ((rc = env_create_property(PICL_PTYPE_UNSIGNED_INT,
708 return (rc);
731 if ((rc = env_create_property(PICL_PTYPE_UNSIGNED_INT,
736 "to create CPU geo-addr, error = %d"), rc);
737 return (rc);
750 if ((rc = env_start_services()) != PICL_SUCCESS) {
751 return (rc);