Lines Matching refs:mm
36 int copro_handle_mm_fault(struct mm_struct *mm, unsigned long ea, in copro_handle_mm_fault() argument
43 if (mm == NULL) in copro_handle_mm_fault()
46 if (mm->pgd == NULL) in copro_handle_mm_fault()
49 down_read(&mm->mmap_sem); in copro_handle_mm_fault()
51 vma = find_vma(mm, ea); in copro_handle_mm_fault()
78 *flt = handle_mm_fault(mm, vma, ea, is_write ? FAULT_FLAG_WRITE : 0); in copro_handle_mm_fault()
96 up_read(&mm->mmap_sem); in copro_handle_mm_fault()
101 int copro_calculate_slb(struct mm_struct *mm, u64 ea, struct copro_slb *slb) in copro_calculate_slb() argument
109 psize = get_slice_psize(mm, ea); in copro_calculate_slb()
111 vsid = get_vsid(mm->context.id, ea, ssize); in copro_calculate_slb()
148 void copro_flush_all_slbs(struct mm_struct *mm) in copro_flush_all_slbs() argument
151 spu_flush_all_slbs(mm); in copro_flush_all_slbs()
153 cxl_slbia(mm); in copro_flush_all_slbs()