Home
last modified time | relevance | path

Searched defs:cache (Results 1 – 19 of 19) sorted by relevance

/qemu/migration/
H A Dpage_cache.c45 PageCache *cache; in cache_init() local
90 void cache_fini(PageCache *cache) in cache_fini()
106 static size_t cache_get_cache_pos(const PageCache *cache, in cache_get_cache_pos()
113 static CacheItem *cache_get_by_addr(const PageCache *cache, uint64_t addr) in cache_get_by_addr()
125 uint8_t *get_cached_data(const PageCache *cache, uint64_t addr) in get_cached_data()
130 bool cache_is_cached(const PageCache *cache, uint64_t addr, in cache_is_cached()
145 int cache_insert(PageCache *cache, uint64_t addr, const uint8_t *pdata, in cache_insert()
H A Dram.c152 PageCache *cache; member
/qemu/contrib/plugins/
H A Dcache.c140 static void lru_priorities_init(Cache *cache) in lru_priorities_init()
150 static void lru_update_blk(Cache *cache, int set_idx, int blk_idx) in lru_update_blk()
157 static int lru_get_lru_block(Cache *cache, int set_idx) in lru_get_lru_block()
173 static void lru_priorities_destroy(Cache *cache) in lru_priorities_destroy()
193 static void fifo_init(Cache *cache) in fifo_init()
202 static int fifo_get_first_block(Cache *cache, int set) in fifo_get_first_block()
208 static void fifo_update_on_miss(Cache *cache, int set, int blk_idx) in fifo_update_on_miss()
214 static void fifo_destroy(Cache *cache) in fifo_destroy()
223 static inline uint64_t extract_tag(Cache *cache, uint64_t addr) in extract_tag()
228 static inline uint64_t extract_set(Cache *cache, uint64_t addr) in extract_set()
[all …]
/qemu/include/hw/virtio/
H A Dvirtio-access.h160 MemoryRegionCache *cache, in virtio_lduw_phys_cached()
170 MemoryRegionCache *cache, in virtio_ldl_phys_cached()
180 MemoryRegionCache *cache, in virtio_ldq_phys_cached()
190 MemoryRegionCache *cache, in virtio_stw_phys_cached()
201 MemoryRegionCache *cache, in virtio_stl_phys_cached()
H A Dvirtio-net.h74 uint32_t cache; member
/qemu/hw/core/
H A Dmachine-smp.c351 CacheLevelAndType cache) in machine_get_cache_topo_level()
356 void machine_set_cache_topo_level(MachineState *ms, CacheLevelAndType cache, in machine_set_cache_topo_level()
H A Dmachine.c971 SmpCache *cache = &ms->smp_cache; in machine_get_smp_cache() local
/qemu/linux-user/
H A Dloader.h22 const void *cache; member
/qemu/include/system/
H A Dmemory.h2784 static inline uint8_t address_space_ldub_cached(MemoryRegionCache *cache, in address_space_ldub_cached()
2795 static inline void address_space_stb_cached(MemoryRegionCache *cache, in address_space_stb_cached()
2853 static inline void address_space_cache_init_empty(MemoryRegionCache *cache) in address_space_cache_init_empty()
3089 address_space_read_cached(MemoryRegionCache *cache, hwaddr addr, in address_space_read_cached()
3111 address_space_write_cached(MemoryRegionCache *cache, hwaddr addr, in address_space_write_cached()
/qemu/hw/virtio/
H A Dvirtio.c305 MemoryRegionCache *cache, int i) in vring_split_desc_read()
316 MemoryRegionCache *cache, in vring_packed_event_read()
329 MemoryRegionCache *cache, in vring_packed_off_wrap_write()
339 MemoryRegionCache *cache, uint16_t flags) in vring_packed_flags_write()
586 MemoryRegionCache *cache, in vring_packed_desc_read_flags()
596 MemoryRegionCache *cache, in vring_packed_desc_read()
621 MemoryRegionCache *cache, in vring_packed_desc_write_data()
639 MemoryRegionCache *cache, in vring_packed_desc_write_flags()
650 MemoryRegionCache *cache, in vring_packed_desc_write()
715 VRingMemoryRegionCaches *cache; in virtio_queue_packed_empty_rcu() local
/qemu/
H A Dqemu-img.c723 const char *filename, *fmt, *output, *cache; in img_check() local
954 const char *filename, *fmt, *cache, *base; in img_commit() local
1360 const char *fmt1 = NULL, *fmt2 = NULL, *cache, *filename1, *filename2; in img_compare() local
2237 const char *fmt = NULL, *out_fmt = NULL, *cache = "unsafe", in img_convert() local
3543 const char *fmt, *cache, *src_cache, *out_basefmt, *out_baseimg; in img_rebase() local
4247 const char *fmt = NULL, *filename, *cache; in img_amend() local
/qemu/system/
H A Dphysmem.c3524 int64_t address_space_cache_init(MemoryRegionCache *cache, in address_space_cache_init()
3572 void address_space_cache_invalidate(MemoryRegionCache *cache, in address_space_cache_invalidate()
3582 void address_space_cache_destroy(MemoryRegionCache *cache) in address_space_cache_destroy()
3603 MemoryRegionCache *cache, hwaddr addr, hwaddr *xlat, in address_space_translate_cached()
3684 address_space_read_cached_slow(MemoryRegionCache *cache, hwaddr addr, in address_space_read_cached_slow()
3701 address_space_write_cached_slow(MemoryRegionCache *cache, hwaddr addr, in address_space_write_cached_slow()
/qemu/target/i386/
H A Dcpu.c201 static uint8_t cpuid2_cache_descriptor(CPUCacheInfo *cache) in cpuid2_cache_descriptor()
280 static void encode_cache_cpuid4(CPUCacheInfo *cache, in encode_cache_cpuid4()
429 static uint32_t encode_cache_cpuid80000005(CPUCacheInfo *cache) in encode_cache_cpuid80000005()
485 static void encode_cache_cpuid8000001d(CPUCacheInfo *cache, in encode_cache_cpuid8000001d()
/qemu/hw/s390x/
H A Ds390-pci-inst.c618 S390IOTLBEntry *cache = g_hash_table_lookup(iommu->iotlb, &entry->iova); in s390_pci_update_iotlb() local
/qemu/hw/arm/
H A Dxlnx-versal.c469 Object *cache = OBJECT(&s->pmc.efuse_cache); in versal_create_efuse() local
/qemu/qga/
H A Dcommands-posix.c1162 GHashTable *cache = NULL; in qmp_guest_get_users() local
H A Dcommands-win32.c1994 GHashTable *cache = NULL; in qmp_guest_get_users() local
/qemu/block/
H A Drbd.c898 BlockdevOptionsRbd *opts, bool cache, in qemu_rbd_connect()
/qemu/hw/pci/
H A Dpci.c1199 static uint16_t pci_req_id_cache_extract(PCIReqIDCache *cache) in pci_req_id_cache_extract()
1234 PCIReqIDCache cache = { in pci_req_id_cache_get() local