| /src/external/cddl/osnet/dist/uts/common/fs/zfs/ |
| txg.c | 124 tx_state_t *tx = &dp->dp_tx; local 126 bzero(tx, sizeof (tx_state_t)); 128 tx->tx_cpu = kmem_zalloc(max_ncpus * sizeof (tx_cpu_t), KM_SLEEP); 133 mutex_init(&tx->tx_cpu[c].tc_lock, NULL, MUTEX_DEFAULT, NULL); 134 mutex_init(&tx->tx_cpu[c].tc_open_lock, NULL, MUTEX_DEFAULT, 137 cv_init(&tx->tx_cpu[c].tc_cv[i], NULL, CV_DEFAULT, 139 list_create(&tx->tx_cpu[c].tc_callbacks[i], 145 mutex_init(&tx->tx_sync_lock, NULL, MUTEX_DEFAULT, NULL); 147 cv_init(&tx->tx_sync_more_cv, NULL, CV_DEFAULT, NULL); 148 cv_init(&tx->tx_sync_done_cv, NULL, CV_DEFAULT, NULL) 162 tx_state_t *tx = &dp->dp_tx; local 200 tx_state_t *tx = &dp->dp_tx; local 261 tx_state_t *tx = &dp->dp_tx; local 298 tx_state_t *tx = &dp->dp_tx; local 359 tx_state_t *tx = &dp->dp_tx; local 417 tx_state_t *tx = &dp->dp_tx; local 457 tx_state_t *tx = &dp->dp_tx; local 537 tx_state_t *tx = &dp->dp_tx; local 587 tx_state_t *tx = &dp->dp_tx; local 613 tx_state_t *tx = &dp->dp_tx; local 638 tx_state_t *tx = &dp->dp_tx; local 664 tx_state_t *tx = &dp->dp_tx; local 682 tx_state_t *tx = &dp->dp_tx; local 689 tx_state_t *tx = &dp->dp_tx; local [all...] |
| dmu_tx.c | 43 typedef void (*dmu_tx_hold_func_t)(dmu_tx_t *tx, struct dnode *dn, 50 dmu_tx_t *tx = kmem_zalloc(sizeof (dmu_tx_t), KM_SLEEP); local 51 tx->tx_dir = dd; 53 tx->tx_pool = dd->dd_pool; 54 list_create(&tx->tx_holds, sizeof (dmu_tx_hold_t), 56 list_create(&tx->tx_callbacks, sizeof (dmu_tx_callback_t), 58 tx->tx_start = gethrtime(); 60 refcount_create(&tx->tx_space_written); 61 refcount_create(&tx->tx_space_freed); 63 return (tx); 69 dmu_tx_t *tx = dmu_tx_create_dd(os->os_dsl_dataset->ds_dir); local 78 dmu_tx_t *tx = dmu_tx_create_dd(NULL); local [all...] |
| dsl_destroy.c | 89 dsl_destroy_snapshot_check(void *arg, dmu_tx_t *tx) 92 dsl_pool_t *dp = dmu_tx_pool(tx); 96 if (!dmu_tx_is_syncing(tx)) 144 process_old_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) 152 dsl_deadlist_insert(&poa->ds->ds_deadlist, bp, tx); 163 dsl_free_sync(poa->pio, dp, tx->tx_txg, bp); 170 dsl_dataset_t *ds_next, boolean_t after_branch_point, dmu_tx_t *tx) 185 process_old_cb, &poa, tx)); 191 -poa.used, -poa.comp, -poa.uncomp, tx); 207 dsl_dataset_remove_clones_key(dsl_dataset_t *ds, uint64_t mintxg, dmu_tx_t *tx) 549 dmu_tx_t *tx; member in struct:killarg 558 dmu_tx_t *tx = ka->tx; local 796 zil_destroy_sync(dmu_objset_zil(os), tx); local [all...] |
| dmu_object.c | 36 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) 86 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx); 91 dmu_tx_add_new_object(tx, os, object); 97 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) 102 if (object == DMU_META_DNODE_OBJECT && !dmu_tx_private_ok(tx)) 108 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx); 111 dmu_tx_add_new_object(tx, os, object); 117 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) 130 dnode_reallocate(dn, ot, blocksize, bonustype, bonuslen, tx); 137 dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx) 205 SPA_FEATURE_EXTENSIBLE_DATASET, tx); local 222 SPA_FEATURE_EXTENSIBLE_DATASET, tx); local [all...] |
| dsl_synctask.c | 37 dsl_null_checkfunc(void *arg, dmu_tx_t *tx) 50 * dmu_tx_is_syncing(tx). 71 dmu_tx_t *tx; local 82 tx = dmu_tx_create_dd(dp->dp_mos_dir); 83 VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); 86 dst.dst_txg = dmu_tx_get_txg(tx); 96 err = dst.dst_checkfunc(arg, tx); 100 dmu_tx_commit(tx); 107 dmu_tx_commit(tx); 122 int blocks_modified, zfs_space_check_t space_check, dmu_tx_t *tx) [all...] |
| spa_history.c | 86 spa_history_create_obj(spa_t *spa, dmu_tx_t *tx) 95 sizeof (spa_history_phys_t), tx); 99 &spa->spa_history, tx) == 0); 105 dmu_buf_will_dirty(dbp, tx); 151 dmu_tx_t *tx) 170 dmu_write(mos, spa->spa_history, phys_eof, firstwrite, buf, tx); 176 len, (char *)buf + firstwrite, tx); 200 spa_history_log_sync(void *arg, dmu_tx_t *tx) 203 spa_t *spa = dmu_tx_pool(tx)->dp_spa; 218 spa_history_create_obj(spa, tx); 305 dmu_tx_t *tx; local 330 nvarg, 0, ZFS_SPACE_CHECK_NONE, tx); local 471 spa_history_log_sync, nvl, 0, ZFS_SPACE_CHECK_NONE, tx); local [all...] |
| zfeature.c | 297 dmu_tx_t *tx) 304 sizeof (uint64_t), 1, &refcount, tx)); 327 spa_activate_mos_feature(spa, feature->fi_guid, tx); 335 feature_enable_sync(spa_t *spa, zfeature_info_t *feature, dmu_tx_t *tx) 353 spa_feature_enable(spa, feature->fi_depends[i], tx); 357 feature->fi_desc, tx)); 359 feature_sync(spa, feature, initial_refcount, tx); 362 uint64_t enabling_txg = dmu_tx_get_txg(tx); 368 DMU_POOL_FEATURE_ENABLED_TXG, tx); 370 spa_feature_incr(spa, SPA_FEATURE_ENABLED_TXG, tx); [all...] |
| dsl_deadlist.c | 147 dsl_deadlist_alloc(objset_t *os, dmu_tx_t *tx) 150 return (bpobj_alloc(os, SPA_OLD_MAXBLOCKSIZE, tx)); 152 sizeof (dsl_deadlist_phys_t), tx)); 156 dsl_deadlist_free(objset_t *os, uint64_t dlobj, dmu_tx_t *tx) 164 bpobj_free(os, dlobj, tx); 173 bpobj_decr_empty(os, tx); 175 bpobj_free(os, obj, tx); 178 VERIFY3U(0, ==, dmu_object_free(os, dlobj, tx)); 183 const blkptr_t *bp, dmu_tx_t *tx) 187 uint64_t obj = bpobj_alloc(dl->dl_os, SPA_OLD_MAXBLOCKSIZE, tx); [all...] |
| /src/external/cddl/osnet/dist/uts/common/fs/zfs/sys/ |
| dmu_tx.h | 49 * No synchronization is needed because a tx can only be handled 127 int dmu_tx_assign(dmu_tx_t *tx, txg_how_t txg_how); 128 void dmu_tx_commit(dmu_tx_t *tx); 129 void dmu_tx_abort(dmu_tx_t *tx); 130 uint64_t dmu_tx_get_txg(dmu_tx_t *tx); 131 struct dsl_pool *dmu_tx_pool(dmu_tx_t *tx); 132 void dmu_tx_wait(dmu_tx_t *tx); 134 void dmu_tx_callback_register(dmu_tx_t *tx, dmu_tx_callback_func_t *dcb_func, 147 int dmu_tx_is_syncing(dmu_tx_t *tx); 148 int dmu_tx_private_ok(dmu_tx_t *tx); [all...] |
| bpobj.h | 68 typedef int bpobj_itor_t(void *arg, const blkptr_t *bp, dmu_tx_t *tx); 70 uint64_t bpobj_alloc(objset_t *mos, int blocksize, dmu_tx_t *tx); 71 uint64_t bpobj_alloc_empty(objset_t *os, int blocksize, dmu_tx_t *tx); 72 void bpobj_free(objset_t *os, uint64_t obj, dmu_tx_t *tx); 73 void bpobj_decr_empty(objset_t *os, dmu_tx_t *tx); 78 int bpobj_iterate(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx); 81 void bpobj_enqueue_subobj(bpobj_t *bpo, uint64_t subobj, dmu_tx_t *tx); 82 void bpobj_enqueue(bpobj_t *bpo, const blkptr_t *bp, dmu_tx_t *tx);
|
| dsl_deadlist.h | 67 uint64_t dsl_deadlist_alloc(objset_t *os, dmu_tx_t *tx); 68 void dsl_deadlist_free(objset_t *os, uint64_t dlobj, dmu_tx_t *tx); 69 void dsl_deadlist_insert(dsl_deadlist_t *dl, const blkptr_t *bp, dmu_tx_t *tx); 70 void dsl_deadlist_add_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx); 71 void dsl_deadlist_remove_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx); 73 uint64_t mrs_obj, dmu_tx_t *tx); 79 void dsl_deadlist_merge(dsl_deadlist_t *dl, uint64_t obj, dmu_tx_t *tx); 81 dmu_tx_t *tx);
|
| bptree.h | 49 typedef int bptree_itor_t(void *arg, const blkptr_t *bp, dmu_tx_t *tx); 51 uint64_t bptree_alloc(objset_t *os, dmu_tx_t *tx); 52 int bptree_free(objset_t *os, uint64_t obj, dmu_tx_t *tx); 56 uint64_t bytes, uint64_t comp, uint64_t uncomp, dmu_tx_t *tx); 59 bptree_itor_t func, void *arg, dmu_tx_t *tx);
|
| zap.h | 135 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 137 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 140 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 142 uint64_t parent_obj, const char *name, dmu_tx_t *tx); 148 zap_flags_t flags, dmu_tx_t *tx); 155 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 158 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx); 170 int zap_destroy(objset_t *ds, uint64_t zapobj, dmu_tx_t *tx); 237 const void *val, dmu_tx_t *tx); 240 const void *val, dmu_tx_t *tx); [all...] |
| bplist.h | 45 typedef int bplist_itor_t(void *arg, const blkptr_t *bp, dmu_tx_t *tx); 51 void *arg, dmu_tx_t *tx);
|
| dsl_userhold.h | 49 boolean_t temphold, struct dmu_tx *tx); 51 minor_t minor, uint64_t now, struct dmu_tx *tx);
|
| /src/external/bsd/kyua-cli/dist/engine/drivers/ |
| scan_action.cpp | 50 /// \param tx The open store transaction. 59 get_action(store::transaction& tx, optional< int64_t >& action_id) 63 return tx.get_action(action_id.get()); 66 tx.get_latest_action(); 99 store::transaction tx = db.start(); local 101 const engine::action action = get_action(tx, action_id); 104 store::results_iterator iter = tx.get_action_results(action_id.get());
|
| /src/sys/external/isc/libsodium/dist/src/libsodium/crypto_kx/ |
| crypto_kx.c | 35 unsigned char tx[crypto_kx_SESSIONKEYBYTES], 46 rx = tx; 48 if (tx == NULL) { 49 tx = rx; 67 tx[i] = keys[i + crypto_kx_SESSIONKEYBYTES]; 76 unsigned char tx[crypto_kx_SESSIONKEYBYTES], 87 rx = tx; 89 if (tx == NULL) { 90 tx = rx; 107 tx[i] = keys[i] [all...] |
| /src/external/bsd/kyua-cli/dist/store/ |
| transaction_test.cpp | 79 store::transaction tx = backend.start(); local 84 tx.put_result(result, 312, start_time, end_time); 85 tx.commit(); 114 store::transaction tx = backend.start(); local 117 tx.commit(); 134 store::transaction tx = backend.start(); local 135 tx.put_context(context); 140 ATF_REQUIRE_THROW(store::error, tx.commit()); 145 store::transaction tx = backend.start(); local 146 tx.put_context(context) 160 store::transaction tx = backend.start(); local 188 store::transaction tx = backend.start(); local 197 store::transaction tx = backend.start(); local 220 store::transaction tx = backend.start(); local 239 store::transaction tx = backend.start(); local 254 store::transaction tx = backend.start(); local 274 store::transaction tx = backend.start(); local 290 store::transaction tx = backend.start(); local 393 store::transaction tx = backend.start(); local 401 store::transaction tx = backend.start(); local 421 store::transaction tx = backend.start(); local 439 store::transaction tx = backend.start(); local 465 store::transaction tx = backend.start(); local 472 store::transaction tx = backend.start(); local 495 store::transaction tx = backend.start(); local 517 store::transaction tx = backend.start(); local 556 store::transaction tx = backend.start(); local 574 store::transaction tx = backend.start(); local 600 store::transaction tx = backend.start(); local 635 store::transaction tx = backend.start(); local 690 store::transaction tx = backend.start(); local 697 store::transaction tx = backend.start(); local 720 store::transaction tx = backend.start(); local 738 store::transaction tx = backend.start(); local 764 store::transaction tx = backend.start(); local 793 store::transaction tx = backend.start(); local 881 store::transaction tx = backend.start(); local [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/rc4/ |
| rc4_enc.c | 31 register RC4_INT x, y, tx, ty; local 40 tx = d[x]; \ 41 y = (tx + y) & 0xff; \ 43 d[y] = tx; \ 44 (out) = d[(tx + ty) & 0xff] ^ (in);
|
| /src/crypto/external/bsd/openssl/dist/crypto/rc4/ |
| rc4_enc.c | 31 register RC4_INT x, y, tx, ty; local 40 tx=d[x]; \ 41 y=(tx+y)&0xff; \ 43 d[y]=tx; \ 44 (out) = d[(tx+ty)&0xff]^ (in);
|
| /src/crypto/external/bsd/openssl.old/dist/crypto/rc4/ |
| rc4_enc.c | 25 register RC4_INT x, y, tx, ty; local 34 tx=d[x]; \ 35 y=(tx+y)&0xff; \ 37 d[y]=tx; \ 38 (out) = d[(tx+ty)&0xff]^ (in);
|
| /src/lib/libm/src/ |
| e_rem_pio2f.h | 52 double tx[1],ty[1]; local 76 tx[0] = z; 77 n = __kernel_rem_pio2(tx,ty,e0,1,0);
|
| /src/external/bsd/kyua-cli/dist/utils/sqlite/ |
| transaction_test.cpp | 78 sqlite::transaction tx = db.begin_transaction(); local 93 sqlite::transaction tx = db.begin_transaction(); local 95 tx.commit(); 109 sqlite::transaction tx = db.begin_transaction(); local 111 tx.rollback(); 123 sqlite::transaction tx = db.begin_transaction(); local
|
| /src/sys/arch/hpcmips/tx/ |
| txsnd.c | 39 #include <hpcmips/tx/tx39var.h> 40 #include <hpcmips/tx/txsnd.h>
|
| /src/games/hunt/huntd/ |
| makemaze.c | 120 int tx, ty; local 128 tx = ty = 0; 139 tx = x; 143 tx = x; 147 tx = x + 2; 151 tx = x - 2; 155 if (tx < 0 || ty < 0 || tx >= WIDTH || ty >= HEIGHT) 157 if (Maze[ty][tx] == SPACE) 159 Maze[(y + ty) / 2][(x + tx) / 2] = SPACE [all...] |