Home
last modified time | relevance | path

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

/openbmc/qemu/block/
H A Dqed-l2-cache.c75 CachedL2Table *entry, *next_entry; in qed_free_l2_cache()
90 CachedL2Table *qed_alloc_l2_cache_entry(L2TableCache *l2_cache) in qed_alloc_l2_cache_entry()
92 CachedL2Table *entry; in qed_alloc_l2_cache_entry()
108 void qed_unref_l2_cache_entry(CachedL2Table *entry) in qed_unref_l2_cache_entry()
131 CachedL2Table *qed_find_l2_cache_entry(L2TableCache *l2_cache, uint64_t offset) in qed_find_l2_cache_entry()
133 CachedL2Table *entry; in qed_find_l2_cache_entry()
161 void qed_commit_l2_cache_entry(L2TableCache *l2_cache, CachedL2Table *l2_table) in qed_commit_l2_cache_entry()
163 CachedL2Table *entry; in qed_commit_l2_cache_entry()
176 CachedL2Table *next; in qed_commit_l2_cache_entry()
H A Dqed.h110 typedef struct CachedL2Table { struct
113 QTAILQ_ENTRY(CachedL2Table) node; argument
115 } CachedL2Table; typedef
118 QTAILQ_HEAD(, CachedL2Table) entries;
123 CachedL2Table *l2_table;
195 CachedL2Table *qed_alloc_l2_cache_entry(L2TableCache *l2_cache);
196 void qed_unref_l2_cache_entry(CachedL2Table *entry);
197 CachedL2Table *qed_find_l2_cache_entry(L2TableCache *l2_cache, uint64_t offset);
198 void qed_commit_l2_cache_entry(L2TableCache *l2_cache, CachedL2Table *l2_table);
H A Dqed.c246 static CachedL2Table *qed_new_l2_table(BDRVQEDState *s) in qed_new_l2_table()
248 CachedL2Table *l2_table = qed_alloc_l2_cache_entry(&s->l2_cache); in qed_new_l2_table()
1007 CachedL2Table *l2_table = acb->request.l2_table; in qed_aio_write_l1_update()