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

1 2 3 4 5

  /netvirt/usr/src/uts/common/fs/zfs/
txg.c 50 tx_state_t *tx = &dp->dp_tx; local
52 bzero(tx, sizeof (tx_state_t));
54 tx->tx_cpu = kmem_zalloc(max_ncpus * sizeof (tx_cpu_t), KM_SLEEP);
59 mutex_init(&tx->tx_cpu[c].tc_lock, NULL, MUTEX_DEFAULT, NULL);
61 cv_init(&tx->tx_cpu[c].tc_cv[i], NULL, CV_DEFAULT,
66 rw_init(&tx->tx_suspend, NULL, RW_DEFAULT, NULL);
67 mutex_init(&tx->tx_sync_lock, NULL, MUTEX_DEFAULT, NULL);
69 tx->tx_open_txg = txg;
78 tx_state_t *tx = &dp->dp_tx; local
81 ASSERT(tx->tx_threads == 0)
105 tx_state_t *tx = &dp->dp_tx; local
164 tx_state_t *tx = &dp->dp_tx; local
198 tx_state_t *tx = &dp->dp_tx; local
239 tx_state_t *tx = &dp->dp_tx; local
274 tx_state_t *tx = &dp->dp_tx; local
337 tx_state_t *tx = &dp->dp_tx; local
381 tx_state_t *tx = &dp->dp_tx; local
404 tx_state_t *tx = &dp->dp_tx; local
424 tx_state_t *tx = &dp->dp_tx; local
449 tx_state_t *tx = &dp->dp_tx; local
456 tx_state_t *tx = &dp->dp_tx; local
464 tx_state_t *tx = &dp->dp_tx; local
    [all...]
dmu_tx.c 40 typedef void (*dmu_tx_hold_func_t)(dmu_tx_t *tx, struct dnode *dn,
47 dmu_tx_t *tx = kmem_zalloc(sizeof (dmu_tx_t), KM_SLEEP); local
48 tx->tx_dir = dd;
50 tx->tx_pool = dd->dd_pool;
51 list_create(&tx->tx_holds, sizeof (dmu_tx_hold_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->os_dsl_dataset->ds_dir); local
64 tx->tx_objset = os
72 dmu_tx_t *tx = dmu_tx_create_dd(NULL); local
    [all...]
dmu_object.c 35 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx)
79 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx);
84 dmu_tx_add_new_object(tx, os, object);
90 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx)
95 if (object == DMU_META_DNODE_OBJECT && !dmu_tx_private_ok(tx))
101 dnode_allocate(dn, ot, blocksize, 0, bonustype, bonuslen, tx);
104 dmu_tx_add_new_object(tx, os, object);
110 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx)
115 if (object == DMU_META_DNODE_OBJECT && !dmu_tx_private_ok(tx))
122 dnode_reallocate(dn, ot, blocksize, bonustype, bonuslen, tx);
    [all...]
dsl_synctask.c 39 dsl_null_checkfunc(void *arg1, void *arg2, dmu_tx_t *tx)
80 dmu_tx_t *tx; local
85 tx = dmu_tx_create_dd(dstg->dstg_pool->dp_mos_dir);
86 VERIFY(0 == dmu_tx_assign(tx, TXG_WAIT));
88 txg = dmu_tx_get_txg(tx);
104 dst->dst_checkfunc(dst->dst_arg1, dst->dst_arg2, tx);
111 dmu_tx_commit(tx);
117 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...]
zfs_dir.c 440 zfs_unlinked_add(znode_t *zp, dmu_tx_t *tx)
450 zfs_unlinked_hexname(obj_name, zp->z_id), 8, 1, &zp->z_id, tx);
521 dmu_tx_t *tx; local
537 tx = dmu_tx_create(zfsvfs->z_os);
538 dmu_tx_hold_bonus(tx, dzp->z_id);
539 dmu_tx_hold_zap(tx, dzp->z_id, FALSE, zap.za_name);
540 dmu_tx_hold_bonus(tx, xzp->z_id);
541 dmu_tx_hold_zap(tx, zfsvfs->z_unlinkedobj, FALSE, NULL);
542 error = dmu_tx_assign(tx, TXG_WAIT);
544 dmu_tx_abort(tx);
571 dmu_tx_t *tx; local
808 dmu_tx_t *tx; local
    [all...]
