Home
last modified time | relevance | path

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

/drivers/misc/sgi-gru/
Dgrufault.c320 unsigned long fault_vaddr, int asid, int write, in gru_preload_tlb() argument
331 if (fault_vaddr == cbe->cbe_baddr0) in gru_preload_tlb()
332 vaddr = fault_vaddr + GRU_CACHE_LINE_BYTES * cbe->cbe_src_cl - 1; in gru_preload_tlb()
333 else if (fault_vaddr == cbe->cbe_baddr1) in gru_preload_tlb()
334 vaddr = fault_vaddr + (1 << cbe->xtypecpy) * cbe->cbe_nelemcur - 1; in gru_preload_tlb()
336 fault_vaddr &= PAGE_MASK; in gru_preload_tlb()
338 vaddr = min(vaddr, fault_vaddr + tlb_preload_count * PAGE_SIZE); in gru_preload_tlb()
340 while (vaddr > fault_vaddr) { in gru_preload_tlb()