Lines Matching defs:rv
492 int rv = 0;
495 rv = (*cl_suspend_pre_callback)();
496 DBG("suspend: cl_suspend_pre_callback returned %d", rv);
497 if (rv != 0 && error_reason != NULL && max_reason_len > 0) {
498 if (cluster_error_decode(rv, error_reason,
501 SC_PRE_FAIL_STR_FMT, rv);
506 return (rv);
515 int rv = 0;
518 rv = (*cl_suspend_post_callback)();
519 DBG("suspend: cl_suspend_post_callback returned %d", rv);
520 if (rv != 0 && error_reason != NULL && max_reason_len > 0) {
521 if (cluster_error_decode(rv, error_reason,
524 max_reason_len, SC_POST_FAIL_STR_FMT, rv);
529 return (rv);
544 int rv;
560 rv = cluster_pre_wrapper(error_reason, max_reason_len);
566 if (rv != 0 && recovered != NULL)
569 return (rv);
598 uint64_t rv;
647 rv = hv_guest_suspend();
648 if (rv != 0) {
655 DBG("suspend: failed, rv: %ld\n", rv);
656 return (rv);
700 if ((rv = mach_descrip_update()) != 0)
702 rv);