Home
last modified time | relevance | path

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

/qemu/hw/riscv/
H A Driscv-iommu.c1130 GHashTable *ctx_cache; in riscv_iommu_ctx_inval() local
1135 ctx_cache = g_hash_table_ref(s->ctx_cache); in riscv_iommu_ctx_inval()
1136 g_hash_table_foreach(ctx_cache, func, &key); in riscv_iommu_ctx_inval()
1137 g_hash_table_unref(ctx_cache); in riscv_iommu_ctx_inval()
1145 GHashTable *ctx_cache; in riscv_iommu_ctx() local
1152 ctx_cache = g_hash_table_ref(s->ctx_cache); in riscv_iommu_ctx()
1153 ctx = g_hash_table_lookup(ctx_cache, &key); in riscv_iommu_ctx()
1156 *ref = ctx_cache; in riscv_iommu_ctx()
1166 if (g_hash_table_size(ctx_cache) >= LIMIT_CACHE_CTX) { in riscv_iommu_ctx()
1167 g_hash_table_unref(ctx_cache); in riscv_iommu_ctx()
[all …]
H A Driscv-iommu.h71 GHashTable *ctx_cache; /* Device translation Context Cache */ member