Lines Matching full:ea
23 int copro_handle_mm_fault(struct mm_struct *mm, unsigned long ea, in copro_handle_mm_fault() argument
36 vma = lock_mm_and_find_vma(mm, ea, NULL); in copro_handle_mm_fault()
59 *flt = handle_mm_fault(vma, ea, is_write ? FAULT_FLAG_WRITE : 0, NULL); in copro_handle_mm_fault()
83 int copro_calculate_slb(struct mm_struct *mm, u64 ea, struct copro_slb *slb) in copro_calculate_slb() argument
88 switch (get_region_id(ea)) { in copro_calculate_slb()
90 pr_devel("%s: 0x%llx -- USER_REGION_ID\n", __func__, ea); in copro_calculate_slb()
93 psize = get_slice_psize(mm, ea); in copro_calculate_slb()
94 ssize = user_segment_size(ea); in copro_calculate_slb()
95 vsid = get_user_vsid(&mm->context, ea, ssize); in copro_calculate_slb()
99 pr_devel("%s: 0x%llx -- VMALLOC_REGION_ID\n", __func__, ea); in copro_calculate_slb()
102 vsid = get_kernel_vsid(ea, mmu_kernel_ssize); in copro_calculate_slb()
106 pr_devel("%s: 0x%llx -- IO_REGION_ID\n", __func__, ea); in copro_calculate_slb()
109 vsid = get_kernel_vsid(ea, mmu_kernel_ssize); in copro_calculate_slb()
113 pr_devel("%s: 0x%llx -- LINEAR_MAP_REGION_ID\n", __func__, ea); in copro_calculate_slb()
116 vsid = get_kernel_vsid(ea, mmu_kernel_ssize); in copro_calculate_slb()
120 pr_debug("%s: invalid region access at %016llx\n", __func__, ea); in copro_calculate_slb()
132 slb->esid = (ea & (ssize == MMU_SEGSIZE_1T ? ESID_MASK_1T : ESID_MASK)) | SLB_ESID_V; in copro_calculate_slb()