/qemu/backends/tpm/ |
H A D | tpm_passthrough.c | 127 static void tpm_passthrough_handle_request(TPMBackend *tb, TPMBackendCmd *cmd, in tpm_passthrough_handle_request() 139 static void tpm_passthrough_reset(TPMBackend *tb) in tpm_passthrough_reset() 146 static bool tpm_passthrough_get_tpm_established_flag(TPMBackend *tb) in tpm_passthrough_get_tpm_established_flag() 151 static int tpm_passthrough_reset_tpm_established_flag(TPMBackend *tb, in tpm_passthrough_reset_tpm_established_flag() 158 static void tpm_passthrough_cancel_cmd(TPMBackend *tb) in tpm_passthrough_cancel_cmd() 184 static TPMVersion tpm_passthrough_get_tpm_version(TPMBackend *tb) in tpm_passthrough_get_tpm_version() 191 static size_t tpm_passthrough_get_buffer_size(TPMBackend *tb) in tpm_passthrough_get_buffer_size() 303 static int tpm_passthrough_startup_tpm(TPMBackend *tb, size_t buffersize) in tpm_passthrough_startup_tpm() 317 static TpmTypeOptions *tpm_passthrough_get_tpm_options(TPMBackend *tb) in tpm_passthrough_get_tpm_options()
|
H A D | tpm_emulator.c | 245 static void tpm_emulator_handle_request(TPMBackend *tb, TPMBackendCmd *cmd, in tpm_emulator_handle_request() 311 static int tpm_emulator_stop_tpm(TPMBackend *tb) in tpm_emulator_stop_tpm() 363 static int tpm_emulator_set_buffer_size(TPMBackend *tb, in tpm_emulator_set_buffer_size() 404 static int tpm_emulator_startup_tpm_resume(TPMBackend *tb, size_t buffersize, in tpm_emulator_startup_tpm_resume() 444 static int tpm_emulator_startup_tpm(TPMBackend *tb, size_t buffersize) in tpm_emulator_startup_tpm() 458 static bool tpm_emulator_get_tpm_established_flag(TPMBackend *tb) in tpm_emulator_get_tpm_established_flag() 482 static int tpm_emulator_reset_tpm_established_flag(TPMBackend *tb, in tpm_emulator_reset_tpm_established_flag() 517 static void tpm_emulator_cancel_cmd(TPMBackend *tb) in tpm_emulator_cancel_cmd() 538 static TPMVersion tpm_emulator_get_tpm_version(TPMBackend *tb) in tpm_emulator_get_tpm_version() 545 static size_t tpm_emulator_get_buffer_size(TPMBackend *tb) in tpm_emulator_get_buffer_size() [all …]
|
/qemu/accel/tcg/ |
H A D | tb-maint.c | 43 #define TB_FOR_EACH_TAGGED(head, tb, n, field) \ argument 48 #define TB_FOR_EACH_JMP(head_tb, tb, n) \ argument 80 static inline void tb_lock_pages(const TranslationBlock *tb) { } in tb_lock_pages() 96 static void tb_record(TranslationBlock *tb) in tb_record() 119 static void tb_remove(TranslationBlock *tb) in tb_remove() 141 static PageForEachNext foreach_tb_next(PageForEachNext tb, in foreach_tb_next() 314 #define PAGE_FOR_EACH_TB(start, last, pagedesc, tb, n) \ argument 451 static void tb_lock_pages(TranslationBlock *tb) in tb_lock_pages() 472 void tb_unlock_pages(TranslationBlock *tb) in tb_unlock_pages() 622 TranslationBlock *tb; in page_collection_lock() local [all …]
|
H A D | translate-all.c | 100 static int encode_search(TranslationBlock *tb, uint8_t *block) in encode_search() 136 static int cpu_unwind_data_from_tb(TranslationBlock *tb, uintptr_t host_pc, in cpu_unwind_data_from_tb() 174 void cpu_restore_state_from_tb(CPUState *cpu, TranslationBlock *tb, in cpu_restore_state_from_tb() 209 TranslationBlock *tb = tcg_tb_lookup(host_pc); in cpu_restore_state() local 221 TranslationBlock *tb = tcg_tb_lookup(host_pc); in cpu_unwind_state_data() local 238 static int setjmp_gen_code(CPUArchState *env, TranslationBlock *tb, in setjmp_gen_code() 264 TranslationBlock *tb, *existing_tb; in tb_gen_code() local 540 TranslationBlock *tb; in tb_check_watchpoint() local 571 TranslationBlock *tb; in cpu_io_recompile() local
|
H A D | cpu-exec.c | 159 const TranslationBlock *tb = p; in tb_lookup_cmp() local 228 TranslationBlock *tb; in tb_lookup() local 265 const TranslationBlock *tb) in log_cpu_exec() 376 TranslationBlock *tb; in HELPER() local 407 static vaddr log_pc(CPUState *cpu, const TranslationBlock *tb) in log_pc() 550 TranslationBlock *tb; in cpu_exec_step_atomic() local 599 void tb_set_jmp_target(TranslationBlock *tb, int n, uintptr_t addr) in tb_set_jmp_target() 615 static inline void tb_add_jump(TranslationBlock *tb, int n, in tb_add_jump() 867 static inline void cpu_loop_exec_tb(CPUState *cpu, TranslationBlock *tb, in cpu_loop_exec_tb() 926 TranslationBlock *tb; in cpu_exec_loop() local
|
H A D | tb-internal.h | 40 static inline void tb_unlock_pages(TranslationBlock *tb) { } in tb_unlock_pages()
|
H A D | translator.c | 88 static void gen_tb_end(const TranslationBlock *tb, uint32_t cflags, in gen_tb_end() 122 void translator_loop(CPUState *cpu, TranslationBlock *tb, int *max_insns, in translator_loop() 251 TranslationBlock *tb = db->tb; in translator_ld() local
|
H A D | tb-jmp-cache.h | 28 TranslationBlock *tb; member
|
/qemu/hw/timer/ |
H A D | arm_mptimer.c | 56 static inline void timerblock_update_irq(TimerBlock *tb) in timerblock_update_irq() 91 TimerBlock *tb = (TimerBlock *)opaque; in timerblock_tick() local 106 TimerBlock *tb = (TimerBlock *)opaque; in timerblock_read() local 124 TimerBlock *tb = (TimerBlock *)opaque; in timerblock_write() local 217 static void timerblock_reset(TimerBlock *tb) in timerblock_reset() 271 TimerBlock *tb = &s->timerblock[i]; in arm_mptimer_realize() local
|
/qemu/include/exec/ |
H A D | translation-block.h | 153 static inline uint32_t tb_cflags(const TranslationBlock *tb) in tb_cflags() 161 static inline tb_page_addr_t tb_page_addr0(const TranslationBlock *tb) in tb_page_addr0() 170 static inline tb_page_addr_t tb_page_addr1(const TranslationBlock *tb) in tb_page_addr1() 180 static inline void tb_set_page_addr0(TranslationBlock *tb, in tb_set_page_addr0() 199 static inline void tb_set_page_addr1(TranslationBlock *tb, in tb_set_page_addr1()
|
/qemu/hw/ppc/ |
H A D | ppc.c | 505 static int64_t tb_to_ns_round_up(uint32_t freq, uint64_t tb) in tb_to_ns_round_up() 519 uint64_t tb; in cpu_ppc_load_tbl() local 535 uint64_t tb; in _cpu_ppc_load_tbu() local 565 uint64_t tb; in cpu_ppc_store_tbl() local 576 uint64_t tb; in _cpu_ppc_store_tbu() local 592 uint64_t tb; in cpu_ppc_load_atbl() local 604 uint64_t tb; in cpu_ppc_load_atbu() local 617 uint64_t tb; in cpu_ppc_store_atbl() local 628 uint64_t tb; in cpu_ppc_store_atbu() local 666 uint64_t tb; in cpu_ppc_store_tbu40() local [all …]
|
/qemu/tests/tcg/plugins/ |
H A D | reset.c | 30 static void tb_trans_after_reset(qemu_plugin_id_t id, struct qemu_plugin_tb *tb) in tb_trans_after_reset() 51 static void tb_trans_before_reset(qemu_plugin_id_t id, struct qemu_plugin_tb *tb) in tb_trans_before_reset()
|
H A D | empty.c | 23 static void vcpu_tb_trans(qemu_plugin_id_t id, struct qemu_plugin_tb *tb) in vcpu_tb_trans()
|
/qemu/plugins/ |
H A D | api.c | 86 void qemu_plugin_register_vcpu_tb_exec_cb(struct qemu_plugin_tb *tb, in qemu_plugin_register_vcpu_tb_exec_cb() 96 void qemu_plugin_register_vcpu_tb_exec_cond_cb(struct qemu_plugin_tb *tb, in qemu_plugin_register_vcpu_tb_exec_cond_cb() 116 struct qemu_plugin_tb *tb, in qemu_plugin_register_vcpu_tb_exec_inline_per_vcpu() 226 size_t qemu_plugin_tb_n_insns(const struct qemu_plugin_tb *tb) in qemu_plugin_tb_n_insns() 231 uint64_t qemu_plugin_tb_vaddr(const struct qemu_plugin_tb *tb) in qemu_plugin_tb_vaddr() 238 qemu_plugin_tb_get_insn(const struct qemu_plugin_tb *tb, size_t idx) in qemu_plugin_tb_get_insn()
|
/qemu/target/sh4/ |
H A D | cpu.c | 70 const TranslationBlock *tb) in superh_cpu_synchronize_from_tb() 80 const TranslationBlock *tb, in superh_restore_state_to_opc() 96 const TranslationBlock *tb) in superh_io_recompile_replay_branch()
|
/qemu/include/tcg/ |
H A D | perf.h | 39 static inline void perf_report_code(uint64_t guest_pc, TranslationBlock *tb, in perf_report_code()
|
/qemu/target/i386/tcg/ |
H A D | tcg-cpu.c | 71 const TranslationBlock *tb) in x86_cpu_synchronize_from_tb() 86 const TranslationBlock *tb, in x86_restore_state_to_opc()
|
/qemu/target/tricore/ |
H A D | cpu.c | 59 const TranslationBlock *tb) in tricore_cpu_synchronize_from_tb() 66 const TranslationBlock *tb, in tricore_restore_state_to_opc()
|
/qemu/target/hppa/ |
H A D | cpu.c | 107 const TranslationBlock *tb) in hppa_cpu_synchronize_from_tb() 117 const TranslationBlock *tb, in hppa_restore_state_to_opc()
|
/qemu/target/alpha/ |
H A D | cpu.c | 57 const TranslationBlock *tb) in alpha_cpu_synchronize_from_tb() 67 const TranslationBlock *tb, in alpha_restore_state_to_opc()
|
/qemu/target/openrisc/ |
H A D | cpu.c | 57 const TranslationBlock *tb) in openrisc_cpu_synchronize_from_tb() 66 const TranslationBlock *tb, in openrisc_restore_state_to_opc()
|
/qemu/tcg/ |
H A D | region.c | 176 TranslationBlock *tb = value; in tb_destroy() local 223 void tcg_tb_insert(TranslationBlock *tb) in tcg_tb_insert() 233 void tcg_tb_remove(TranslationBlock *tb) in tcg_tb_remove() 251 TranslationBlock *tb; in tcg_tb_lookup() local
|
/qemu/target/rx/ |
H A D | cpu.c | 59 const TranslationBlock *tb) in rx_cpu_synchronize_from_tb() 68 const TranslationBlock *tb, in rx_restore_state_to_opc()
|
/qemu/tests/tcg/aarch64/ |
H A D | bti-2.c | 87 void *tb, *te; in main() local
|
/qemu/target/avr/ |
H A D | cpu.c | 73 const TranslationBlock *tb) in avr_cpu_synchronize_from_tb() 80 const TranslationBlock *tb, in avr_restore_state_to_opc()
|