| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
| H A D | txg.c | 289 cv_wait(&tx->tx_exit_cv, &tx->tx_sync_lock); in txg_sync_stop() 504 tx->tx_synced_txg >= tx->tx_sync_txg_waiting && in txg_sync_thread() 519 if (tx->tx_quiesce_txg_waiting < tx->tx_open_txg+1) in txg_sync_thread() 520 tx->tx_quiesce_txg_waiting = tx->tx_open_txg+1; in txg_sync_thread() 526 txg_thread_exit(tx, &cpr, &tx->tx_sync_thread); in txg_sync_thread() 586 txg_thread_exit(tx, &cpr, &tx->tx_quiesce_thread); in txg_quiesce_thread() 661 cv_wait(&tx->tx_sync_done_cv, &tx->tx_sync_lock); in txg_wait_synced() 702 tx->tx_quiesce_txg_waiting <= tx->tx_open_txg && in txg_kick() 703 tx->tx_sync_txg_waiting <= tx->tx_synced_txg && in txg_kick() 704 tx->tx_quiesced_txg <= tx->tx_synced_txg) { in txg_kick() [all …]
|
| H A D | dmu_tx.c | 59 return (tx); in dmu_tx_create_dd() 67 return (tx); in dmu_tx_create() 295 txh = dmu_tx_hold_object_impl(tx, tx->tx_objset, in dmu_tx_hold_write() 309 txh = dmu_tx_hold_object_impl(tx, tx->tx_objset, in dmu_tx_hold_remap_l1indirect() 446 txh = dmu_tx_hold_object_impl(tx, tx->tx_objset, in dmu_tx_hold_free() 521 txh = dmu_tx_hold_object_impl(tx, tx->tx_objset, in dmu_tx_hold_zap() 547 txh = dmu_tx_hold_object_impl(tx, tx->tx_objset, in dmu_tx_hold_bonus() 571 txh = dmu_tx_hold_object_impl(tx, tx->tx_objset, in dmu_tx_hold_space() 910 tx->tx_txg = txg_hold_open(tx->tx_pool, &tx->tx_txgh); in dmu_tx_try_assign() 948 asize, tx->tx_netfree, &tx->tx_tempreserve_cookie, tx); in dmu_tx_try_assign() [all …]
|
| H A D | dsl_destroy.c | 221 dmu_tx_t *tx) in dsl_destroy_snapshot_handle_remaps() argument 309 tx)); in dsl_destroy_snapshot_sync_impl() 359 tx); in dsl_destroy_snapshot_sync_impl() 488 tx)); in dsl_destroy_snapshot_sync_impl() 491 tx)); in dsl_destroy_snapshot_sync_impl() 637 dmu_tx_t *tx; member 646 dmu_tx_t *tx = ka->tx; in kill_blkptr() local 657 dsl_free(ka->tx->tx_pool, ka->tx->tx_txg, bp); in kill_blkptr() 681 ka.tx = tx; in old_synchronous_dataset_destroy() 828 0, tx); in dsl_destroy_head_sync_impl() [all …]
|
| H A D | dmu_object.c | 39 int dnodesize, dmu_tx_t *tx) in dmu_object_alloc_impl() argument 129 dmu_tx_add_new_object(tx, dn); in dmu_object_alloc_impl() 140 bonuslen, 0, tx); in dmu_object_alloc() 146 dmu_tx_t *tx) in dmu_object_alloc_ibs() argument 157 bonuslen, dnodesize, tx)); in dmu_object_alloc_dnsize() 165 bonuslen, 0, tx)); in dmu_object_claim() 202 bonuslen, 0, tx)); in dmu_object_reclaim() 208 dmu_tx_t *tx) in dmu_object_reclaim_dnsize() argument 248 dnode_free(dn, tx); in dmu_object_free() 302 dmu_tx_t *tx) in dmu_object_zapify() argument [all …]
|
| H A D | zfs_dir.c | 284 dmu_tx_t *tx; in zfs_unlinked_drain() local 331 dmu_tx_abort(tx); in zfs_unlinked_drain() 364 dmu_tx_t *tx; in zfs_purgedir() local 393 dmu_tx_abort(tx); in zfs_purgedir() 402 dmu_tx_commit(tx); in zfs_purgedir() 421 dmu_tx_t *tx; in zfs_rmnode() local 494 dmu_tx_abort(tx); in zfs_rmnode() 532 dmu_tx_commit(tx); in zfs_rmnode() 793 dmu_tx_t *tx; in zfs_make_xattrdir() local 831 dmu_tx_abort(tx); in zfs_make_xattrdir() [all …]
|
| H A D | dsl_deadlist.c | 173 bpobj_free(os, dlobj, tx); in dsl_deadlist_free() 182 bpobj_decr_empty(os, tx); in dsl_deadlist_free() 184 bpobj_free(os, obj, tx); in dsl_deadlist_free() 202 dle->dle_mintxg, obj, tx)); in dle_enqueue() 209 uint64_t obj, dmu_tx_t *tx) in dle_enqueue_subobj() argument 251 dle_enqueue(dl, dle, bp, tx); in dsl_deadlist_insert() 279 mintxg, obj, tx)); in dsl_deadlist_add_key() 438 dmu_tx_t *tx) in dsl_deadlist_insert_bpobj() argument 509 dmu_buf_will_dirty(bonus, tx); in dsl_deadlist_merge() 520 dmu_tx_t *tx) in dsl_deadlist_move_bpobj() argument [all …]
|
| H A D | dsl_dataset.c | 96 dmu_tx_t *tx); 229 dsl_free(tx->tx_pool, tx->tx_txg, bp); in dsl_dataset_block_kill() 243 dsl_free(tx->tx_pool, tx->tx_txg, bp); in dsl_dataset_block_kill() 1094 dmu_tx_t *tx) in dsl_dataset_remove_from_next_clones() argument 1102 obj, tx); in dsl_dataset_remove_from_next_clones() 1395 dmu_tx_t *tx) in dsl_dataset_snapshot_sync_impl() argument 1770 &ds->ds_resume_object[tx->tx_txg & TXG_MASK], tx)); in dsl_dataset_sync() 1773 &ds->ds_resume_offset[tx->tx_txg & TXG_MASK], tx)); in dsl_dataset_sync() 1776 &ds->ds_resume_bytes[tx->tx_txg & TXG_MASK], tx)); in dsl_dataset_sync() 3529 f, tx); in dsl_dataset_clone_swap_sync_impl() [all …]
|
| H A D | dsl_pool.c | 575 FREE_DIR_NAME, tx); in dsl_pool_create() 607 dmu_tx_commit(tx); in dsl_pool_create() 682 dmu_tx_t *tx; in dsl_pool_sync() local 783 dsl_dir_sync(dd, tx); in dsl_pool_sync() 826 dmu_tx_commit(tx); in dsl_pool_sync() 976 dmu_tx_t *tx = arg; in upgrade_clones_cb() local 1067 dmu_tx_t *tx = arg; in upgrade_dir_clones_cb() local 1080 0, tx); in upgrade_dir_clones_cb() 1129 NULL, 0, kcred, tx); in dsl_pool_create_origin() 1250 dmu_tx_t *tx) in dsl_pool_user_release() argument [all …]
|
| H A D | zfeature.c | 297 dmu_tx_t *tx) in feature_sync() argument 304 sizeof (uint64_t), 1, &refcount, tx)); in feature_sync() 357 feature->fi_desc, tx)); in feature_enable_sync() 368 DMU_POOL_FEATURE_ENABLED_TXG, tx); in feature_enable_sync() 380 dmu_tx_t *tx) in feature_do_action() argument 391 ASSERT(dmu_tx_is_syncing(tx)); in feature_do_action() 410 feature_sync(spa, feature, refcount, tx); in feature_do_action() 421 tx->tx_txg == TXG_INITIAL)); in spa_feature_create_zap_objects() 425 DMU_POOL_FEATURES_FOR_READ, tx); in spa_feature_create_zap_objects() 428 DMU_POOL_FEATURES_FOR_WRITE, tx); in spa_feature_create_zap_objects() [all …]
|
| H A D | spa_history.c | 106 dmu_buf_will_dirty(dbp, tx); in spa_history_create_obj() 152 dmu_tx_t *tx) in spa_history_write() argument 292 dmu_buf_will_dirty(dbp, tx); in spa_history_log_sync() 385 dmu_tx_t *tx; in spa_history_log_nvl() local 397 dmu_tx_abort(tx); in spa_history_log_nvl() 411 dmu_tx_commit(tx); in spa_history_log_nvl() 560 dmu_tx_t *htx = tx; in spa_history_log_internal() 564 if (tx == NULL) { in spa_history_log_internal() 577 if (tx == NULL) in spa_history_log_internal() 589 ASSERT(tx != NULL); in spa_history_log_internal_ds() [all …]
|
| H A D | dsl_synctask.c | 37 dsl_null_checkfunc(void *arg, dmu_tx_t *tx) in dsl_null_checkfunc() argument 48 dmu_tx_t *tx; in dsl_sync_task_common() local 59 tx = dmu_tx_create_dd(dp->dp_mos_dir); in dsl_sync_task_common() 60 VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); in dsl_sync_task_common() 63 dst.dst_txg = dmu_tx_get_txg(tx); in dsl_sync_task_common() 73 err = dst.dst_checkfunc(arg, tx); in dsl_sync_task_common() 77 dmu_tx_commit(tx); in dsl_sync_task_common() 86 dmu_tx_commit(tx); in dsl_sync_task_common() 161 dst->dst_txg = dmu_tx_get_txg(tx); in dsl_sync_task_nowait_common() 188 blocks_modified, space_check, tx, B_TRUE); in dsl_early_sync_task_nowait() [all …]
|
| H A D | dsl_dir.c | 524 dsl_dir_zapify(dd, tx); in dsl_dir_init_fs_ss_count() 754 dsl_dir_zapify(dd, tx); in dsl_dir_update_last_remap_txg_sync() 870 dmu_tx_t *tx) in dsl_fs_ss_count_adjust() argument 914 tx)); in dsl_fs_ss_count_adjust() 923 dmu_tx_t *tx) in dsl_dir_create_sync() argument 1259 uint64_t txg = tx->tx_txg; in dsl_dir_tempreserve_impl() 1482 dsl_dir_dirty(dd, tx); in dsl_dir_willuse_space() 1551 ASSERT(tx == NULL || dmu_tx_is_syncing(tx)); in dsl_dir_transfer_space() 1559 if (tx != NULL) in dsl_dir_transfer_space() 1738 delta, 0, 0, tx); in dsl_dir_set_reservation_sync_impl() [all …]
|
| H A D | bpobj.c | 52 &dp->dp_empty_bpobj, tx) == 0); in bpobj_alloc_empty() 72 DMU_POOL_EMPTY_BPOBJ, tx)); in bpobj_decr_empty() 91 DMU_OT_BPOBJ_HDR, size, tx)); in bpobj_alloc() 132 bpobj_free(os, objarray[blkoff], tx); in bpobj_free() 248 err = func(arg, bp, tx); in bpobj_iterate_impl() 333 objarray[blkoff], tx); in bpobj_iterate_impl() 394 bpobj_decr_empty(bpo->bpo_os, tx); in bpobj_enqueue_subobj() 404 bpobj_free(bpo->bpo_os, subobj, tx); in bpobj_enqueue_subobj() 413 DMU_OT_NONE, 0, tx); in bpobj_enqueue_subobj() 422 sizeof (subobj), &subobj, tx); in bpobj_enqueue_subobj() [all …]
|
| H A D | zap.c | 111 dmu_buf_will_dirty(db, tx); in fzap_upgrade() 141 dmu_tx_t *tx) in zap_table_grow() argument 216 dmu_tx_t *tx) in zap_table_store() argument 233 dmu_buf_will_dirty(db, tx); in zap_table_store() 549 ASSERT(tx != NULL); in zap_set_idx_to_blk() 557 idx, blk, tx)); in zap_set_idx_to_blk() 963 tx)); in zap_create_link_dnsize() 1032 8, 1, &value, tx); in zap_join_key() 1043 dmu_tx_t *tx) in zap_join_increment() argument 1130 dmu_tx_t *tx) in zap_increment() argument [all …]
|
| /freebsd-12.1/sys/dev/ioat/ |
| H A D | ioat_test.c | 90 test = tx->test; in ioat_test_transaction_destroy() 97 contigfree(tx->buf[i], tx->length, M_IOAT_TEST); in ioat_test_transaction_destroy() 112 tx = malloc(sizeof(*tx), M_IOAT_TEST, M_NOWAIT | M_ZERO); in ioat_test_transaction_create() 113 if (tx == NULL) in ioat_test_transaction_create() 132 return (tx); in ioat_test_transaction_create() 154 test = tx->test; in ioat_compare_ok() 188 tx = arg; in ioat_dma_test_callback() 189 test = tx->test; in ioat_dma_test_callback() 275 memcpy(tx->buf[2 * i + 1], tx->buf[2 * i], tx->length); in ioat_test_submit_1_tx() 301 desc = ioat_copy(dma, dest, src, tx->length, cb, tx, in ioat_test_submit_1_tx() [all …]
|
| /freebsd-12.1/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/ |
| H A D | zap.h | 130 int dnodesize, dmu_tx_t *tx); 137 int dnodesize, dmu_tx_t *tx); 241 const void *val, dmu_tx_t *tx); 244 const void *val, dmu_tx_t *tx); 247 const void *val, dmu_tx_t *tx); 283 matchtype_t mt, dmu_tx_t *tx); 286 int key_numints, dmu_tx_t *tx); 312 uint64_t value, dmu_tx_t *tx); 316 dmu_tx_t *tx); 326 dmu_tx_t *tx); [all …]
|
| H A D | dmu_tx.h | 116 int dmu_tx_assign(dmu_tx_t *tx, uint64_t txg_how); 117 void dmu_tx_commit(dmu_tx_t *tx); 118 void dmu_tx_abort(dmu_tx_t *tx); 119 uint64_t dmu_tx_get_txg(dmu_tx_t *tx); 120 struct dsl_pool *dmu_tx_pool(dmu_tx_t *tx); 121 void dmu_tx_wait(dmu_tx_t *tx); 136 int dmu_tx_is_syncing(dmu_tx_t *tx); 137 int dmu_tx_private_ok(dmu_tx_t *tx); 140 void dmu_tx_hold_space(dmu_tx_t *tx, uint64_t space); 143 #define DMU_TX_DIRTY_BUF(tx, db) dmu_tx_dirty_buf(tx, db) argument [all …]
|
| H A D | dmu.h | 364 int dnodesize, dmu_tx_t *tx); 420 int ibs, dmu_tx_t *tx); 427 dmu_tx_t *tx); 434 dmu_tx_t *tx); 718 void dmu_tx_wait(dmu_tx_t *tx); 747 uint64_t size, dmu_tx_t *tx); 769 dmu_tx_t *tx); 774 dmu_tx_t *tx); 776 dmu_tx_t *tx); 778 dmu_tx_t *tx); [all …]
|
| /freebsd-12.1/tools/tools/iwn/iwnstats/ |
| H A D | main.c | 155 le32toh(tx->preamble), in iwn_stats_tx_print() 157 le32toh(tx->bt_defer), in iwn_stats_tx_print() 158 le32toh(tx->bt_kill), in iwn_stats_tx_print() 159 le32toh(tx->short_len)); in iwn_stats_tx_print() 165 le32toh(tx->exp_ack), in iwn_stats_tx_print() 166 le32toh(tx->ack), in iwn_stats_tx_print() 167 le32toh(tx->msdu)); in iwn_stats_tx_print() 171 le32toh(tx->burst_err1), in iwn_stats_tx_print() 181 le32toh(tx->query), in iwn_stats_tx_print() 187 le32toh(tx->not_ready), in iwn_stats_tx_print() [all …]
|
| /freebsd-12.1/tools/tools/ath/athalq/ |
| H A D | ar5416_ds.c | 52 MF(txs.u.tx.status[9], AR_TxDone), in ar5416_decode_txstatus() 53 MF(txs.u.tx.status[1], AR_FrmXmitOK), in ar5416_decode_txstatus() 54 MF(txs.u.tx.status[1], AR_Filtered), in ar5416_decode_txstatus() 55 txs.u.tx.status[2]); in ar5416_decode_txstatus() 76 MF(txs.u.tx.status[1], AR_FrmXmitOK), in ar5416_decode_txstatus() 105 txs.u.tx.status[6], in ar5416_decode_txstatus() 106 txs.u.tx.status[7], in ar5416_decode_txstatus() 107 txs.u.tx.status[8]); in ar5416_decode_txstatus() 111 MF(txs.u.tx.status[9], AR_TxDone), in ar5416_decode_txstatus() 112 MS(txs.u.tx.status[9], AR_SeqNum), in ar5416_decode_txstatus() [all …]
|
| H A D | ar5416_ds_tdma.c | 55 MF(txs.u.tx.status[9], AR_TxDone), in ar5416_decode_txstatus() 56 txs.u.tx.status[2], in ar5416_decode_txstatus() 57 txs.u.tx.status[2] - tx_tsf); in ar5416_decode_txstatus() 59 tx_tsf = txs.u.tx.status[2]; in ar5416_decode_txstatus() 72 MF(txs.u.tx.status[1], AR_FrmXmitOK), in ar5416_decode_txstatus() 107 txs.u.tx.status[6], in ar5416_decode_txstatus() 108 txs.u.tx.status[7], in ar5416_decode_txstatus() 109 txs.u.tx.status[8]); in ar5416_decode_txstatus() 113 MF(txs.u.tx.status[9], AR_TxDone), in ar5416_decode_txstatus() 114 MS(txs.u.tx.status[9], AR_SeqNum), in ar5416_decode_txstatus() [all …]
|
| /freebsd-12.1/sys/arm64/rockchip/ |
| H A D | if_dwc_rk.c | 71 uint32_t tx, rx; in rk3328_set_delays() local 73 if (OF_getencprop(node, "tx_delay", &tx, sizeof(tx)) <= 0) in rk3328_set_delays() 74 tx = 0x30; in rk3328_set_delays() 78 tx = ((tx & RK3328_GRF_MAC_CON0_TX_MASK) << in rk3328_set_delays() 83 SYSCON_WRITE_4(grf, RK3328_GRF_MAC_CON0, tx | rx | 0xFFFF0000); in rk3328_set_delays() 95 uint32_t tx, rx; in rk3399_set_delays() local 97 if (OF_getencprop(node, "tx_delay", &tx, sizeof(tx)) <= 0) in rk3399_set_delays() 98 tx = 0x30; in rk3399_set_delays() 102 tx = ((tx & RK3399_GRF_SOC_CON6_TX_MASK) << in rk3399_set_delays() 107 SYSCON_WRITE_4(grf, RK3399_GRF_SOC_CON6, tx | rx | 0xFFFF0000); in rk3399_set_delays()
|
| /freebsd-12.1/sys/dev/mxge/ |
| H A D | if_mxge.c | 1922 tx = &ss->tx; in mxge_encap_tso() 2026 bus_dmamap_unload(tx->dmat, tx->info[tx->req & tx->mask].map); in mxge_encap_tso() 2092 tx = &ss->tx; in mxge_encap() 2270 tx = &ss->tx; in mxge_start_locked() 2272 while ((tx->mask - (tx->req - tx->done)) > tx->max_desc) { in mxge_start_locked() 2301 tx = &ss->tx; in mxge_transmit_locked() 2310 ((tx->mask - (tx->req - tx->done)) > tx->max_desc)) { in mxge_transmit_locked() 2336 tx = &ss->tx; in mxge_transmit() 2360 tx = &ss->tx; in mxge_start_locked() 2361 while ((tx->mask - (tx->req - tx->done)) > tx->max_desc) { in mxge_start_locked() [all …]
|
| /freebsd-12.1/crypto/openssl/crypto/rc4/asm/ |
| H A D | rc4-586.pl | 78 $tx="ecx"; 88 &add (&LB($yy),&LB($tx)); 92 &add ($ty,$tx); 116 &add (&LB($yy),&LB($tx)); 126 &add (&LB($ty),&LB($tx)); 142 &add (&LB($yy),&LB($tx)); 148 &add ($ty,$tx); 266 &add (&LB($yy),&LB($tx)); 270 &add ($ty,$tx); 288 &add (&LB($yy),&LB($tx)); [all …]
|
| /freebsd-12.1/sys/dev/neta/ |
| H A D | if_mvneta.c | 1300 taskqueue_drain(tx->taskq, &tx->task); in mvneta_ring_dealloc_tx_queue() 1341 memset(tx, 0, sizeof(*tx)); in mvneta_ring_dealloc_tx_queue() 1430 tx->dma = tx->cpu = 0; in mvneta_ring_init_tx_queue() 1466 tx->dma = tx->cpu = 0; in mvneta_ring_flush_tx_queue() 2696 txbuf = &tx->txbuf[tx->cpu]; in mvneta_tx_queue() 2735 t = &tx->desc[tx->cpu]; in mvneta_tx_queue() 2747 tx->cpu = tx_counter_adv(tx->cpu, 1); in mvneta_tx_queue() 2860 t = &tx->desc[tx->dma]; in mvneta_tx_queue_complete() 2866 txbuf = &tx->txbuf[tx->dma]; in mvneta_tx_queue_complete() 2875 tx->dma = tx_counter_adv(tx->dma, 1); in mvneta_tx_queue_complete() [all …]
|