Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/misc/habanalabs/
Dmmu.c16 static struct pgt_info *get_pgt_info(struct hl_ctx *ctx, u64 hop_addr) in get_pgt_info()
18 struct pgt_info *pgt_info = NULL; in get_pgt_info() local
20 hash_for_each_possible(ctx->mmu_shadow_hash, pgt_info, node, in get_pgt_info()
22 if (hop_addr == pgt_info->shadow_addr) in get_pgt_info()
25 return pgt_info; in get_pgt_info()
31 struct pgt_info *pgt_info = get_pgt_info(ctx, hop_addr); in free_hop() local
33 gen_pool_free(hdev->mmu_pgt_pool, pgt_info->phys_addr, in free_hop()
35 hash_del(&pgt_info->node); in free_hop()
36 kfree((u64 *) (uintptr_t) pgt_info->shadow_addr); in free_hop()
37 kfree(pgt_info); in free_hop()
[all …]
Dhabanalabs.h69 struct pgt_info { struct