HomeSort by relevance Sort by last modified time
    Searched refs:tx (Results 1 - 25 of 153) sorted by null

1 2 3 4 5 6 7

  /onnv/onnv-gate/usr/src/uts/common/fs/zfs/
txg.c 48 tx_state_t *tx = &dp->dp_tx; local
50 bzero(tx, sizeof (tx_state_t));
52 tx->tx_cpu = kmem_zalloc(max_ncpus * sizeof (tx_cpu_t), KM_SLEEP);
57 mutex_init(&tx->tx_cpu[c].tc_lock, NULL, MUTEX_DEFAULT, NULL);
59 cv_init(&tx->tx_cpu[c].tc_cv[i], NULL, CV_DEFAULT,
61 list_create(&tx->tx_cpu[c].tc_callbacks[i],
67 mutex_init(&tx->tx_sync_lock, NULL, MUTEX_DEFAULT, NULL);
69 cv_init(&tx->tx_sync_more_cv, NULL, CV_DEFAULT, NULL);
70 cv_init(&tx->tx_sync_done_cv, NULL, CV_DEFAULT, NULL);
71 cv_init(&tx->tx_quiesce_more_cv, NULL, CV_DEFAULT, NULL)
84 tx_state_t *tx = &dp->dp_tx; local
121 tx_state_t *tx = &dp->dp_tx; local
183 tx_state_t *tx = &dp->dp_tx; local
220 tx_state_t *tx = &dp->dp_tx; local
272 tx_state_t *tx = &dp->dp_tx; local
321 tx_state_t *tx = &dp->dp_tx; local
357 tx_state_t *tx = &dp->dp_tx; local
434 tx_state_t *tx = &dp->dp_tx; local
483 tx_state_t *tx = &dp->dp_tx; local
508 tx_state_t *tx = &dp->dp_tx; local
531 tx_state_t *tx = &dp->dp_tx; local
551 tx_state_t *tx = &dp->dp_tx; local
558 tx_state_t *tx = &dp->dp_tx; local
    [all...]
dmu_tx.c 38 typedef void (*dmu_tx_hold_func_t)(dmu_tx_t *tx, struct dnode *dn,
45 dmu_tx_t *tx = kmem_zalloc(sizeof (dmu_tx_t), KM_SLEEP); local
46 tx->tx_dir = dd;
48 tx->tx_pool = dd->dd_pool;
49 list_create(&tx->tx_holds, sizeof (dmu_tx_hold_t),
51 list_create(&tx->tx_callbacks, sizeof (dmu_tx_callback_t),
54 refcount_create(&tx->tx_space_written);
55 refcount_create(&tx->tx_space_freed);
57 return (tx);
63 dmu_tx_t *tx = dmu_tx_create_dd(os->os_dsl_dataset->ds_dir) local
72 dmu_tx_t *tx = dmu_tx_create_dd(NULL); local
    [all...]
dmu_object.c 33 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx)
77 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx);
82 dmu_tx_add_new_object(tx, os, object);
88 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx)
93 if (object == DMU_META_DNODE_OBJECT && !dmu_tx_private_ok(tx))
99 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx);
102 dmu_tx_add_new_object(tx, os, object);
111 dmu_tx_t *tx; local
143 tx = dmu_tx_create(os);
144 dmu_tx_hold_bonus(tx, object)
    [all...]
dsl_synctask.c 37 dsl_null_checkfunc(void *arg1, void *arg2, dmu_tx_t *tx)
78 dmu_tx_t *tx; local
83 tx = dmu_tx_create_dd(dstg->dstg_pool->dp_mos_dir);
84 VERIFY(0 == dmu_tx_assign(tx, TXG_WAIT));
86 txg = dmu_tx_get_txg(tx);
102 dst->dst_checkfunc(dst->dst_arg1, dst->dst_arg2, tx);
109 dmu_tx_commit(tx);
115 dmu_tx_commit(tx);
128 dsl_sync_task_group_nowait(dsl_sync_task_group_t *dstg, dmu_tx_t *tx)
133 txg = dmu_tx_get_txg(tx);
    [all...]
dsl_dir.c 44 cred_t *cr, dmu_tx_t *tx);
394 dmu_tx_t *tx)
402 DMU_OT_DSL_DIR, sizeof (dsl_dir_phys_t), tx);
405 name, sizeof (uint64_t), 1, &ddobj, tx));
409 DMU_POOL_ROOT_DATASET, sizeof (uint64_t), 1, &ddobj, tx));
412 dmu_buf_will_dirty(dbuf, tx);
419 DMU_OT_DSL_PROPS, DMU_OT_NONE, 0, tx);
421 DMU_OT_DSL_DIR_CHILD_MAP, DMU_OT_NONE, 0, tx);
431 dsl_dir_destroy_check(void *arg1, void *arg2, dmu_tx_t *tx)
461 dsl_dir_destroy_sync(void *arg1, void *tag, cred_t *cr, dmu_tx_t *tx)
    [all...]
