Home
last modified time | relevance | path

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

/linux-6.1.9/arch/powerpc/kvm/
De500_mmu.c738 struct tlbe_priv *privs[2] = {}; in kvm_vcpu_ioctl_config_tlb() local
795 privs[0] = kcalloc(params.tlb_sizes[0], sizeof(*privs[0]), GFP_KERNEL); in kvm_vcpu_ioctl_config_tlb()
796 if (!privs[0]) { in kvm_vcpu_ioctl_config_tlb()
801 privs[1] = kcalloc(params.tlb_sizes[1], sizeof(*privs[1]), GFP_KERNEL); in kvm_vcpu_ioctl_config_tlb()
802 if (!privs[1]) { in kvm_vcpu_ioctl_config_tlb()
817 vcpu_e500->gtlb_priv[0] = privs[0]; in kvm_vcpu_ioctl_config_tlb()
818 vcpu_e500->gtlb_priv[1] = privs[1]; in kvm_vcpu_ioctl_config_tlb()
845 kfree(privs[1]); in kvm_vcpu_ioctl_config_tlb()
847 kfree(privs[0]); in kvm_vcpu_ioctl_config_tlb()