Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/accel/ivpu/
Divpu_mmu_context.c238 int pte_idx = FIELD_GET(IVPU_MMU_PTE_INDEX_MASK, vpu_addr); in ivpu_mmu_context_map_page() local
254 pte[pte_idx] = dma_addr | prot; in ivpu_mmu_context_map_page()
289 int pte_idx = FIELD_GET(IVPU_MMU_PTE_INDEX_MASK, vpu_addr); in ivpu_mmu_context_unmap_page() local
292 ctx->pgtable.pte_ptrs[pgd_idx][pud_idx][pmd_idx][pte_idx] = IVPU_MMU_ENTRY_INVALID; in ivpu_mmu_context_unmap_page()
329 int pte_idx = FIELD_GET(IVPU_MMU_PTE_INDEX_MASK, vpu_addr); in ivpu_mmu_context_set_page_ro() local
331 ctx->pgtable.pte_ptrs[pgd_idx][pud_idx][pmd_idx][pte_idx] |= IVPU_MMU_ENTRY_FLAG_RO; in ivpu_mmu_context_set_page_ro()
340 int pte_idx = FIELD_GET(IVPU_MMU_PTE_INDEX_MASK, vpu_addr); in ivpu_mmu_context_split_page() local
342 ctx->pgtable.pte_ptrs[pgd_idx][pud_idx][pmd_idx][pte_idx] &= ~IVPU_MMU_ENTRY_FLAG_CONT; in ivpu_mmu_context_split_page()
/linux-6.12.1/arch/x86/mm/
Dinit_32.c117 int pte_idx = pte_index(vaddr); in populate_extra_pte() local
121 return one_page_table_init(pmd) + pte_idx; in populate_extra_pte()
/linux-6.12.1/arch/sparc/kernel/
Dldc.c2080 u32 pte_idx; member
2091 sp->page_table[sp->pte_idx].mte = sp->mte_base | pa; in fill_cookies()
2099 this_cookie = make_cookie(sp->pte_idx, in fill_cookies()
2113 sp->pte_idx++; in fill_cookies()
2181 state.pte_idx = (base - iommu->page_table); in ldc_map_sg()
2223 state.pte_idx = (base - iommu->page_table); in ldc_map_single()
/linux-6.12.1/arch/riscv/mm/
Dinit.c403 uintptr_t pte_idx = pte_index(va); in create_pte_mapping() local
407 if (pte_none(ptep[pte_idx])) in create_pte_mapping()
408 ptep[pte_idx] = pfn_pte(PFN_DOWN(pa), prot); in create_pte_mapping()
/linux-6.12.1/mm/
Dmemory.c2125 int pte_idx = 0; in insert_pages() local
2133 for (pte = start_pte; pte_idx < batch_size; ++pte, ++pte_idx) { in insert_pages()
2139 remaining_pages_total -= pte_idx; in insert_pages()