dmu_send.c 331 cred_t *cr, dmu_tx_t *tx)
340 ds, &ds->ds_phys->ds_bp, type, tx);
343 dmu_buf_will_dirty(ds->ds_dbuf, tx);
347 ds->ds_dir->dd_pool->dp_spa, tx, cr, "dataset = %lld",
355 recv_full_check(void *arg1, void *arg2, dmu_tx_t *tx)
383 recv_full_sync(void *arg1, void *arg2, cred_t *cr, dmu_tx_t *tx)
390 rbsa->origin, cr, tx);
393 rbsa->origin ? DMU_OST_NONE : rbsa->type, cr, tx);
397 recv_full_existing_check(void *arg1, void *arg2, dmu_tx_t *tx)
411 err = dsl_dataset_destroy_check(ds, rbsa->tag, tx);
784 dmu_tx_t *tx; local
879 dmu_tx_t *tx; local
904 dmu_tx_t *tx; local
941 dmu_tx_t *tx; local
    [all...]
dsl_dir.c 45 cred_t *cr, dmu_tx_t *tx);
409 dsl_dir_create_sync(dsl_dir_t *pds, const char *name, dmu_tx_t *tx)
417 DMU_OT_DSL_DIR, sizeof (dsl_dir_phys_t), tx);
419 name, sizeof (uint64_t), 1, &ddobj, tx));
421 dmu_buf_will_dirty(dbuf, tx);
427 DMU_OT_DSL_PROPS, DMU_OT_NONE, 0, tx);
429 DMU_OT_DSL_DIR_CHILD_MAP, DMU_OT_NONE, 0, tx);
437 dsl_dir_destroy_check(void *arg1, void *arg2, dmu_tx_t *tx)
466 dsl_dir_destroy_sync(void *arg1, void *tag, cred_t *cr, dmu_tx_t *tx)
477 dsl_dir_set_reservation_sync(dd, &val, cr, tx);
    [all...]
dsl_pool.c 145 dmu_tx_t *tx = dmu_tx_create_assigned(dp, txg); local
147 NULL, &dp->dp_meta_rootbp, DMU_OST_META, tx)->os;
151 DMU_OT_OBJECT_DIRECTORY, DMU_OT_NONE, 0, tx);
155 dsl_dataset_create_root(dp, &dp->dp_root_dir_obj, tx);
160 (void) dsl_dir_create_sync(dp->dp_root_dir, MOS_DIR_NAME, tx);
163 dmu_tx_commit(tx);
172 dmu_tx_t *tx; local
179 tx = dmu_tx_create_assigned(dp, txg);
187 dsl_dataset_sync(ds, zio, tx);
193 dsl_sync_task_group_sync(dstg, tx);
    [all...]
zfs_vnops.c 101 * cached atime changes. Third, zfs_zinactive() may require a new tx,
112 * the tx assigns, and sometimes after (e.g. z_lock), then failing to
116 * Thread B is in an already-assigned tx, and blocks for this lock.
118 * forever, because the previous txg can't quiesce until B's tx commits.
127 * (6) At the end of each vnode op, the DMU tx must always commit,
139 * tx = dmu_tx_create(...); // get DMU tx
141 * error = dmu_tx_assign(tx, zfsvfs->z_assign); // try to assign
147 * dmu_tx_wait(tx);
148 * dmu_tx_abort(tx);
603 dmu_tx_t *tx; local
1119 dmu_tx_t *tx; local
1367 dmu_tx_t *tx; local
1561 dmu_tx_t *tx; local
1722 dmu_tx_t *tx; local
2329 dmu_tx_t *tx; local
2842 dmu_tx_t *tx; local
3133 dmu_tx_t *tx; local
3334 dmu_tx_t *tx; local
3483 dmu_tx_t *tx; local
3693 dmu_tx_t *tx = dmu_tx_create(zfsvfs->z_os); local
    [all...]
