Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dqcow2-cache.c38 struct Qcow2Cache { struct
40 struct Qcow2Cache *depends; argument
49 static inline void *qcow2_cache_get_table_addr(Qcow2Cache *c, int table) in qcow2_cache_get_table_addr() argument
54 static inline int qcow2_cache_get_table_idx(Qcow2Cache *c, void *table) in qcow2_cache_get_table_idx()
62 static inline const char *qcow2_cache_get_name(BDRVQcow2State *s, Qcow2Cache *c) in qcow2_cache_get_name()
74 static void qcow2_cache_table_release(Qcow2Cache *c, int i, int num_tables) in qcow2_cache_table_release()
89 static inline bool can_clean_entry(Qcow2Cache *c, int i) in can_clean_entry()
96 void qcow2_cache_clean_unused(Qcow2Cache *c) in qcow2_cache_clean_unused()
123 Qcow2Cache *qcow2_cache_create(BlockDriverState *bs, int num_tables, in qcow2_cache_create()
127 Qcow2Cache *c; in qcow2_cache_create()
[all …]