dsl_pool.c 263 dmu_tx_t *tx = dmu_tx_create_assigned(dp, txg); local
270 NULL, &dp->dp_meta_rootbp, DMU_OST_META, tx);
274 DMU_OT_OBJECT_DIRECTORY, DMU_OT_NONE, 0, tx);
278 dp->dp_root_dir_obj = dsl_dir_create_sync(dp, NULL, NULL, tx);
283 (void) dsl_dir_create_sync(dp, dp->dp_root_dir, MOS_DIR_NAME, tx);
288 dsl_pool_create_origin(dp, tx);
291 dsobj = dsl_dataset_create_sync_dd(dp->dp_root_dir, NULL, 0, tx);
296 dsl_dataset_get_blkptr(ds), DMU_OST_ZFS, tx);
298 zfs_create_fs(os, kcred, zplprops, tx);
302 dmu_tx_commit(tx);
311 dmu_tx_t *tx; local
579 dmu_tx_t *tx = arg; local
    [all...]
zfs_dir.c 423 zfs_unlinked_add(znode_t *zp, dmu_tx_t *tx)
431 zap_add_int(zfsvfs->z_os, zfsvfs->z_unlinkedobj, zp->z_id, tx));
503 dmu_tx_t *tx; local
522 tx = dmu_tx_create(zfsvfs->z_os);
523 dmu_tx_hold_bonus(tx, dzp->z_id);
524 dmu_tx_hold_zap(tx, dzp->z_id, FALSE, zap.za_name);
525 dmu_tx_hold_bonus(tx, xzp->z_id);
526 dmu_tx_hold_zap(tx, zfsvfs->z_unlinkedobj, FALSE, NULL);
527 error = dmu_tx_assign(tx, TXG_WAIT);
529 dmu_tx_abort(tx);
557 dmu_tx_t *tx; local
806 dmu_tx_t *tx; local
    [all...]
ddt_zap.c 39 ddt_zap_create(objset_t *os, uint64_t *objectp, dmu_tx_t *tx, boolean_t prehash)
48 DMU_OT_NONE, 0, tx);
54 ddt_zap_destroy(objset_t *os, uint64_t object, dmu_tx_t *tx)
56 return (zap_destroy(os, object, tx));
85 ddt_zap_update(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx)
94 DDT_KEY_WORDS, 1, csize, cbuf, tx));
98 ddt_zap_remove(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx)
101 DDT_KEY_WORDS, tx));
spa_history.c 81 spa_history_create_obj(spa_t *spa, dmu_tx_t *tx)
90 sizeof (spa_history_phys_t), tx);
94 &spa->spa_history, tx) == 0);
100 dmu_buf_will_dirty(dbp, tx);
146 dmu_tx_t *tx)
165 dmu_write(mos, spa->spa_history, phys_eof, firstwrite, buf, tx);
171 len, (char *)buf + firstwrite, tx);
191 spa_history_log_sync(void *arg1, void *arg2, cred_t *cr, dmu_tx_t *tx)
211 spa_history_create_obj(spa, tx);
221 dmu_buf_will_dirty(dbp, tx);
422 spa_history_log_sync, spa, hap, 0, tx); local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/nxge/
nxge_hv.c 46 nxhv_dc_fp_t *tx; local
58 tx = &nhd->hio.tx;
60 tx->assign = &hv_niu_tx_dma_assign;
61 tx->unassign = &hv_niu_tx_dma_unassign;
62 tx->get_map = &hv_niu_vr_get_txmap;
64 tx->lp_conf = &hv_niu_tx_logical_page_conf;
65 tx->lp_info = &hv_niu_tx_logical_page_info;
67 tx->getinfo = &hv_niu_vrtx_getinfo;
  /onnv/onnv-gate/usr/src/cmd/refer/
