Searched refs:pgt_info (Results 1 – 2 of 2) sorted by relevance
15 static struct pgt_info *get_pgt_info(struct hl_ctx *ctx, u64 hop_addr) in get_pgt_info()17 struct pgt_info *pgt_info = NULL; in get_pgt_info() local19 hash_for_each_possible(ctx->mmu_shadow_hash, pgt_info, node, in get_pgt_info()21 if (hop_addr == pgt_info->shadow_addr) in get_pgt_info()24 return pgt_info; in get_pgt_info()27 static void _free_hop(struct hl_ctx *ctx, struct pgt_info *pgt_info) in _free_hop() argument31 gen_pool_free(hdev->mmu_priv.dr.mmu_pgt_pool, pgt_info->phys_addr, in _free_hop()33 hash_del(&pgt_info->node); in _free_hop()34 kfree((u64 *) (uintptr_t) pgt_info->shadow_addr); in _free_hop()35 kfree(pgt_info); in _free_hop()[all …]
178 struct pgt_info { struct