Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/misc/sgi-gru/
Dgrufault.c311 unsigned long fault_vaddr, int asid, int write, in gru_preload_tlb() argument
322 if (fault_vaddr == cbe->cbe_baddr0) in gru_preload_tlb()
323 vaddr = fault_vaddr + GRU_CACHE_LINE_BYTES * cbe->cbe_src_cl - 1; in gru_preload_tlb()
324 else if (fault_vaddr == cbe->cbe_baddr1) in gru_preload_tlb()
325 vaddr = fault_vaddr + (1 << cbe->xtypecpy) * cbe->cbe_nelemcur - 1; in gru_preload_tlb()
327 fault_vaddr &= PAGE_MASK; in gru_preload_tlb()
329 vaddr = min(vaddr, fault_vaddr + tlb_preload_count * PAGE_SIZE); in gru_preload_tlb()
331 while (vaddr > fault_vaddr) { in gru_preload_tlb()