Lines Matching refs:TranslationBlock
39 for (n = (head) & 1, tb = (TranslationBlock *)((head) & ~1); \
40 tb; tb = (TranslationBlock *)tb->field[n], n = (uintptr_t)tb & 1, \
41 tb = (TranslationBlock *)((uintptr_t)tb & ~1))
48 const TranslationBlock *a = ap; in tb_cmp()
49 const TranslationBlock *b = bp; in tb_cmp()
75 static inline void tb_lock_pages(const TranslationBlock *tb) { } in tb_lock_pages()
91 static void tb_record(TranslationBlock *tb) in tb_record()
114 static void tb_remove(TranslationBlock *tb) in tb_remove()
127 typedef TranslationBlock *PageForEachNext;
133 return n ? container_of(n, TranslationBlock, itree) : NULL; in foreach_tb_first()
145 return container_of(n, TranslationBlock, itree); in foreach_tb_next()
450 static void tb_lock_pages(TranslationBlock *tb) in tb_lock_pages()
471 void tb_unlock_pages(TranslationBlock *tb) in tb_unlock_pages()
621 TranslationBlock *tb; in page_collection_lock()
691 static void tb_page_add(PageDesc *p, TranslationBlock *tb, unsigned int n) in tb_page_add()
711 static void tb_record(TranslationBlock *tb) in tb_record()
725 static void tb_page_remove(PageDesc *pd, TranslationBlock *tb) in tb_page_remove()
727 TranslationBlock *tb1; in tb_page_remove()
743 static void tb_remove(TranslationBlock *tb) in tb_remove()
803 static inline void tb_remove_from_jmp_list(TranslationBlock *orig, int n_orig) in tb_remove_from_jmp_list()
806 TranslationBlock *dest; in tb_remove_from_jmp_list()
807 TranslationBlock *tb; in tb_remove_from_jmp_list()
813 dest = (TranslationBlock *)(ptr & ~1); in tb_remove_from_jmp_list()
854 void tb_reset_jump(TranslationBlock *tb, int n) in tb_reset_jump()
861 static inline void tb_jmp_unlink(TranslationBlock *dest) in tb_jmp_unlink()
863 TranslationBlock *tb; in tb_jmp_unlink()
878 static void tb_jmp_cache_inval_tb(TranslationBlock *tb) in tb_jmp_cache_inval_tb()
905 static void do_tb_phys_invalidate(TranslationBlock *tb, bool rm_from_page_list) in do_tb_phys_invalidate()
945 static void tb_phys_invalidate__locked(TranslationBlock *tb) in tb_phys_invalidate__locked()
956 void tb_phys_invalidate(TranslationBlock *tb, tb_page_addr_t page_addr) in tb_phys_invalidate()
976 TranslationBlock *tb_link_page(TranslationBlock *tb) in tb_link_page()
1010 TranslationBlock *tb; in tb_invalidate_phys_range()
1043 TranslationBlock *current_tb; in tb_invalidate_phys_page_unwind()
1045 TranslationBlock *tb; in tb_invalidate_phys_page_unwind()
1103 TranslationBlock *tb; in tb_invalidate_phys_page_range__locked()
1107 TranslationBlock *current_tb = retaddr ? tcg_tb_lookup(retaddr) : NULL; in tb_invalidate_phys_page_range__locked()