Searched refs:Qcow2Cache (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/block/ |
H A D | qcow2-cache.c | 38 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 …]
|
H A D | qcow2.h | 231 struct Qcow2Cache; 232 typedef struct Qcow2Cache Qcow2Cache; typedef 346 Qcow2Cache *l2_table_cache; 347 Qcow2Cache *refcount_block_cache; 998 Qcow2Cache * GRAPH_RDLOCK 1001 int qcow2_cache_destroy(Qcow2Cache *c); 1003 void qcow2_cache_entry_mark_dirty(Qcow2Cache *c, void *table); 1004 int GRAPH_RDLOCK qcow2_cache_flush(BlockDriverState *bs, Qcow2Cache *c); 1005 int GRAPH_RDLOCK qcow2_cache_write(BlockDriverState *bs, Qcow2Cache *c); 1006 int GRAPH_RDLOCK qcow2_cache_set_dependency(BlockDriverState *bs, Qcow2Cache *c, [all …]
|
H A D | qcow2.c | 974 Qcow2Cache *l2_table_cache; 975 Qcow2Cache *refcount_block_cache;
|