• Home
  • Raw
  • Download

Lines Matching refs:rv

71 	int rv = param_set_int(val, kp);  in set_param_ifnum()  local
72 if (rv) in set_param_ifnum()
73 return rv; in set_param_ifnum()
145 int rv; in ipmi_request_wait_for_response() local
150 rv = ipmi_request_supply_msgs(user, addr, 0, send_msg, &comp, in ipmi_request_wait_for_response()
152 if (rv) in ipmi_request_wait_for_response()
153 return rv; in ipmi_request_wait_for_response()
165 int rv; in ipmi_request_in_rc_mode() local
168 rv = ipmi_request_supply_msgs(user, addr, 0, send_msg, NULL, in ipmi_request_in_rc_mode()
170 if (rv) { in ipmi_request_in_rc_mode()
172 return rv; in ipmi_request_in_rc_mode()
207 int rv; in pps_poweroff_atca() local
221 rv = ipmi_request_in_rc_mode(user, in pps_poweroff_atca()
224 if (rv && rv != IPMI_UNKNOWN_ERR_COMPLETION_CODE) { in pps_poweroff_atca()
226 " IPMI error 0x%x\n", rv); in pps_poweroff_atca()
235 int rv; in ipmi_atca_detect() local
253 rv = ipmi_request_wait_for_response(user, in ipmi_atca_detect()
265 return !rv; in ipmi_atca_detect()
272 int rv; in ipmi_poweroff_atca() local
295 rv = ipmi_request_in_rc_mode(user, in ipmi_poweroff_atca()
304 if (rv && rv != IPMI_UNKNOWN_ERR_COMPLETION_CODE) { in ipmi_poweroff_atca()
306 " IPMI error 0x%x\n", rv); in ipmi_poweroff_atca()
343 int rv; in ipmi_poweroff_cpi1() local
366 rv = ipmi_request_in_rc_mode(user, in ipmi_poweroff_cpi1()
369 if (rv) in ipmi_poweroff_cpi1()
381 rv = ipmi_request_in_rc_mode(user, in ipmi_poweroff_cpi1()
384 if (rv) in ipmi_poweroff_cpi1()
416 rv = ipmi_request_in_rc_mode(user, in ipmi_poweroff_cpi1()
419 if (rv) in ipmi_poweroff_cpi1()
430 rv = ipmi_request_in_rc_mode(user, in ipmi_poweroff_cpi1()
433 if (rv) in ipmi_poweroff_cpi1()
476 int rv; in ipmi_poweroff_chassis() local
501 rv = ipmi_request_in_rc_mode(user, in ipmi_poweroff_chassis()
504 if (rv) { in ipmi_poweroff_chassis()
508 "cycle message, IPMI error 0x%x\n", rv); in ipmi_poweroff_chassis()
514 "down message, IPMI error 0x%x\n", rv); in ipmi_poweroff_chassis()
562 int rv; in ipmi_po_new_smi() local
571 rv = ipmi_create_user(if_num, &ipmi_poweroff_handler, NULL, in ipmi_po_new_smi()
573 if (rv) { in ipmi_po_new_smi()
575 rv); in ipmi_po_new_smi()
593 rv = ipmi_request_wait_for_response(ipmi_user, in ipmi_po_new_smi()
596 if (rv) { in ipmi_po_new_smi()
598 " IPMI error 0x%x\n", rv); in ipmi_po_new_smi()
693 int rv; in ipmi_poweroff_init() local
705 rv = -ENOMEM; in ipmi_poweroff_init()
710 rv = ipmi_smi_watcher_register(&smi_watcher); in ipmi_poweroff_init()
713 if (rv) { in ipmi_poweroff_init()
715 printk(KERN_ERR PFX "Unable to register SMI watcher: %d\n", rv); in ipmi_poweroff_init()
721 return rv; in ipmi_poweroff_init()
727 int rv; in ipmi_poweroff_cleanup() local
736 rv = ipmi_destroy_user(ipmi_user); in ipmi_poweroff_cleanup()
737 if (rv) in ipmi_poweroff_cleanup()
739 " user: 0x%x\n", rv); in ipmi_poweroff_cleanup()