Lines Matching refs:nr_regs
1300 int reg, rc, nr_regs; in kvm_s390_handle_lctl() local
1318 nr_regs = ((reg3 - reg1) & 0xf) + 1; in kvm_s390_handle_lctl()
1319 rc = read_guest(vcpu, ga, ar, ctl_array, nr_regs * sizeof(u32)); in kvm_s390_handle_lctl()
1323 nr_regs = 0; in kvm_s390_handle_lctl()
1326 vcpu->arch.sie_block->gcr[reg] |= ctl_array[nr_regs++]; in kvm_s390_handle_lctl()
1339 int reg, rc, nr_regs; in kvm_s390_handle_stctl() local
1358 nr_regs = 0; in kvm_s390_handle_stctl()
1360 ctl_array[nr_regs++] = vcpu->arch.sie_block->gcr[reg]; in kvm_s390_handle_stctl()
1365 rc = write_guest(vcpu, ga, ar, ctl_array, nr_regs * sizeof(u32)); in kvm_s390_handle_stctl()
1373 int reg, rc, nr_regs; in handle_lctlg() local
1391 nr_regs = ((reg3 - reg1) & 0xf) + 1; in handle_lctlg()
1392 rc = read_guest(vcpu, ga, ar, ctl_array, nr_regs * sizeof(u64)); in handle_lctlg()
1396 nr_regs = 0; in handle_lctlg()
1398 vcpu->arch.sie_block->gcr[reg] = ctl_array[nr_regs++]; in handle_lctlg()
1411 int reg, rc, nr_regs; in handle_stctg() local
1430 nr_regs = 0; in handle_stctg()
1432 ctl_array[nr_regs++] = vcpu->arch.sie_block->gcr[reg]; in handle_stctg()
1437 rc = write_guest(vcpu, ga, ar, ctl_array, nr_regs * sizeof(u64)); in handle_stctg()