/arch/powerpc/kvm/ |
D | book3s_hv_uvmem.c | 464 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 …]
|
D | book3s_hv_nested.c | 308 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 …]
|
D | book3s_xive_native.c | 576 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()
|
D | book3s_rtas.c | 232 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()
|
D | book3s_64_mmu_hv.c | 737 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 …]
|
D | book3s.c | 927 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()
|
D | book3s_hv.c | 1735 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 …]
|
D | book3s_64_mmu_radix.c | 167 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()
|
D | powerpc.c | 406 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/ |
D | kvm_mmu.h | 246 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/ |
D | mmu.c | 594 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/ |
D | kvm-s390.c | 1842 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 …]
|
D | priv.c | 1257 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()
|
D | vsie.c | 1098 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()
|
D | interrupt.c | 1341 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/ |
D | x86.c | 9030 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 …]
|