Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_vm_sdma.c206 unsigned int i, ndw, nptes; in amdgpu_vm_sdma_update() local
256 nptes = min(count, ndw / 2); in amdgpu_vm_sdma_update()
259 p->num_dw_left -= nptes * 2; in amdgpu_vm_sdma_update()
261 for (i = 0; i < nptes; ++i, addr += incr) { in amdgpu_vm_sdma_update()
267 amdgpu_vm_sdma_copy_ptes(p, bo->shadow, pe, nptes); in amdgpu_vm_sdma_update()
268 amdgpu_vm_sdma_copy_ptes(p, bo, pe, nptes); in amdgpu_vm_sdma_update()
270 pe += nptes * 8; in amdgpu_vm_sdma_update()
271 count -= nptes; in amdgpu_vm_sdma_update()
Damdgpu_trace.h327 unsigned int nptes, uint64_t dst,
330 TP_ARGS(p, start, end, nptes, dst, incr, flags, pid, vm_ctx),
335 __field(unsigned int, nptes)
339 __dynamic_array(u64, dst, nptes)
349 __entry->nptes = nptes;
352 for (i = 0; i < nptes; ++i) {
364 __get_dynamic_array(dst), __entry->nptes, 8))
Damdgpu_vm.c1520 unsigned nptes = (upd_end - frag_start) >> shift; in amdgpu_vm_update_ptes() local
1526 nptes = max(nptes, 1u); in amdgpu_vm_update_ptes()
1529 nptes, dst, incr, upd_flags, in amdgpu_vm_update_ptes()
1533 pe_start, dst, nptes, incr, in amdgpu_vm_update_ptes()
1536 pe_start += nptes * 8; in amdgpu_vm_update_ptes()
1537 dst += nptes * incr; in amdgpu_vm_update_ptes()
/kernel/linux/linux-5.10/arch/sparc/mm/
Dhugetlbpage.c328 unsigned int nptes, orig_shift, shift; in set_huge_pte_at() local
342 nptes = size >> shift; in set_huge_pte_at()
345 mm->context.hugetlb_pte_count += nptes; in set_huge_pte_at()
351 for (i = 0; i < nptes; i++) in set_huge_pte_at()
364 unsigned int i, nptes, orig_shift, shift; in huge_ptep_get_and_clear() local
379 nptes = size >> shift; in huge_ptep_get_and_clear()
383 mm->context.hugetlb_pte_count -= nptes; in huge_ptep_get_and_clear()
386 for (i = 0; i < nptes; i++) in huge_ptep_get_and_clear()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_vm.c829 unsigned nptes; in radeon_vm_update_ptes() local
839 nptes = end - addr; in radeon_vm_update_ptes()
841 nptes = RADEON_VM_PTE_COUNT - (addr & mask); in radeon_vm_update_ptes()
854 count = nptes; in radeon_vm_update_ptes()
858 count += nptes; in radeon_vm_update_ptes()
861 addr += nptes; in radeon_vm_update_ptes()
862 dst += nptes * RADEON_GPU_PAGE_SIZE; in radeon_vm_update_ptes()
918 unsigned nptes, ncmds, ndw; in radeon_vm_bo_update() local
967 nptes = bo_va->it.last - bo_va->it.start + 1; in radeon_vm_bo_update()
971 ncmds = (nptes >> min(radeon_vm_block_size, 11)) + 1; in radeon_vm_bo_update()
[all …]
/kernel/linux/build/test/moduletest/runtest/bin/mem_debug_t/testcases/bin/
Dmem_debug07.sh49 | grep rss | grep nptes | grep swap | grep adj | grep s | grep name)