Lines Matching refs:r
52 let r = sbi_rt::remote_sfence_vma(Into::into(cpu), address.data(), size); in remote_invalidate_page() localVariable
53 if r.is_ok() { in remote_invalidate_page()
56 return Err(r); in remote_invalidate_page()
63 let r = Self::remote_invalidate_page( in remote_invalidate_all() localVariable
69 return r; in remote_invalidate_all()
73 let r = sbi_rt::remote_sfence_vma(mask, 0, 1 << RiscV64MMArch::ENTRY_ADDRESS_SHIFT); in remote_invalidate_all_with_mask() localVariable
74 if r.is_ok() { in remote_invalidate_all_with_mask()
77 return Err(r); in remote_invalidate_all_with_mask()
220 let r = KERNEL_BEGIN_VA + (phys - KERNEL_BEGIN_PA); in phys_2_virt() localVariable
221 return Some(r); in phys_2_virt()
233 let r = KERNEL_BEGIN_PA + (virt - KERNEL_BEGIN_VA); in virt_2_phys() localVariable
234 return Some(r); in virt_2_phys()
238 let r = PhysAddr::new(paddr); in virt_2_phys() localVariable
239 return Some(r); in virt_2_phys()
247 let r = ((ppn & ((1 << 54) - 1)) << 10) | page_flags; in make_entry() localVariable
248 return r; in make_entry()