Home
last modified time | relevance | path

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

/openbmc/qemu/hw/riscv/
H A Driscv-iommu.c1104 GHashTable *ctx_cache; in riscv_iommu_ctx_inval() local
1109 ctx_cache = g_hash_table_ref(s->ctx_cache); in riscv_iommu_ctx_inval()
1110 g_hash_table_foreach(ctx_cache, func, &key); in riscv_iommu_ctx_inval()
1111 g_hash_table_unref(ctx_cache); in riscv_iommu_ctx_inval()
1119 GHashTable *ctx_cache; in riscv_iommu_ctx() local
1126 ctx_cache = g_hash_table_ref(s->ctx_cache); in riscv_iommu_ctx()
1127 ctx = g_hash_table_lookup(ctx_cache, &key); in riscv_iommu_ctx()
1130 *ref = ctx_cache; in riscv_iommu_ctx()
1140 if (g_hash_table_size(ctx_cache) >= LIMIT_CACHE_CTX) { in riscv_iommu_ctx()
1141 g_hash_table_unref(ctx_cache); in riscv_iommu_ctx()
[all …]
H A Driscv-iommu.h71 GHashTable *ctx_cache; /* Device translation Context Cache */ member