Home
last modified time | relevance | path

Searched refs:srcu_idx (Results 1 – 16 of 16) sorted by relevance

/arch/powerpc/kvm/
Dbook3s_hv_uvmem.c464 int srcu_idx; in kvmppc_h_svm_init_start() local
479 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_h_svm_init_start()
498 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_h_svm_init_start()
652 int srcu_idx; in kvmppc_h_svm_init_abort() local
665 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_h_svm_init_abort()
670 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_h_svm_init_abort()
826 int srcu_idx; in kvmppc_h_svm_init_done() local
833 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_h_svm_init_done()
856 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_h_svm_init_done()
878 int srcu_idx; in kvmppc_share_page() local
[all …]
Dbook3s_hv_nested.c308 vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmhv_enter_nested_guest()
311 srcu_read_unlock(&vcpu->kvm->srcu, vcpu->srcu_idx); in kvmhv_enter_nested_guest()
414 vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmhv_enter_nested_guest()
417 srcu_read_unlock(&vcpu->kvm->srcu, vcpu->srcu_idx); in kvmhv_enter_nested_guest()
539 int srcu_idx; in kvmhv_set_partition_table() local
542 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmhv_set_partition_table()
550 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmhv_set_partition_table()
604 vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmhv_copy_tofrom_guest_nested()
606 srcu_read_unlock(&vcpu->kvm->srcu, vcpu->srcu_idx); in kvmhv_copy_tofrom_guest_nested()
611 vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmhv_copy_tofrom_guest_nested()
[all …]
Dbook3s_xive_native.c576 int srcu_idx; in kvmppc_xive_native_set_queue_config() local
647 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_xive_native_set_queue_config()
652 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_xive_native_set_queue_config()
659 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_xive_native_set_queue_config()
665 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_xive_native_set_queue_config()
896 int srcu_idx; in kvmppc_xive_native_vcpu_eq_sync() local
908 srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmppc_xive_native_vcpu_eq_sync()
910 srcu_read_unlock(&vcpu->kvm->srcu, srcu_idx); in kvmppc_xive_native_vcpu_eq_sync()
Dbook3s_rtas.c232 vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmppc_rtas_hcall()
234 srcu_read_unlock(&vcpu->kvm->srcu, vcpu->srcu_idx); in kvmppc_rtas_hcall()
Dbook3s_64_mmu_hv.c737 int srcu_idx; in kvmppc_rmap_reset() local
739 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_rmap_reset()
752 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_rmap_reset()
1141 int srcu_idx; in kvmppc_pin_guest_page() local
1143 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_pin_guest_page()
1152 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_pin_guest_page()
1160 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_pin_guest_page()
1170 int srcu_idx; in kvmppc_unpin_guest_page() local
1179 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_unpin_guest_page()
1183 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvmppc_unpin_guest_page()
[all …]
Dbook3s.c927 int srcu_idx; in kvmppc_h_logical_ci_load() local
933 srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmppc_h_logical_ci_load()
935 srcu_read_unlock(&vcpu->kvm->srcu, srcu_idx); in kvmppc_h_logical_ci_load()
970 int srcu_idx; in kvmppc_h_logical_ci_store() local
994 srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmppc_h_logical_ci_store()
996 srcu_read_unlock(&vcpu->kvm->srcu, srcu_idx); in kvmppc_h_logical_ci_store()
Dbook3s_hv.c1735 int srcu_idx; in kvmppc_handle_nested_exit() local
1794 srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmppc_handle_nested_exit()
1796 srcu_read_unlock(&vcpu->kvm->srcu, srcu_idx); in kvmppc_handle_nested_exit()
1804 srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmppc_handle_nested_exit()
1806 srcu_read_unlock(&vcpu->kvm->srcu, srcu_idx); in kvmppc_handle_nested_exit()
3456 int srcu_idx; in kvmppc_run_core() local
3679 srcu_idx = srcu_read_lock(&vc->kvm->srcu); in kvmppc_run_core()
3695 srcu_read_unlock(&vc->kvm->srcu, srcu_idx); in kvmppc_run_core()
4421 int srcu_idx; in kvmhv_run_single_vcpu() local
4505 srcu_idx = srcu_read_lock(&kvm->srcu); in kvmhv_run_single_vcpu()
[all …]
Dbook3s_64_mmu_radix.c167 vcpu->srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_mmu_walk_radix_tree()
169 srcu_read_unlock(&kvm->srcu, vcpu->srcu_idx); in kvmppc_mmu_walk_radix_tree()
245 vcpu->srcu_idx = srcu_read_lock(&kvm->srcu); in kvmppc_mmu_radix_translate_table()
247 srcu_read_unlock(&kvm->srcu, vcpu->srcu_idx); in kvmppc_mmu_radix_translate_table()
Dpowerpc.c406 vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvmppc_ld()
408 srcu_read_unlock(&vcpu->kvm->srcu, vcpu->srcu_idx); in kvmppc_ld()
/arch/arm64/include/asm/
Dkvm_mmu.h246 int srcu_idx = srcu_read_lock(&kvm->srcu); in kvm_read_guest_lock() local
249 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvm_read_guest_lock()
257 int srcu_idx = srcu_read_lock(&kvm->srcu); in kvm_write_guest_lock() local
260 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvm_write_guest_lock()
/arch/mips/kvm/
Dmmu.c594 int srcu_idx, err; in kvm_mips_map_page() local
602 srcu_idx = srcu_read_lock(&kvm->srcu); in kvm_mips_map_page()
680 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvm_mips_map_page()
/arch/s390/kvm/
Dkvm-s390.c1842 int srcu_idx, i, r = 0; in kvm_s390_get_skeys() local
1860 srcu_idx = srcu_read_lock(&kvm->srcu); in kvm_s390_get_skeys()
1872 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvm_s390_get_skeys()
1890 int srcu_idx, i, r = 0; in kvm_s390_set_skeys() local
1918 srcu_idx = srcu_read_lock(&kvm->srcu); in kvm_s390_set_skeys()
1943 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvm_s390_set_skeys()
2109 int srcu_idx, peek, ret; in kvm_s390_get_cmma_bits() local
2138 srcu_idx = srcu_read_lock(&kvm->srcu); in kvm_s390_get_cmma_bits()
2143 srcu_read_unlock(&kvm->srcu, srcu_idx); in kvm_s390_get_cmma_bits()
2168 int srcu_idx, r = 0; in kvm_s390_set_cmma_bits() local
[all …]
Dpriv.c1257 int srcu_idx; in handle_essa() local
1260 srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in handle_essa()
1262 srcu_read_unlock(&vcpu->kvm->srcu, srcu_idx); in handle_essa()
Dvsie.c1098 srcu_read_unlock(&vcpu->kvm->srcu, vcpu->srcu_idx); in do_vsie_run()
1140 vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in do_vsie_run()
Dinterrupt.c1341 srcu_read_unlock(&vcpu->kvm->srcu, vcpu->srcu_idx); in kvm_s390_handle_wait()
1344 vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in kvm_s390_handle_wait()
/arch/x86/kvm/
Dx86.c9030 vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in post_kvm_run_save()
9034 srcu_read_unlock(&vcpu->kvm->srcu, vcpu->srcu_idx); in post_kvm_run_save()
9852 srcu_read_unlock(&vcpu->kvm->srcu, vcpu->srcu_idx); in vcpu_enter_guest()
9882 vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in vcpu_enter_guest()
9987 vcpu->srcu_idx = srcu_read_lock(&vcpu->kvm->srcu); in vcpu_enter_guest()
10033 srcu_read_unlock(&kvm->srcu, vcpu->srcu_idx); in vcpu_block()
10035 vcpu->srcu_idx = srcu_read_lock(&kvm->srcu); in vcpu_block()
10081 vcpu->srcu_idx = srcu_read_lock(&kvm->srcu); in vcpu_run()
10114 srcu_read_unlock(&kvm->srcu, vcpu->srcu_idx); in vcpu_run()
10118 vcpu->srcu_idx = srcu_read_lock(&kvm->srcu); in vcpu_run()
[all …]