Searched refs:phys_pg_list (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/accel/habanalabs/common/ |
H A D | memory.c | 2736 struct hl_vm_phys_pg_pack *phys_pg_list, *tmp_phys_node; in hl_vm_ctx_fini() local 2777 idr_for_each_entry(&vm->phys_pg_pack_handles, phys_pg_list, i) in hl_vm_ctx_fini() 2778 if (phys_pg_list->asid == ctx->asid) { in hl_vm_ctx_fini() 2781 phys_pg_list, ctx->asid); in hl_vm_ctx_fini() 2783 atomic64_sub(phys_pg_list->total_size, &hdev->dram_used_mem); in hl_vm_ctx_fini() 2785 list_add(&phys_pg_list->node, &free_list); in hl_vm_ctx_fini() 2789 list_for_each_entry_safe(phys_pg_list, tmp_phys_node, &free_list, node) in hl_vm_ctx_fini() 2790 free_phys_pg_pack(hdev, phys_pg_list); in hl_vm_ctx_fini()
|