Lines Matching refs:rc

56 	int rc = 0;
76 rc = kvm_s390_vcpu_store_status(vcpu,
78 if (rc)
79 return rc;
214 int rc;
221 rc = write_guest_lc(vcpu, __LC_PGM_TDB, itdb, sizeof(*itdb));
222 if (rc)
223 return rc;
249 int rc;
261 rc = kvm_s390_handle_per_event(vcpu);
262 if (rc)
263 return rc;
271 rc = read_guest_lc(vcpu, __LC_PGM_NEW_PSW, &psw, sizeof(psw_t));
272 if (rc)
273 return rc;
278 rc = handle_itdb(vcpu);
279 if (rc)
280 return rc;
307 int rc;
314 rc = read_guest_lc(vcpu, __LC_EXT_NEW_PSW, &newpsw, sizeof(psw_t));
315 if (rc)
316 return rc;
337 rc = kvm_s390_inject_vcpu(vcpu, &irq);
339 if (rc == -EBUSY)
341 return rc;
361 int reg1, reg2, rc;
366 rc = guest_translate_address_with_key(vcpu, vcpu->run->s.regs.gprs[reg2],
368 if (rc)
369 return kvm_s390_inject_prog_cond(vcpu, rc);
370 rc = kvm_arch_fault_in_page(vcpu, srcaddr, 0);
371 if (rc != 0)
372 return rc;
375 rc = guest_translate_address_with_key(vcpu, vcpu->run->s.regs.gprs[reg1],
377 if (rc)
378 return kvm_s390_inject_prog_cond(vcpu, rc);
379 rc = kvm_arch_fault_in_page(vcpu, dstaddr, 1);
380 if (rc != 0)
381 return rc;
408 u64 code, addr, rc = 0;
427 rc = 4;
438 cc = sthyi_fill(sctns, &rc);
457 vcpu->run->s.regs.gprs[reg2 + 1] = rc;
465 int rc;
476 rc = read_guest_lc(vcpu, __LC_PGM_NEW_PSW, &newpsw, sizeof(psw_t));
477 if (rc)
478 return rc;
540 int rc;
547 rc = gmap_make_secure(vcpu->arch.gmap, uvcb.gaddr, &uvcb);
552 if (rc == -EINVAL)
559 return rc;
589 static bool should_handle_per_ifetch(const struct kvm_vcpu *vcpu, int rc)
594 if (rc != 0 && rc != -EOPNOTSUPP)
604 int rc, per_rc = 0;
617 rc = handle_instruction(vcpu);
630 rc = handle_operexc(vcpu);
633 rc = handle_partial_execution(vcpu);
645 rc = 0;
648 rc = handle_instruction(vcpu);
651 rc = handle_pv_notification(vcpu);
654 rc = 0;
664 if (should_handle_per_ifetch(vcpu, rc))
666 return per_rc ? per_rc : rc;