Searched refs:tx (Results 1 - 25 of 221) sorted by relevance

123456789

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddmu_tx.c43 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();
59 return (tx);
65 dmu_tx_t *tx = dmu_tx_create_dd(os->os_dsl_dataset->ds_dir); local
66 tx
73 dmu_tx_t *tx = dmu_tx_create_dd(NULL); local
84 dmu_tx_is_syncing(dmu_tx_t *tx) argument
90 dmu_tx_private_ok(dmu_tx_t *tx) argument
96 dmu_tx_hold_dnode_impl(dmu_tx_t *tx, dnode_t *dn, enum dmu_tx_hold_type type, uint64_t arg1, uint64_t arg2) argument
131 dmu_tx_hold_object_impl(dmu_tx_t *tx, objset_t *os, uint64_t object, enum dmu_tx_hold_type type, uint64_t arg1, uint64_t arg2) argument
152 dmu_tx_add_new_object(dmu_tx_t *tx, dnode_t *dn) argument
288 dmu_tx_hold_write(dmu_tx_t *tx, uint64_t object, uint64_t off, int len) argument
305 dmu_tx_hold_remap_l1indirect(dmu_tx_t *tx, uint64_t object) argument
322 dmu_tx_hold_write_by_dnode(dmu_tx_t *tx, dnode_t *dn, uint64_t off, int len) argument
346 dmu_tx_mark_netfree(dmu_tx_t *tx) argument
354 dmu_tx_t *tx; local
442 dmu_tx_hold_free(dmu_tx_t *tx, uint64_t object, uint64_t off, uint64_t len) argument
453 dmu_tx_hold_free_by_dnode(dmu_tx_t *tx, dnode_t *dn, uint64_t off, uint64_t len) argument
465 dmu_tx_t *tx = txh->txh_tx; local
515 dmu_tx_hold_zap(dmu_tx_t *tx, uint64_t object, int add, const char *name) argument
528 dmu_tx_hold_zap_by_dnode(dmu_tx_t *tx, dnode_t *dn, int add, const char *name) argument
541 dmu_tx_hold_bonus(dmu_tx_t *tx, uint64_t object) argument
554 dmu_tx_hold_bonus_by_dnode(dmu_tx_t *tx, dnode_t *dn) argument
566 dmu_tx_hold_space(dmu_tx_t *tx, uint64_t space) argument
579 dmu_tx_dirty_buf(dmu_tx_t *tx, dmu_buf_impl_t *db) argument
782 dmu_tx_delay(dmu_tx_t *tx, uint64_t dirty) argument
873 dmu_tx_try_assign(dmu_tx_t *tx, uint64_t txg_how) argument
952 dmu_tx_unassign(dmu_tx_t *tx) argument
1007 dmu_tx_assign(dmu_tx_t *tx, uint64_t txg_how) argument
1036 dmu_tx_wait(dmu_tx_t *tx) argument
1099 dmu_tx_destroy(dmu_tx_t *tx) argument
1122 dmu_tx_commit(dmu_tx_t *tx) argument
1160 dmu_tx_abort(dmu_tx_t *tx) argument
1174 dmu_tx_get_txg(dmu_tx_t *tx) argument
1181 dmu_tx_pool(dmu_tx_t *tx) argument
1188 dmu_tx_callback_register(dmu_tx_t *tx, dmu_tx_callback_func_t *func, void *data) argument
1230 dmu_tx_sa_registration_hold(sa_os_t *sa, dmu_tx_t *tx) argument
1248 dmu_tx_hold_spill(dmu_tx_t *tx, uint64_t object) argument
1260 dmu_tx_hold_sa_create(dmu_tx_t *tx, int attrsize) argument
1297 dmu_tx_hold_sa(dmu_tx_t *tx, sa_handle_t *hdl, boolean_t may_grow) argument
[all...]
H A Dtxg.c120 tx_state_t *tx = &dp->dp_tx; local
122 bzero(tx, sizeof (tx_state_t));
124 tx->tx_cpu = kmem_zalloc(max_ncpus * sizeof (tx_cpu_t), KM_SLEEP);
129 mutex_init(&tx->tx_cpu[c].tc_lock, NULL, MUTEX_DEFAULT, NULL);
130 mutex_init(&tx->tx_cpu[c].tc_open_lock, NULL, MUTEX_DEFAULT,
133 cv_init(&tx->tx_cpu[c].tc_cv[i], NULL, CV_DEFAULT,
135 list_create(&tx->tx_cpu[c].tc_callbacks[i],
141 mutex_init(&tx->tx_sync_lock, NULL, MUTEX_DEFAULT, NULL);
143 cv_init(&tx->tx_sync_more_cv, NULL, CV_DEFAULT, NULL);
144 cv_init(&tx
158 tx_state_t *tx = &dp->dp_tx; local
196 tx_state_t *tx = &dp->dp_tx; local
221 txg_thread_enter(tx_state_t *tx, callb_cpr_t *cpr) argument
228 txg_thread_exit(tx_state_t *tx, callb_cpr_t *cpr, kthread_t **tpp) argument
239 txg_thread_wait(tx_state_t *tx, callb_cpr_t *cpr, kcondvar_t *cv, clock_t time) argument
258 tx_state_t *tx = &dp->dp_tx; local
295 tx_state_t *tx = &dp->dp_tx; local
356 tx_state_t *tx = &dp->dp_tx; local
412 tx_state_t *tx = &dp->dp_tx; local
450 tx_state_t *tx = &dp->dp_tx; local
458 tx_state_t *tx = &dp->dp_tx; local
466 tx_state_t *tx = &dp->dp_tx; local
476 tx_state_t *tx = &dp->dp_tx; local
559 tx_state_t *tx = &dp->dp_tx; local
612 tx_state_t *tx = &dp->dp_tx; local
638 tx_state_t *tx = &dp->dp_tx; local
697 tx_state_t *tx = &dp->dp_tx; local
723 tx_state_t *tx = &dp->dp_tx; local
742 tx_state_t *tx = &dp->dp_tx; local
749 tx_state_t *tx = &dp->dp_tx; local
[all...]
H A Ddsl_destroy.c84 dsl_destroy_snapshot_check(void *arg, dmu_tx_t *tx) argument
90 dsl_pool_t *dp = dmu_tx_pool(tx);
121 process_old_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) argument
129 dsl_deadlist_insert(&poa->ds->ds_deadlist, bp, tx);
140 dsl_free_sync(poa->pio, dp, tx->tx_txg, bp);
147 dsl_dataset_t *ds_next, boolean_t after_branch_point, dmu_tx_t *tx)
162 process_old_cb, &poa, tx));
168 -poa.used, -poa.comp, -poa.uncomp, tx);
184 dsl_dataset_remove_clones_key(dsl_dataset_t *ds, uint64_t mintxg, dmu_tx_t *tx) argument
207 mintxg, tx);
146 process_old_deadlist(dsl_dataset_t *ds, dsl_dataset_t *ds_prev, dsl_dataset_t *ds_next, boolean_t after_branch_point, dmu_tx_t *tx) argument
220 dsl_destroy_snapshot_handle_remaps(dsl_dataset_t *ds, dsl_dataset_t *ds_next, dmu_tx_t *tx) argument
253 dsl_destroy_snapshot_sync_impl(dsl_dataset_t *ds, boolean_t defer, dmu_tx_t *tx) argument
498 dsl_destroy_snapshot_sync(void *arg, dmu_tx_t *tx) argument
637 dmu_tx_t *tx; member in struct:killarg
646 dmu_tx_t *tx = ka->tx; local
669 old_synchronous_dataset_destroy(dsl_dataset_t *ds, dmu_tx_t *tx) argument
735 dsl_destroy_head_check(void *arg, dmu_tx_t *tx) argument
752 dsl_dir_destroy_sync(uint64_t ddobj, dmu_tx_t *tx) argument
806 dsl_destroy_head_sync_impl(dsl_dataset_t *ds, dmu_tx_t *tx) argument
891 zil_destroy_sync(dmu_objset_zil(os), tx); local
979 dsl_destroy_head_sync(void *arg, dmu_tx_t *tx) argument
991 dsl_destroy_head_begin_sync(void *arg, dmu_tx_t *tx) argument
[all...]
H A Ddmu_object.c48 int dnodesize, dmu_tx_t *tx)
177 bonustype, bonuslen, dn_slots, tx);
179 dmu_tx_add_new_object(tx, dn);
202 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx)
205 bonuslen, 0, tx));
211 dmu_tx_t *tx)
214 bonustype, bonuslen, 0, tx));
219 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx)
222 bonuslen, dnodesize, tx));
227 int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx)
46 dmu_object_alloc_impl(objset_t *os, dmu_object_type_t ot, int blocksize, int indirect_blockshift, dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx) argument
201 dmu_object_alloc(objset_t *os, dmu_object_type_t ot, int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) argument
209 dmu_object_alloc_ibs(objset_t *os, dmu_object_type_t ot, int blocksize, int indirect_blockshift, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) argument
218 dmu_object_alloc_dnsize(objset_t *os, dmu_object_type_t ot, int blocksize, dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx) argument
226 dmu_object_claim(objset_t *os, uint64_t object, dmu_object_type_t ot, int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) argument
234 dmu_object_claim_dnsize(objset_t *os, uint64_t object, dmu_object_type_t ot, int blocksize, dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx) argument
263 dmu_object_reclaim(objset_t *os, uint64_t object, dmu_object_type_t ot, int blocksize, dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx) argument
271 dmu_object_reclaim_dnsize(objset_t *os, uint64_t object, dmu_object_type_t ot, int blocksize, dmu_object_type_t bonustype, int bonuslen, int dnodesize, boolean_t keep_spill, dmu_tx_t *tx) argument
298 dmu_object_rm_spill(objset_t *os, uint64_t object, dmu_tx_t *tx) argument
320 dmu_object_free(objset_t *os, uint64_t object, dmu_tx_t *tx) argument
415 dmu_object_zapify(objset_t *mos, uint64_t object, dmu_object_type_t old_type, dmu_tx_t *tx) argument
443 SPA_FEATURE_EXTENSIBLE_DATASET, tx); local
447 dmu_object_free_zapified(objset_t *mos, uint64_t object, dmu_tx_t *tx) argument
460 SPA_FEATURE_EXTENSIBLE_DATASET, tx); local
[all...]
H A Dzfeature.c297 dmu_tx_t *tx)
304 sizeof (uint64_t), 1, &refcount, tx));
323 spa_activate_mos_feature(spa, feature->fi_guid, tx);
331 feature_enable_sync(spa_t *spa, zfeature_info_t *feature, dmu_tx_t *tx) argument
349 spa_feature_enable(spa, feature->fi_depends[i], tx);
353 feature->fi_desc, tx));
355 feature_sync(spa, feature, initial_refcount, tx);
358 uint64_t enabling_txg = dmu_tx_get_txg(tx);
364 DMU_POOL_FEATURE_ENABLED_TXG, tx);
366 spa_feature_incr(spa, SPA_FEATURE_ENABLED_TXG, tx);
296 feature_sync(spa_t *spa, zfeature_info_t *feature, uint64_t refcount, dmu_tx_t *tx) argument
388 feature_do_action(spa_t *spa, spa_feature_t fid, feature_action_t action, dmu_tx_t *tx) argument
423 spa_feature_create_zap_objects(spa_t *spa, dmu_tx_t *tx) argument
447 spa_feature_enable(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) argument
455 spa_feature_incr(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) argument
461 spa_feature_decr(spa_t *spa, spa_feature_t fid, dmu_tx_t *tx) argument
[all...]
H A Ddsl_deadlist.c156 dsl_deadlist_alloc(objset_t *os, dmu_tx_t *tx) argument
159 return (bpobj_alloc(os, SPA_OLD_MAXBLOCKSIZE, tx));
161 sizeof (dsl_deadlist_phys_t), tx));
165 dsl_deadlist_free(objset_t *os, uint64_t dlobj, dmu_tx_t *tx) argument
173 bpobj_free(os, dlobj, tx);
182 bpobj_decr_empty(os, tx);
184 bpobj_free(os, obj, tx);
187 VERIFY3U(0, ==, dmu_object_free(os, dlobj, tx));
192 const blkptr_t *bp, dmu_tx_t *tx)
197 uint64_t obj = bpobj_alloc(dl->dl_os, SPA_OLD_MAXBLOCKSIZE, tx);
191 dle_enqueue(dsl_deadlist_t *dl, dsl_deadlist_entry_t *dle, const blkptr_t *bp, dmu_tx_t *tx) argument
208 dle_enqueue_subobj(dsl_deadlist_t *dl, dsl_deadlist_entry_t *dle, uint64_t obj, dmu_tx_t *tx) argument
225 dsl_deadlist_insert(dsl_deadlist_t *dl, const blkptr_t *bp, dmu_tx_t *tx) argument
260 dsl_deadlist_add_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx) argument
287 dsl_deadlist_remove_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx) argument
316 dsl_deadlist_regenerate(objset_t *os, uint64_t dlobj, uint64_t mrs_obj, dmu_tx_t *tx) argument
340 dsl_deadlist_clone(dsl_deadlist_t *dl, uint64_t maxtxg, uint64_t mrs_obj, dmu_tx_t *tx) argument
437 dsl_deadlist_insert_bpobj(dsl_deadlist_t *dl, uint64_t obj, uint64_t birth, dmu_tx_t *tx) argument
467 dsl_deadlist_insert_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) argument
479 dsl_deadlist_merge(dsl_deadlist_t *dl, uint64_t obj, dmu_tx_t *tx) argument
519 dsl_deadlist_move_bpobj(dsl_deadlist_t *dl, bpobj_t *bpo, uint64_t mintxg, dmu_tx_t *tx) argument
[all...]
H A Ddsl_synctask.c37 dsl_null_checkfunc(void *arg, dmu_tx_t *tx) argument
48 dmu_tx_t *tx; local
59 tx = dmu_tx_create_dd(dp->dp_mos_dir);
60 VERIFY0(dmu_tx_assign(tx, TXG_WAIT));
63 dst.dst_txg = dmu_tx_get_txg(tx);
73 err = dst.dst_checkfunc(arg, tx);
77 dmu_tx_commit(tx);
86 dmu_tx_commit(tx);
90 sigfunc(arg, tx);
112 * dmu_tx_is_syncing(tx)
172 dsl_sync_task_nowait_common(dsl_pool_t *dp, dsl_syncfunc_t *syncfunc, void *arg, int blocks_modified, zfs_space_check_t space_check, dmu_tx_t *tx, boolean_t early) argument
194 dsl_sync_task_nowait(dsl_pool_t *dp, dsl_syncfunc_t *syncfunc, void *arg, int blocks_modified, zfs_space_check_t space_check, dmu_tx_t *tx) argument
202 dsl_early_sync_task_nowait(dsl_pool_t *dp, dsl_syncfunc_t *syncfunc, void *arg, int blocks_modified, zfs_space_check_t space_check, dmu_tx_t *tx) argument
213 dsl_sync_task_sync(dsl_sync_task_t *dst, dmu_tx_t *tx) argument
[all...]
H A Dspa_checkpoint.c187 spa_checkpoint_discard_complete_sync(void *arg, dmu_tx_t *tx) argument
193 spa_feature_decr(spa, SPA_FEATURE_POOL_CHECKPOINT, tx);
195 spa_history_log_internal(spa, "spa discard checkpoint", tx,
278 spa_checkpoint_discard_thread_sync(void *arg, dmu_tx_t *tx) argument
321 sdc.sdc_txg = tx->tx_txg;
328 spa_checkpoint_discard_sync_callback, &sdc, tx);
339 tx->tx_txg, vd->vdev_id, (words_before - words_after),
353 space_map_free(vd->vdev_checkpoint_sm, tx);
358 vd->vdev_top_zap, VDEV_TOP_ZAP_POOL_CHECKPOINT_SM, tx)); local
451 spa_checkpoint_check(void *arg, dmu_tx_t *tx) argument
475 spa_checkpoint_sync(void *arg, dmu_tx_t *tx) argument
572 spa_checkpoint_discard_check(void *arg, dmu_tx_t *tx) argument
590 spa_checkpoint_discard_sync(void *arg, dmu_tx_t *tx) argument
[all...]
H A Ddsl_dataset.c87 uint64_t obj, dmu_tx_t *tx);
89 dmu_tx_t *tx);
118 dsl_dataset_block_born(dsl_dataset_t *ds, const blkptr_t *bp, dmu_tx_t *tx) argument
120 int used = bp_get_dsize_sync(tx->tx_pool->dp_spa, bp);
127 ASSERT(dmu_tx_is_syncing(tx));
134 dsl_pool_mos_diduse_space(tx->tx_pool,
140 dmu_buf_will_dirty(ds->ds_dbuf, tx);
159 compressed, uncompressed, tx);
161 DD_USED_REFRSRV, DD_USED_HEAD, tx);
173 uint64_t size, uint64_t birth, dmu_tx_t *tx)
172 dsl_dataset_block_remapped(dsl_dataset_t *ds, uint64_t vdev, uint64_t offset, uint64_t size, uint64_t birth, dmu_tx_t *tx) argument
206 dsl_dataset_block_kill(dsl_dataset_t *ds, const blkptr_t *bp, dmu_tx_t *tx, boolean_t async) argument
389 dsl_dataset_snap_remove(dsl_dataset_t *ds, const char *name, dmu_tx_t *tx, boolean_t adj_cnt) argument
871 dsl_dataset_activate_feature(uint64_t dsobj, spa_feature_t f, dmu_tx_t *tx) argument
887 dsl_dataset_deactivate_feature(uint64_t dsobj, spa_feature_t f, dmu_tx_t *tx) argument
899 dsl_dataset_create_sync_dd(dsl_dir_t *dd, dsl_dataset_t *origin, dsl_crypto_params_t *dcp, uint64_t flags, dmu_tx_t *tx) argument
1014 dsl_dataset_zero_zil(dsl_dataset_t *ds, dmu_tx_t *tx) argument
1038 dsl_dataset_create_sync(dsl_dir_t *pdd, const char *lastname, dsl_dataset_t *origin, uint64_t flags, cred_t *cr, dsl_crypto_params_t *dcp, dmu_tx_t *tx) argument
1122 dsl_dataset_remove_from_next_clones(dsl_dataset_t *ds, uint64_t obj, dmu_tx_t *tx) argument
1163 dsl_dataset_dirty(dsl_dataset_t *ds, dmu_tx_t *tx) argument
1207 dsl_dataset_snapshot_reserve_space(dsl_dataset_t *ds, dmu_tx_t *tx) argument
1235 dsl_dataset_snapshot_check_impl(dsl_dataset_t *ds, const char *snapname, dmu_tx_t *tx, boolean_t recv, uint64_t cnt, cred_t *cr) argument
1294 dsl_dataset_snapshot_check(void *arg, dmu_tx_t *tx) argument
1433 dsl_dataset_snapshot_sync_impl(dsl_dataset_t *ds, const char *snapname, dmu_tx_t *tx) argument
1610 dsl_dataset_snapshot_sync(void *arg, dmu_tx_t *tx) argument
1717 dsl_dataset_snapshot_tmp_check(void *arg, dmu_tx_t *tx) argument
1752 dsl_dataset_snapshot_tmp_sync(void *arg, dmu_tx_t *tx) argument
1804 dsl_dataset_sync(dsl_dataset_t *ds, zio_t *zio, dmu_tx_t *tx) argument
1845 deadlist_enqueue_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) argument
1853 dsl_dataset_sync_done(dsl_dataset_t *ds, dmu_tx_t *tx) argument
2537 dsl_dataset_rename_snapshot_check(void *arg, dmu_tx_t *tx) argument
2566 dmu_tx_t *tx = ddrsa->ddrsa_tx; local
2596 dsl_dataset_rename_snapshot_sync(void *arg, dmu_tx_t *tx) argument
2638 dsl_dataset_handoff_check(dsl_dataset_t *ds, void *owner, dmu_tx_t *tx) argument
2662 dsl_dataset_rollback_check(void *arg, dmu_tx_t *tx) argument
2807 dsl_dataset_rollback_sync(void *arg, dmu_tx_t *tx) argument
2874 dsl_dataset_promote_check(void *arg, dmu_tx_t *tx) argument
3071 dsl_dataset_promote_sync(void *arg, dmu_tx_t *tx) argument
3434 dsl_dataset_clone_swap_check_impl(dsl_dataset_t *clone, dsl_dataset_t *origin_head, boolean_t force, void *owner, dmu_tx_t *tx) argument
3506 dsl_dataset_swap_remap_deadlists(dsl_dataset_t *clone, dsl_dataset_t *origin, dmu_tx_t *tx) argument
3541 dsl_dataset_clone_swap_sync_impl(dsl_dataset_t *clone, dsl_dataset_t *origin_head, dmu_tx_t *tx) argument
3801 dsl_dataset_set_refquota_check(void *arg, dmu_tx_t *tx) argument
3845 dsl_dataset_set_refquota_sync(void *arg, dmu_tx_t *tx) argument
3885 dsl_dataset_set_refreservation_check(void *arg, dmu_tx_t *tx) argument
3945 dsl_dataset_set_refreservation_sync_impl(dsl_dataset_t *ds, zprop_source_t source, uint64_t value, dmu_tx_t *tx) argument
3973 dsl_dataset_set_refreservation_sync(void *arg, dmu_tx_t *tx) argument
4196 dsl_dataset_zapify(dsl_dataset_t *ds, dmu_tx_t *tx) argument
4250 dsl_dataset_set_remap_deadlist_object(dsl_dataset_t *ds, uint64_t obj, dmu_tx_t *tx) argument
4260 dsl_dataset_unset_remap_deadlist_object(dsl_dataset_t *ds, dmu_tx_t *tx) argument
4267 dsl_dataset_destroy_remap_deadlist(dsl_dataset_t *ds, dmu_tx_t *tx) argument
4277 dsl_deadlist_free(spa_meta_objset(spa), remap_deadlist_object, tx); local
4283 dsl_dataset_create_remap_deadlist(dsl_dataset_t *ds, dmu_tx_t *tx) argument
[all...]
H A Dbptree.c58 dmu_tx_t *ba_tx; /* caller supplied tx, NULL if not freeing */
62 bptree_alloc(objset_t *os, dmu_tx_t *tx) argument
70 sizeof (bptree_phys_t), tx);
77 dmu_buf_will_dirty(db, tx);
90 bptree_free(objset_t *os, uint64_t obj, dmu_tx_t *tx) argument
103 return (dmu_object_free(os, obj, tx));
122 uint64_t bytes, uint64_t comp, uint64_t uncomp, dmu_tx_t *tx)
133 ASSERT(dmu_tx_is_syncing(tx));
140 dmu_write(os, obj, bt->bt_end * sizeof (bte), sizeof (bte), &bte, tx);
142 dmu_buf_will_dirty(db, tx);
121 bptree_add(objset_t *os, uint64_t obj, blkptr_t *bp, uint64_t birth_txg, uint64_t bytes, uint64_t comp, uint64_t uncomp, dmu_tx_t *tx) argument
187 bptree_iterate(objset_t *os, uint64_t obj, boolean_t free, bptree_itor_t func, void *arg, dmu_tx_t *tx) argument
[all...]
H A Ddsl_bookmark.c121 dmu_tx_t *tx)
123 dsl_pool_t *dp = dmu_tx_pool(tx);
153 dsl_bookmark_create_check(void *arg, dmu_tx_t *tx) argument
156 dsl_pool_t *dp = dmu_tx_pool(tx);
172 nvpair_name(pair), tx);
186 dsl_bookmark_create_sync(void *arg, dmu_tx_t *tx) argument
189 dsl_pool_t *dp = dmu_tx_pool(tx);
208 DMU_OTN_ZAP_METADATA, DMU_OT_NONE, 0, tx);
209 spa_feature_incr(dp->dp_spa, SPA_FEATURE_BOOKMARKS, tx);
211 dsl_dataset_zapify(bmark_fs, tx);
120 dsl_bookmark_create_check_impl(dsl_dataset_t *snapds, const char *bookmark_name, dmu_tx_t *tx) argument
369 dsl_dataset_bookmark_remove(dsl_dataset_t *ds, const char *name, dmu_tx_t *tx) argument
388 SPA_FEATURE_BOOKMARK_V2, tx); local
395 dsl_bookmark_destroy_check(void *arg, dmu_tx_t *tx) argument
446 dsl_bookmark_destroy_sync(void *arg, dmu_tx_t *tx) argument
[all...]
/illumos-gate/usr/src/cmd/refer/
H A Dtick.c32 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.;
H A Drefer6.c33 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, se
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddmu_tx.h50 * No synchronization is needed because a tx can only be handled
117 int dmu_tx_assign(dmu_tx_t *tx, uint64_t txg_how);
118 void dmu_tx_commit(dmu_tx_t *tx);
119 void dmu_tx_abort(dmu_tx_t *tx);
120 uint64_t dmu_tx_get_txg(dmu_tx_t *tx);
121 struct dsl_pool *dmu_tx_pool(dmu_tx_t *tx);
122 void dmu_tx_wait(dmu_tx_t *tx);
124 void dmu_tx_callback_register(dmu_tx_t *tx, dmu_tx_callback_func_t *dcb_func,
137 int dmu_tx_is_syncing(dmu_tx_t *tx);
138 int dmu_tx_private_ok(dmu_tx_t *tx);
[all...]
H A Dbpobj.h68 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);
79 int bpobj_iterate(bpobj_t *bpo, bpobj_itor_t func, void *arg, dmu_tx_t *tx);
82 void bpobj_enqueue_subobj(bpobj_t *bpo, uint64_t subobj, dmu_tx_t *tx);
83 void bpobj_enqueue(bpobj_t *bpo, const blkptr_t *bp, dmu_tx_t *tx);
H A Ddsl_deadlist.h68 uint64_t dsl_deadlist_alloc(objset_t *os, dmu_tx_t *tx);
69 void dsl_deadlist_free(objset_t *os, uint64_t dlobj, dmu_tx_t *tx);
70 void dsl_deadlist_insert(dsl_deadlist_t *dl, const blkptr_t *bp, dmu_tx_t *tx);
71 void dsl_deadlist_add_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx);
72 void dsl_deadlist_remove_key(dsl_deadlist_t *dl, uint64_t mintxg, dmu_tx_t *tx);
74 uint64_t mrs_obj, dmu_tx_t *tx);
80 void dsl_deadlist_merge(dsl_deadlist_t *dl, uint64_t obj, dmu_tx_t *tx);
82 dmu_tx_t *tx);
H A Dzap.h123 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
125 dmu_object_type_t bonustype, int bonuslen, int dnodesize, dmu_tx_t *tx);
127 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
130 int dnodesize, dmu_tx_t *tx);
133 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
137 int dnodesize, dmu_tx_t *tx);
139 uint64_t parent_obj, const char *name, dmu_tx_t *tx);
141 uint64_t parent_obj, const char *name, int dnodesize, dmu_tx_t *tx);
147 zap_flags_t flags, dmu_tx_t *tx);
154 dmu_object_type_t bonustype, int bonuslen, dmu_tx_t *tx);
[all...]
H A Dbptree.h49 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);
H A Dbplist.h45 typedef int bplist_itor_t(void *arg, const blkptr_t *bp, dmu_tx_t *tx);
51 void *arg, dmu_tx_t *tx);
H A Ddsl_userhold.h49 boolean_t temphold, struct dmu_tx *tx);
51 minor_t minor, uint64_t now, struct dmu_tx *tx);
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_hv.c53 nxhv_dc_fp_t *tx; local
69 tx = &nhd->hio.tx;
71 tx->assign = &hv_niu_tx_dma_assign;
72 tx->unassign = &hv_niu_tx_dma_unassign;
73 tx->get_map = &hv_niu_vr_get_txmap;
76 tx->lp_conf = &hv_niu_tx_logical_page_conf;
77 tx->lp_info = &hv_niu_tx_logical_page_info;
79 tx->lp_cfgh_conf = &hv_niu_cfgh_tx_logical_page_conf;
80 tx
[all...]
/illumos-gate/usr/src/uts/common/io/bnx/570x/driver/common/lmdev/
H A Dbnx_lm_send.c72 packet->u1.tx.dbg_start_bd = txq->prod_bd;
73 packet->u1.tx.dbg_start_bd_idx = txq->prod_idx;
74 packet->u1.tx.dbg_frag_cnt = (u16_t) frags->cnt;
83 DbgBreakMsg("No tx bd left.\n");
93 if(packet->u1.tx.flags & LM_TX_FLAG_INSERT_VLAN_TAG)
98 if((packet->u1.tx.flags & LM_TX_FLAG_TCP_LSO_FRAME) == 0)
100 if(packet->u1.tx.flags & LM_TX_FLAG_COMPUTE_IP_CKSUM)
106 if(packet->u1.tx.flags & LM_TX_FLAG_COMPUTE_TCP_UDP_CKSUM)
109 if(packet->u1.tx.flags & LM_TX_FLAG_IPV6_PACKET)
120 if(packet->u1.tx
[all...]
/illumos-gate/usr/src/cmd/rcap/common/
H A Drcapd_conf.c169 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 !
[all...]
/illumos-gate/usr/src/uts/common/io/bge/
H A Dbge.conf175 bge-tx-rings = 1;
/illumos-gate/usr/src/lib/libmvec/common/
H A D__vcosbigf.c72 double tx, tt[3], ty[2], t, w, z, a; local
76 tx = *x;
77 hx = HI(&tx);
83 HI(&tx) = 0x41600000 | (hx & 0xfffff);
85 tt[0] = (double)((int) tx);
86 tx = (tx - tt[0]) * two24;
87 if (tx != zero)
90 tt[1] = (double)((int) tx);
91 tt[2] = (tx
[all...]

Completed in 163 milliseconds

123456789