tick.c 32 struct tbuffer tx; local
34 times(&tx);
36 user = tx.proc_user_time;
37 systm = tx.proc_system_time;
44 struct tbuffer tx; local
49 times(&tx);
52 use = (tx.proc_user_time - user)/60.;
53 sys = (tx.proc_system_time - systm)/60.;
refer6.c 33 char *s, *tx; local
48 tx = s+3;
52 tx = s+2;
57 tx = s;
63 tx = caps(tx, buf1);
65 fprintf(stderr, " s %o tx %o %s\n", s, tx, tx);
70 fprintf(fo, "%s%c", tx, sep)
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/zfs/sys/
dmu_tx.h 47 * No synchronization is needed because a tx can only be handled
110 int dmu_tx_assign(dmu_tx_t *tx, uint64_t txg_how);
111 void dmu_tx_commit(dmu_tx_t *tx);
112 void dmu_tx_abort(dmu_tx_t *tx);
113 uint64_t dmu_tx_get_txg(dmu_tx_t *tx);
114 void dmu_tx_wait(dmu_tx_t *tx);
116 void dmu_tx_callback_register(dmu_tx_t *tx, dmu_tx_callback_func_t *dcb_func,
129 int dmu_tx_is_syncing(dmu_tx_t *tx);
130 int dmu_tx_private_ok(dmu_tx_t *tx);
131 void dmu_tx_add_new_object(dmu_tx_t *tx, objset_t *os, uint64_t object)
    [all...]
bplist.h 71 typedef void bplist_sync_cb_t(void *arg, const blkptr_t *bp, dmu_tx_t *tx);
75 extern uint64_t bplist_create(objset_t *mos, int blocksize, dmu_tx_t *tx);
76 extern void bplist_destroy(objset_t *mos, uint64_t object, dmu_tx_t *tx);
81 extern int bplist_enqueue(bplist_t *bpl, const blkptr_t *bp, dmu_tx_t *tx);
82 extern void bplist_enqueue_cb(void *bpl, const blkptr_t *bp, dmu_tx_t *tx);
85 void *arg, dmu_tx_t *tx);
86 extern void bplist_vacate(bplist_t *bpl, dmu_tx_t *tx);
dsl_pool.h 135 int dsl_pool_tempreserve_space(dsl_pool_t *dp, uint64_t space, dmu_tx_t *tx);
136 void dsl_pool_tempreserve_clear(dsl_pool_t *dp, int64_t space, dmu_tx_t *tx);
138 void dsl_pool_willuse_space(dsl_pool_t *dp, int64_t space, dmu_tx_t *tx);
140 void dsl_pool_ds_destroyed(struct dsl_dataset *ds, struct dmu_tx *tx);
141 void dsl_pool_ds_snapshotted(struct dsl_dataset *ds, struct dmu_tx *tx);
143 struct dmu_tx *tx);
144 void dsl_pool_create_origin(dsl_pool_t *dp, dmu_tx_t *tx);
145 void dsl_pool_upgrade_clones(dsl_pool_t *dp, dmu_tx_t *tx);
149 void dsl_pool_scrub_sync(dsl_pool_t *dp, dmu_tx_t *tx);
157 const char *tag, uint64_t *now, dmu_tx_t *tx);
    [all...]
zap.h 130 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
132 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
135 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
142 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
145 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
157 int zap_destroy(objset_t *ds, uint64_t zapobj, dmu_tx_t *tx);
213 const void *val, dmu_tx_t *tx);
216 const void *val, dmu_tx_t *tx);
227 int integer_size, uint64_t num_integers, const void *val, dmu_tx_t *tx);
230 int integer_size, uint64_t num_integers, const void *val, dmu_tx_t *tx);
    [all...]
dsl_dir.h 94 /* gross estimate of space used by in-flight tx's */
112 const char *name, dmu_tx_t *tx);
118 void dsl_dir_dirty(dsl_dir_t *dd, dmu_tx_t *tx);
119 void dsl_dir_sync(dsl_dir_t *dd, dmu_tx_t *tx);
122 dmu_tx_t *tx);
123 void dsl_dir_tempreserve_clear(void *tr_cookie, dmu_tx_t *tx);
124 void dsl_dir_willuse_space(dsl_dir_t *dd, int64_t space, dmu_tx_t *tx);
126 int64_t used, int64_t compressed, int64_t uncompressed, dmu_tx_t *tx);
128 dd_used_t oldtype, dd_used_t newtype, dmu_tx_t *tx);
135 int dsl_dir_set_reservation_check(void *arg1, void *arg2, dmu_tx_t *tx);
    [all...]