zvol.c 110 * zvol maximum transfer in one DMU tx.
224 zvol_create_cb(objset_t *os, void *arg, cred_t *cr, dmu_tx_t *tx)
247 DMU_OT_NONE, 0, tx);
251 DMU_OT_NONE, 0, tx);
254 error = zap_update(os, ZVOL_ZAP_OBJ, "size", 8, 1, &volsize, tx);
269 dmu_tx_t *tx; local
275 tx = dmu_tx_create(os);
276 dmu_tx_hold_write(tx, ZVOL_OBJ, off, len);
277 error = dmu_tx_assign(tx, zv->zv_txg_assign);
279 dmu_tx_abort(tx);
519 dmu_tx_t *tx; local
575 dmu_tx_t *tx; local
855 dmu_tx_t *tx = dmu_tx_create(os); local
951 dmu_tx_t *tx = dmu_tx_create(zv->zv_objset); local
    [all...]
dsl_deleg.c 155 dsl_deleg_set_sync(void *arg1, void *arg2, cred_t *cr, dmu_tx_t *tx)
164 dmu_buf_will_dirty(dd->dd_dbuf, tx);
166 DMU_OT_DSL_PERMS, DMU_OT_NONE, 0, tx);
179 DMU_OT_NONE, 0, tx);
181 whokey, 8, 1, &jumpobj, tx) == 0);
189 perm, 8, 1, &n, tx) == 0);
191 dd->dd_pool->dp_spa, tx, cr,
199 dsl_deleg_unset_sync(void *arg1, void *arg2, cred_t *cr, dmu_tx_t *tx)
219 (void) zap_remove(mos, zapobj, whokey, tx);
220 VERIFY(0 == zap_destroy(mos, jumpobj, tx));
    [all...]
dsl_dataset.c 92 dsl_dataset_block_born(dsl_dataset_t *ds, blkptr_t *bp, dmu_tx_t *tx)
94 int used = bp_get_dasize(tx->tx_pool->dp_spa, bp);
101 ASSERT(dmu_tx_is_syncing(tx));
113 dsl_dir_diduse_space(tx->tx_pool->dp_mos_dir,
114 used, compressed, uncompressed, tx);
115 dsl_dir_dirty(tx->tx_pool->dp_mos_dir, tx);
118 dmu_buf_will_dirty(ds->ds_dbuf, tx);
126 dsl_dir_diduse_space(ds->ds_dir, delta, compressed, uncompressed, tx);
131 dmu_tx_t *tx)
866 dmu_tx_t *tx = dmu_tx_create(os); local
1047 dmu_tx_t *tx; member in struct:killarg
    [all...]
  /netvirt/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...]
  /netvirt/usr/src/uts/common/fs/zfs/sys/
dmu_tx.h 49 * No synchronization is needed because a tx can only be handled
104 int dmu_tx_assign(dmu_tx_t *tx, uint64_t txg_how);
105 void dmu_tx_commit(dmu_tx_t *tx);
106 void dmu_tx_abort(dmu_tx_t *tx);
107 uint64_t dmu_tx_get_txg(dmu_tx_t *tx);
108 void dmu_tx_wait(dmu_tx_t *tx);
119 int dmu_tx_is_syncing(dmu_tx_t *tx);
120 int dmu_tx_private_ok(dmu_tx_t *tx);
121 void dmu_tx_add_new_object(dmu_tx_t *tx, objset_t *os, uint64_t object);
122 void dmu_tx_willuse_space(dmu_tx_t *tx, int64_t delta)
    [all...]
