/qemu/tests/qtest/ |
H A D | tpm-tests.c | 32 void tpm_test_swtpm_test(const char *src_tpm_path, tx_func *tx, in tpm_test_swtpm_test() argument 59 tpm_util_startup(s, tx); in tpm_test_swtpm_test() 60 tpm_util_pcrextend(s, tx); in tpm_test_swtpm_test() 67 tpm_util_pcrread(s, tx, tpm_pcrread_resp, in tpm_test_swtpm_test() 79 const char *uri, tx_func *tx, in tpm_test_swtpm_migration_test() argument 105 tpm_util_startup(src_qemu, tx); in tpm_test_swtpm_migration_test() 106 tpm_util_pcrextend(src_qemu, tx); in tpm_test_swtpm_migration_test() 113 tpm_util_pcrread(src_qemu, tx, tpm_pcrread_resp, in tpm_test_swtpm_migration_test() 119 tpm_util_pcrread(dst_qemu, tx, tpm_pcrread_resp, in tpm_test_swtpm_migration_test()
|
H A D | ahci-test.c | 886 g_free(tx); in ahci_test_io_rw_simple() 1066 g_free(tx); in test_dma_fragmented() 1187 g_free(tx); in ahci_migrate_simple() 1253 g_free(tx); in ahci_halted_io_test() 1329 g_free(tx); in ahci_migrate_halted_io() 1553 unsigned char *tx = opts->opaque; in ahci_cb_cmp_buff() local 1572 unsigned char *tx; in ahci_test_cdrom() local 1587 opts.opaque = tx; in ahci_test_cdrom() 1598 g_free(tx); in ahci_test_cdrom() 1652 unsigned char *tx; in test_atapi_tray() local [all …]
|
H A D | tpm-util.c | 54 void tpm_util_startup(QTestState *s, tx_func *tx) in tpm_util_startup() argument 62 tx(s, tpm_startup, sizeof(tpm_startup), buffer, sizeof(buffer)); in tpm_util_startup() 68 void tpm_util_pcrextend(QTestState *s, tx_func *tx) in tpm_util_pcrextend() argument 82 tx(s, tpm_pcrextend, sizeof(tpm_pcrextend), buffer, sizeof(buffer)); in tpm_util_pcrextend() 88 void tpm_util_pcrread(QTestState *s, tx_func *tx, in tpm_util_pcrread() argument 96 tx(s, tpm_pcrread, sizeof(tpm_pcrread), buffer, sizeof(buffer)); in tpm_util_pcrread()
|
H A D | tpm-util.h | 31 void tpm_util_startup(QTestState *s, tx_func *tx); 32 void tpm_util_pcrextend(QTestState *s, tx_func *tx); 33 void tpm_util_pcrread(QTestState *s, tx_func *tx,
|
H A D | tpm-tests.h | 18 void tpm_test_swtpm_test(const char *src_tpm_path, tx_func *tx, 23 const char *uri, tx_func *tx,
|
/qemu/hw/i386/kvm/ |
H A D | trace-events | 6 xenstore_error(unsigned int id, unsigned int tx_id, const char *err) "req %u tx %u err %s" 7 xenstore_read(unsigned int tx_id, const char *path) "tx %u path %s" 8 xenstore_write(unsigned int tx_id, const char *path) "tx %u path %s" 9 xenstore_mkdir(unsigned int tx_id, const char *path) "tx %u path %s" 10 xenstore_directory(unsigned int tx_id, const char *path) "tx %u path %s" 11 xenstore_directory_part(unsigned int tx_id, const char *path, unsigned int offset) "tx %u path %s o… 13 xenstore_transaction_end(unsigned int tx_id, bool commit) "tx %u commit %d" 14 xenstore_rm(unsigned int tx_id, const char *path) "tx %u path %s" 15 xenstore_get_perms(unsigned int tx_id, const char *path) "tx %u path %s" 16 xenstore_set_perms(unsigned int tx_id, const char *path) "tx %u path %s"
|
H A D | xenstore_impl.c | 858 if (!tx) { in init_walk_op() 937 XsTransaction *tx; in xs_impl_transaction_start() local 953 tx->dom_id = dom_id; in xs_impl_transaction_start() 955 g_hash_table_insert(s->transactions, GINT_TO_POINTER(tx->tx_id), tx); in xs_impl_transaction_start() 959 *tx_id = tx->tx_id; in xs_impl_transaction_start() 1031 s->root = tx->root; in transaction_commit() 1032 tx->root = NULL; in transaction_commit() 1067 if (!tx || tx->dom_id != dom_id) { in xs_impl_transaction_end() 1365 if (tx->root) { in xs_tx_free() 1368 g_free(tx); in xs_tx_free() [all …]
|
/qemu/tests/bench/ |
H A D | atomic64-bench.c | 121 double tx; in pr_stats() local 127 tx = val / duration / 1e6; in pr_stats() 131 printf(" Throughput: %.2f Mops/s\n", tx); in pr_stats() 132 printf(" Throughput/thread: %.2f Mops/s/thread\n", tx / n_threads); in pr_stats()
|
H A D | atomic_add-bench.c | 128 double tx; in pr_stats() local 133 tx = val / duration / 1e6; in pr_stats() 137 printf(" Throughput: %.2f Mops/s\n", tx); in pr_stats() 138 printf(" Throughput/thread: %.2f Mops/s/thread\n", tx / n_threads); in pr_stats()
|
H A D | qht-bench.c | 393 double tx; in pr_stats() local 418 tx = (s.rd + s.not_rd + s.in + s.not_in + s.rm + s.not_rm) / 1e6 / duration; in pr_stats() 419 printf(" Throughput: %.2f MT/s\n", tx); in pr_stats() 420 printf(" Throughput/thread: %.2f MT/s/thread\n", tx / n_rw_threads); in pr_stats()
|
/qemu/hw/net/ |
H A D | eepro100.c | 730 pci_dma_read(&s->dev, s->cb_address, &s->tx, sizeof(s->tx)); in read_cb() 731 s->tx.status = le16_to_cpu(s->tx.status); in read_cb() 732 s->tx.command = le16_to_cpu(s->tx.command); in read_cb() 733 s->tx.link = le32_to_cpu(s->tx.link); in read_cb() 734 s->tx.tbd_array_addr = le32_to_cpu(s->tx.tbd_array_addr); in read_cb() 735 s->tx.tcb_bytes = le16_to_cpu(s->tx.tcb_bytes); in read_cb() 741 uint32_t tbd_array = s->tx.tbd_array_addr; in tx_command() 869 s->cu_offset = s->tx.link; in action_command() 872 s->tx.status, s->tx.command, s->tx.link)); in action_command() 873 switch (s->tx.command & COMMAND_CMD) { in action_command() [all …]
|
H A D | opencores_eth.c | 489 unsigned len = GET_FIELD(tx->len_flags, TXD_LEN); 492 if ((tx->len_flags & TXD_PAD) && 501 trace_open_eth_start_xmit(tx->buf_ptr, len, tx_len); 511 cpu_physical_memory_read(tx->buf_ptr, buf, len); 520 if (tx->len_flags & TXD_WR) { 528 tx->len_flags &= ~(TXD_RD | TXD_UR | 530 if (tx->len_flags & TXD_IRQ) { 538 desc *tx = tx_desc(s); local 540 (tx->len_flags & TXD_RD) && 541 GET_FIELD(tx->len_flags, TXD_LEN) > 4) { [all …]
|
H A D | e1000.c | 110 } tx; member 394 memset(&d->tx, 0, sizeof d->tx); in e1000_reset_hold() 578 struct e1000_tx *tp = &s->tx; in xmit_seg() 649 struct e1000_tx *tp = &s->tx; in process_tx_desc() 766 if (s->tx.busy) { in start_xmit() 769 s->tx.busy = true; in start_xmit() 797 s->tx.busy = false; in start_xmit() 1374 s->mig_props = s->tx.props; in e1000_pre_save() 1379 s->mig_props = s->tx.tso_props; in e1000_pre_save() 1404 s->tx.props = s->mig_props; in e1000_post_load() [all …]
|
H A D | igb_core.c | 622 if (tx->first) { in igb_process_tx_desc() 650 if (!tx->skip_cp) { in igb_process_tx_desc() 658 if (!tx->skip_cp && net_tx_pkt_parse(tx->tx_pkt)) { in igb_process_tx_desc() 676 tx->first = true; in igb_process_tx_desc() 677 tx->skip_cp = false; in igb_process_tx_desc() 761 struct igb_tx *tx; member 795 txr->tx = &core->tx[idx]; in igb_tx_ring_init() 4466 struct igb_tx *tx; in igb_reset() local 4499 tx = &core->tx[i]; in igb_reset() 4500 memset(tx->ctx, 0, sizeof(tx->ctx)); in igb_reset() [all …]
|
H A D | e1000e_core.c | 606 if (tx->props.tse && tx->cptse) { in e1000e_setup_tx_offloads() 607 if (!net_tx_pkt_build_vheader(tx->tx_pkt, true, true, tx->props.mss)) { in e1000e_setup_tx_offloads() 713 tx->cptse = 0; in e1000e_process_tx_desc() 718 if (!tx->skip_cp) { in e1000e_process_tx_desc() 726 if (!tx->skip_cp && net_tx_pkt_parse(tx->tx_pkt)) { in e1000e_process_tx_desc() 737 tx->skip_cp = false; in e1000e_process_tx_desc() 740 tx->sum_needed = 0; in e1000e_process_tx_desc() 741 tx->cptse = 0; in e1000e_process_tx_desc() 861 struct e1000e_tx *tx; member 881 txr->tx = &core->tx[idx]; in e1000e_tx_ring_init() [all …]
|
/qemu/net/ |
H A D | af-xdp.c | 37 struct xsk_ring_prod tx; member 134 if (!s->outstanding_tx || !xsk_ring_prod__needs_wakeup(&s->tx)) { in af_xdp_writable() 158 if (!s->n_pool || !xsk_ring_prod__reserve(&s->tx, 1, &idx)) { in af_xdp_receive() 167 desc = xsk_ring_prod__tx_desc(&s->tx, idx); in af_xdp_receive() 174 xsk_ring_prod__submit(&s->tx, 1); in af_xdp_receive() 177 if (xsk_ring_prod__needs_wakeup(&s->tx)) { in af_xdp_receive() 367 s->umem, &s->rx, &s->tx, &cfg)) { in af_xdp_socket_create() 375 s->umem, &s->rx, &s->tx, &cfg)) { in af_xdp_socket_create() 381 s->umem, &s->rx, &s->tx, &cfg)) { in af_xdp_socket_create()
|
H A D | netmap.c | 46 struct netmap_ring *tx; member 161 struct netmap_ring *ring = s->tx; in netmap_receive_iov() 423 s->tx = NETMAP_TXRING(nmd->nifp, 0); in net_init_netmap()
|
/qemu/hw/ssi/ |
H A D | omap_spi.c | 48 uint32_t tx; member 93 ch->rx = ch->txrx(ch->opaque, ch->tx, /* WL */ in omap_mcspi_transfer_run() 97 ch->tx = 0; in omap_mcspi_transfer_run() 206 return s->ch[ch].tx; in omap_mcspi_read() 332 s->ch[ch].tx = value; in omap_mcspi_write()
|
H A D | xilinx_spi.c | 176 uint32_t tx; in spi_flush_txfifo() local 180 tx = (uint32_t)fifo8_pop(&s->tx_fifo); in spi_flush_txfifo() 181 DB_PRINT("data tx:%x\n", tx); in spi_flush_txfifo() 182 rx = ssi_transfer(s->spi, tx); in spi_flush_txfifo()
|
H A D | mss-spi.c | 216 uint32_t tx; in spi_flush_txfifo() local 235 tx = fifo32_pop(&s->tx_fifo); in spi_flush_txfifo() 236 DB_PRINT("data tx:0x%" PRIx32, tx); in spi_flush_txfifo() 237 rx = ssi_transfer(s->spi, tx); in spi_flush_txfifo()
|
H A D | imx_spi.c | 164 uint32_t tx; in imx_spi_flush_txfifo() local 183 tx = fifo32_pop(&s->tx_fifo); in imx_spi_flush_txfifo() 185 DPRINTF("data tx:0x%08x\n", tx); in imx_spi_flush_txfifo() 192 uint8_t byte = tx >> (tx_burst - 8); in imx_spi_flush_txfifo()
|
H A D | sifive_spi.c | 132 uint8_t tx; in sifive_spi_flush_txfifo() local 136 tx = fifo8_pop(&s->tx_fifo); in sifive_spi_flush_txfifo() 137 rx = ssi_transfer(s->spi, tx); in sifive_spi_flush_txfifo()
|
/qemu/ui/ |
H A D | vnc-enc-zrle.c.inc | 80 int tx, th; 84 for (tx = x; tx < x + w; tx += VNC_ZRLE_TILE_WIDTH) { 88 tw = MIN(VNC_ZRLE_TILE_WIDTH, x + w - tx); 90 buf = zrle_convert_fb(vs, tx, ty, tw, th, ZRLE_BPP);
|
/qemu/docs/ |
H A D | colo-proxy.txt | 53 | | | tx | rx rx | | | | | tx … 64 … | NOTE: filter direction is rx/tx/all 66 | | tx:receiv… 174 -object filter-mirror,id=m0,netdev=hn0,queue=tx,outdev=mirror0 184 -object filter-redirector,id=f1,netdev=hn0,queue=tx,indev=red0 199 -object filter-mirror,id=m0,netdev=hn0,queue=tx,outdev=mirror0,vnet_hdr_support 209 -object filter-redirector,id=f1,netdev=hn0,queue=tx,indev=red0,vnet_hdr_support
|
/qemu/tests/qtest/libqos/ |
H A D | libqos.c | 170 unsigned char *tx = (unsigned char *)buffer; in generate_pattern() local 177 tx[i] = p++ % 256; in generate_pattern() 187 sx = (size_t *)&tx[j]; in generate_pattern()
|