Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/misc/habanalabs/common/
Dmmu_v1.c221 static inline u64 get_next_hop_addr(struct hl_ctx *ctx, u64 curr_pte) in get_next_hop_addr() argument
223 if (curr_pte & PAGE_PRESENT_MASK) in get_next_hop_addr()
224 return curr_pte & HOP_PHYS_ADDR_MASK; in get_next_hop_addr()
229 static inline u64 get_alloc_next_hop_addr(struct hl_ctx *ctx, u64 curr_pte, in get_alloc_next_hop_addr() argument
232 u64 hop_addr = get_next_hop_addr(ctx, curr_pte); in get_alloc_next_hop_addr()
535 curr_pte; in _hl_mmu_v1_unmap() local
544 curr_pte = *(u64 *) (uintptr_t) hop0_pte_addr; in _hl_mmu_v1_unmap()
546 hop1_addr = get_next_hop_addr(ctx, curr_pte); in _hl_mmu_v1_unmap()
553 curr_pte = *(u64 *) (uintptr_t) hop1_pte_addr; in _hl_mmu_v1_unmap()
555 hop2_addr = get_next_hop_addr(ctx, curr_pte); in _hl_mmu_v1_unmap()
[all …]
Ddebugfs.c365 static inline u64 get_next_hop_addr(u64 curr_pte) in get_next_hop_addr() argument
367 if (curr_pte & PAGE_PRESENT_MASK) in get_next_hop_addr()
368 return curr_pte & HOP_PHYS_ADDR_MASK; in get_next_hop_addr()
/kernel/linux/linux-5.10/arch/x86/kvm/mmu/
Dpaging_tmpl.h570 pt_element_t curr_pte; in FNAME() local
582 curr_pte = gw->prefetch_ptes[index]; in FNAME()
585 &curr_pte, sizeof(curr_pte)); in FNAME()
587 return r || curr_pte != gw->ptes[level - 1]; in FNAME()