Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/accel/habanalabs/common/
Dmemory.c2729 struct hl_vm_phys_pg_pack *phys_pg_list, *tmp_phys_node; in hl_vm_ctx_fini() local
2770 idr_for_each_entry(&vm->phys_pg_pack_handles, phys_pg_list, i) in hl_vm_ctx_fini()
2771 if (phys_pg_list->asid == ctx->asid) { in hl_vm_ctx_fini()
2774 phys_pg_list, ctx->asid); in hl_vm_ctx_fini()
2776 atomic64_sub(phys_pg_list->total_size, &hdev->dram_used_mem); in hl_vm_ctx_fini()
2778 list_add(&phys_pg_list->node, &free_list); in hl_vm_ctx_fini()
2782 list_for_each_entry_safe(phys_pg_list, tmp_phys_node, &free_list, node) in hl_vm_ctx_fini()
2783 free_phys_pg_pack(hdev, phys_pg_list); in hl_vm_ctx_fini()