Lines Matching refs:MapCache
61 typedef struct MapCache { struct
75 } MapCache; argument
77 static MapCache *mapcache;
78 static MapCache *mapcache_grants_ro;
79 static MapCache *mapcache_grants_rw;
82 static inline void mapcache_lock(MapCache *mc) in mapcache_lock()
87 static inline void mapcache_unlock(MapCache *mc) in mapcache_unlock()
101 static MapCache *xen_map_cache_init_single(phys_offset_to_gaddr_t f, in xen_map_cache_init_single()
107 MapCache *mc; in xen_map_cache_init_single()
111 mc = g_new0(MapCache, 1); in xen_map_cache_init_single()
190 static void xen_remap_bucket(MapCache *mc, in xen_remap_bucket()
327 static uint8_t *xen_map_cache_unlocked(MapCache *mc, in xen_map_cache_unlocked()
463 MapCache *mc = mapcache; in xen_map_cache()
489 static ram_addr_t xen_ram_addr_from_mapcache_single(MapCache *mc, void *ptr) in xen_ram_addr_from_mapcache_single()
543 static void xen_invalidate_map_cache_entry_unlocked(MapCache *mc, in xen_invalidate_map_cache_entry_unlocked()
630 static void xen_invalidate_map_cache_entry_single(MapCache *mc, uint8_t *buffer) in xen_invalidate_map_cache_entry_single()
667 static void xen_invalidate_map_cache_single(MapCache *mc) in xen_invalidate_map_cache_single()
717 static uint8_t *xen_replace_cache_entry_unlocked(MapCache *mc, in xen_replace_cache_entry_unlocked()