bplist.h 72 extern uint64_t bplist_create(objset_t *mos, int blocksize, dmu_tx_t *tx);
73 extern void bplist_destroy(objset_t *mos, uint64_t object, dmu_tx_t *tx);
78 extern int bplist_enqueue(bplist_t *bpl, blkptr_t *bp, dmu_tx_t *tx);
80 extern void bplist_sync(bplist_t *bpl, dmu_tx_t *tx);
81 extern void bplist_vacate(bplist_t *bpl, dmu_tx_t *tx);
dsl_dir.h 85 /* gross estimate of space used by in-flight tx's */
103 uint64_t dsl_dir_create_sync(dsl_dir_t *pds, const char *name, dmu_tx_t *tx);
104 void dsl_dir_create_root(objset_t *mos, uint64_t *ddobjp, dmu_tx_t *tx);
110 void dsl_dir_dirty(dsl_dir_t *dd, dmu_tx_t *tx);
111 void dsl_dir_sync(dsl_dir_t *dd, dmu_tx_t *tx);
114 dmu_tx_t *tx);
115 void dsl_dir_tempreserve_clear(void *tr_cookie, dmu_tx_t *tx);
116 void dsl_dir_willuse_space(dsl_dir_t *dd, int64_t space, dmu_tx_t *tx);
118 int64_t used, int64_t compressed, int64_t uncompressed, dmu_tx_t *tx);
123 int dsl_dir_set_reservation_check(void *arg1, void *arg2, dmu_tx_t *tx);
    [all...]
zap.h 123 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
125 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);
147 int zap_destroy(objset_t *ds, uint64_t zapobj, dmu_tx_t *tx);
197 const void *val, dmu_tx_t *tx);
208 int integer_size, uint64_t num_integers, const void *val, dmu_tx_t *tx);
226 int zap_remove(objset_t *ds, uint64_t zapobj, const char *name, dmu_tx_t *tx);
228 matchtype_t mt, dmu_tx_t *tx);
dnode.h 202 void dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx);
209 void dnode_setdirty(dnode_t *dn, dmu_tx_t *tx);
210 void dnode_sync(dnode_t *dn, dmu_tx_t *tx);
212 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
214 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
215 void dnode_free(dnode_t *dn, dmu_tx_t *tx);
219 int dnode_set_blksz(dnode_t *dn, uint64_t size, int ibs, dmu_tx_t *tx);
221 void dnode_free_range(dnode_t *dn, uint64_t off, uint64_t len, dmu_tx_t *tx);
223 uint64_t nblks, dmu_tx_t *tx);
225 void dnode_willuse_space(dnode_t *dn, int64_t space, dmu_tx_t *tx);
    [all...]
dsl_deleg.h 63 void dsl_deleg_set_create_perms(dsl_dir_t *dd, dmu_tx_t *tx, cred_t *cr);
66 int dsl_deleg_destroy(objset_t *os, uint64_t zapobj, dmu_tx_t *tx);
dmu.h 170 void (*func)(objset_t *os, void *arg, cred_t *cr, dmu_tx_t *tx), void *arg);
221 int blocksize, dmu_object_type_t bonus_type, int bonus_len, dmu_tx_t *tx);
223 int blocksize, dmu_object_type_t bonus_type, int bonus_len, dmu_tx_t *tx);
225 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
231 * dmu_free(object, 0, -1, tx)).
236 * or tx holds on the object (via dmu_tx_hold_object()), you can not
243 int dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx);
271 int ibs, dmu_tx_t *tx);
278 dmu_tx_t *tx);
285 dmu_tx_t *tx);
    [all...]
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);
  /netvirt/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...]
  /netvirt/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...]
  /netvirt/usr/src/uts/common/io/bge/
bge.conf 176 bge-tx-rings = 1;

Completed in 970 milliseconds

1 2 3 4 5