Searched refs:pgt_info (Results 1 – 2 of 2) sorted by relevance
16 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() local20 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()28 static void _free_hop(struct hl_ctx *ctx, struct pgt_info *pgt_info) in _free_hop() argument32 gen_pool_free(hdev->mmu_priv.mmu_pgt_pool, pgt_info->phys_addr, in _free_hop()34 hash_del(&pgt_info->node); in _free_hop()35 kfree((u64 *) (uintptr_t) pgt_info->shadow_addr); in _free_hop()36 kfree(pgt_info); in _free_hop()[all …]
96 struct pgt_info { struct