Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/accel/habanalabs/common/
Dmemory.c849 u64 page_mask, total_npages; in init_phys_pg_pack_from_userptr() local
871 total_npages = 0; in init_phys_pg_pack_from_userptr()
875 total_npages += npages; in init_phys_pg_pack_from_userptr()
884 do_div(total_npages, pgs_in_huge_page); in init_phys_pg_pack_from_userptr()
889 phys_pg_pack->pages = kvmalloc_array(total_npages, sizeof(u64), in init_phys_pg_pack_from_userptr()
896 phys_pg_pack->npages = total_npages; in init_phys_pg_pack_from_userptr()
898 phys_pg_pack->total_size = total_npages * page_size; in init_phys_pg_pack_from_userptr()
Ddebugfs.c363 u64 total_npages, npages, sg_start, sg_end; in userptr_lookup_show() local
372 total_npages = 0; in userptr_lookup_show()
376 total_npages * PAGE_SIZE; in userptr_lookup_show()
378 (total_npages + npages) * PAGE_SIZE; in userptr_lookup_show()
395 total_npages += npages; in userptr_lookup_show()