Home
last modified time | relevance | path

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

/drivers/misc/habanalabs/common/
Dmemory.c2744 struct hl_vm_phys_pg_pack *phys_pg_list, *tmp_phys_node; in hl_vm_ctx_fini() local
2785 idr_for_each_entry(&vm->phys_pg_pack_handles, phys_pg_list, i) in hl_vm_ctx_fini()
2786 if (phys_pg_list->asid == ctx->asid) { in hl_vm_ctx_fini()
2789 phys_pg_list, ctx->asid); in hl_vm_ctx_fini()
2791 atomic64_sub(phys_pg_list->total_size, &hdev->dram_used_mem); in hl_vm_ctx_fini()
2793 list_add(&phys_pg_list->node, &free_list); in hl_vm_ctx_fini()
2797 list_for_each_entry_safe(phys_pg_list, tmp_phys_node, &free_list, node) in hl_vm_ctx_fini()
2798 free_phys_pg_pack(hdev, phys_pg_list); in hl_vm_ctx_fini()