dnode.h 209 void dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx);
216 void dnode_setdirty(dnode_t *dn, dmu_tx_t *tx);
217 void dnode_sync(dnode_t *dn, dmu_tx_t *tx);
219 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
221 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
222 void dnode_free(dnode_t *dn, dmu_tx_t *tx);
226 int dnode_set_blksz(dnode_t *dn, uint64_t size, int ibs, dmu_tx_t *tx);
228 void dnode_free_range(dnode_t *dn, uint64_t off, uint64_t len, dmu_tx_t *tx);
230 uint64_t nblks, dmu_tx_t *tx);
232 void dnode_willuse_space(dnode_t *dn, int64_t space, dmu_tx_t *tx);
    [all...]
dsl_deleg.h 67 void dsl_deleg_set_create_perms(dsl_dir_t *dd, dmu_tx_t *tx, cred_t *cr);
70 int dsl_deleg_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx);
dsl_synctask.h 68 void dsl_sync_task_group_nowait(dsl_sync_task_group_t *dstg, dmu_tx_t *tx);
70 void dsl_sync_task_group_sync(dsl_sync_task_group_t *dstg, dmu_tx_t *tx);
77 void *arg1, void *arg2, int blocks_modified, dmu_tx_t *tx);
  /onnv/onnv-gate/usr/src/cmd/rcap/common/
rcapd_conf.c 169 scf_transaction_t *tx = NULL; local
179 if ((tx = scf_transaction_setup(simple_h)) == NULL) {
186 if (scf_set_count_property(tx, PRESSURE,
194 if (scf_set_count_property(tx, RECONFIG_INT,
201 if (scf_set_count_property(tx, RSS_SAMPLE_INT,
208 if (scf_set_count_property(tx, REPORT_INT,
215 if (scf_set_count_property(tx, WALK_INT,
222 if ((rval = scf_transaction_commit(tx)) == -1)
226 if (scf_transaction_restart(simple_h, tx)
238 if (tx != NULL)
    [all...]
  /onnv/onnv-gate/usr/src/common/openssl/crypto/rc4/asm/
rc4-586.pl 33 $tx="ecx";
68 # &mov( $tx, &DWP(0,$d,$x,4)) if $p < 0;
70 &add( &LB($y), &LB($tx));
74 &add( $ty, $tx);
75 &mov( &DWP(0,$d,$y,4),$tx);
78 &mov( $tx, &DWP(0,$d,$x,4)) if $p < 1; # NEXT ROUND
145 &mov( $tx, &DWP(0,$d,$x,4));
169 &mov( $tx, &swtmp(0));
171 &xor( $tx, $ty);
173 &mov( &DWP(-8,$out,"",0), $tx);
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/bge/
bge.conf 175 bge-tx-rings = 1;
  /onnv/onnv-gate/usr/src/lib/mms/mms/common/
mms_cfg.c 79 static int mms_cfg_tx_error(scf_transaction_t *tx,
81 static void mms_cfg_tx_fini(scf_transaction_t *tx,
211 scf_transaction_t *tx; local
215 tx = scf_transaction_create(mms_cfg_handle);
220 return (mms_cfg_tx_error(tx, e1, v1));
222 if (scf_transaction_start(tx, mms_cfg_pg) == -1) {
223 return (mms_cfg_tx_error(tx, e1, v1));
225 if (scf_transaction_property_new(tx, e1, name, type) == -1) {
227 return (mms_cfg_tx_error(tx, e1, v1));
229 if (scf_transaction_property_change(tx, e1, name, type) == -1)
415 scf_transaction_t *tx; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/io/myri10ge/drv/
myri10ge.c 764 myri10ge_tx_ring_t *tx = &ss->tx; local
777 cmn_err(CE_WARN, "%s: Falled to alloc tx dma handle\n",
783 mutex_enter(&tx->handle_lock);
785 handle->next = tx->free_tx_handles;
786 tx->free_tx_handles = handle;
787 mutex_exit(&tx->handle_lock);
794 myri10ge_tx_ring_t *tx = &ss->tx; local
796 mutex_enter(&tx->handle_lock)
845 myri10ge_tx_ring_t *tx = &ss->tx; local
880 myri10ge_tx_ring_t *tx; local
2501 myri10ge_tx_ring_t *tx; local
2682 myri10ge_tx_ring_t *tx = &ss->tx; local
2938 myri10ge_tx_ring_t *tx = &ss->tx; local
3082 myri10ge_tx_ring_t *tx = &ss->tx; local
3297 myri10ge_tx_ring_t *tx = &ss->tx; local
4832 myri10ge_tx_ring_t *tx; local
    [all...]

Completed in 360 milliseconds

1 2 3 4 5 6 7