Home
last modified time | relevance | path

Searched refs:tx (Results 51 – 75 of 238) sorted by relevance

12345678910

/illumos-gate/usr/src/lib/libmvec/common/
H A D__vcosbig.c72 double tx, tt[3], ty[2], t, w, z, a; in __vlibm_vcos_big() local
82 HI(&tx) = 0x41600000 | (hx & 0xfffff); in __vlibm_vcos_big()
83 LO(&tx) = LO(x); in __vlibm_vcos_big()
84 tt[0] = (double)((int) tx); in __vlibm_vcos_big()
85 tx = (tx - tt[0]) * two24; in __vlibm_vcos_big()
86 if (tx != zero) in __vlibm_vcos_big()
89 tt[1] = (double)((int) tx); in __vlibm_vcos_big()
90 tt[2] = (tx - tt[1]) * two24; in __vlibm_vcos_big()
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddnode_sync.c45 int txgoff = tx->tx_txg & TXG_MASK; in dnode_increase_indirection()
179 uint64_t txg = tx->tx_txg; in free_verify()
329 FREE_VERIFY(db, start, end, tx); in free_children()
559 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync_free()
561 ASSERT(dmu_tx_is_syncing(tx)); in dnode_sync_free()
621 dnode_sync(dnode_t *dn, dmu_tx_t *tx) in dnode_sync() argument
625 int txgoff = tx->tx_txg & TXG_MASK; in dnode_sync()
630 ASSERT(dmu_tx_is_syncing(tx)); in dnode_sync()
722 dn->dn_free_txg <= tx->tx_txg; in dnode_sync()
761 dsfra.dsfra_tx = tx; in dnode_sync()
[all …]
H A Ddsl_scan.c691 &scn->scn_phys, tx)); in dsl_scan_sync_state()
1070 dmu_tx_t *tx; in dsl_scan_restart_resilver() local
1074 txg = dmu_tx_get_txg(tx); in dsl_scan_restart_resilver()
1076 dmu_tx_commit(tx); in dsl_scan_restart_resilver()
1171 DMU_OT_NONE, 0, tx); in scan_ds_queue_sync()
1176 sds->sds_txg, tx)); in scan_ds_queue_sync()
1961 dmu_tx_t *tx) in dsl_scan_visit_rootbp() argument
2065 mintxg, tx) == 0); in dsl_scan_ds_destroyed()
2577 dsl_scan_ddt(scn, tx); in dsl_scan_visit()
3339 LEAK_DIR_NAME, tx); in dsl_process_async_destroys()
[all …]
H A Dvdev_indirect_births.c86 vdev_indirect_births_alloc(objset_t *os, dmu_tx_t *tx) in vdev_indirect_births_alloc() argument
88 ASSERT(dmu_tx_is_syncing(tx)); in vdev_indirect_births_alloc()
93 tx)); in vdev_indirect_births_alloc()
120 vdev_indirect_births_free(objset_t *os, uint64_t object, dmu_tx_t *tx) in vdev_indirect_births_free() argument
122 VERIFY0(dmu_object_free(os, object, tx)); in vdev_indirect_births_free()
127 uint64_t max_offset, uint64_t txg, dmu_tx_t *tx) in vdev_indirect_births_add_entry() argument
134 ASSERT(dmu_tx_is_syncing(tx)); in vdev_indirect_births_add_entry()
135 ASSERT(dsl_pool_sync_context(dmu_tx_pool(tx))); in vdev_indirect_births_add_entry()
138 dmu_buf_will_dirty(vib->vib_dbuf, tx); in vdev_indirect_births_add_entry()
145 &vibe, tx); in vdev_indirect_births_add_entry()
H A Dzcp_set.c39 const char *prop_name, const char *prop_val, dmu_tx_t *tx) in zcp_set_user_prop() argument
48 dsl_props_set_sync_impl(ds, ZPROP_SRC_LOCAL, nvl, tx); in zcp_set_user_prop()
55 zcp_set_prop_check(void *arg, dmu_tx_t *tx) in zcp_set_prop_check() argument
79 ret = dsl_props_set_check(&dpsa, tx); in zcp_set_prop_check()
86 zcp_set_prop_sync(void *arg, dmu_tx_t *tx) in zcp_set_prop_sync() argument
98 prop_val, tx); in zcp_set_prop_sync()
H A Dspa_errlog.c312 0, tx); in sync_error_list()
321 *obj, buf, 1, strlen(name) + 1, name, tx); in sync_error_list()
344 dmu_tx_t *tx; in spa_errlog_sync() local
367 tx = dmu_tx_create_assigned(spa->spa_dsl_pool, txg); in spa_errlog_sync()
372 sync_error_list(spa, &last, &spa->spa_errlog_last, tx); in spa_errlog_sync()
380 spa->spa_errlog_last, tx) == 0); in spa_errlog_sync()
384 sync_error_list(spa, &scrub, &spa->spa_errlog_last, tx); in spa_errlog_sync()
390 sync_error_list(spa, &scrub, &spa->spa_errlog_scrub, tx); in spa_errlog_sync()
397 &spa->spa_errlog_last, tx); in spa_errlog_sync()
400 &spa->spa_errlog_scrub, tx); in spa_errlog_sync()
[all …]
H A Dzfs_sa.c111 zfs_grow_blocksize(zp, len, tx); in zfs_sa_symlink()
115 dmu_buf_will_dirty(dbp, tx); in zfs_sa_symlink()
168 sizeof (xoap->xoa_av_scanstamp), tx)); in zfs_sa_set_scanstamp()
178 VERIFY(dmu_set_bonus(db, len, tx) == 0); in zfs_sa_set_scanstamp()
184 &zp->z_pflags, sizeof (uint64_t), tx)); in zfs_sa_set_scanstamp()
197 zfs_sa_upgrade(sa_handle_t *hdl, dmu_tx_t *tx) in zfs_sa_upgrade() argument
317 count, tx) == 0); in zfs_sa_upgrade()
320 znode_acl.z_acl_extern_obj, tx)); in zfs_sa_upgrade()
329 zfs_sa_upgrade_txholds(dmu_tx_t *tx, znode_t *zp) in zfs_sa_upgrade_txholds() argument
335 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_TRUE); in zfs_sa_upgrade_txholds()
[all …]
H A Dvdev_indirect_mapping.c307 ASSERT(dmu_tx_is_syncing(tx)); in vdev_indirect_mapping_alloc()
317 tx); in vdev_indirect_mapping_alloc()
324 dmu_buf_will_dirty(dbuf, tx); in vdev_indirect_mapping_alloc()
328 DMU_OT_NONE, 0, tx); in vdev_indirect_mapping_alloc()
372 tx)); in vdev_indirect_mapping_free()
377 VERIFY0(dmu_object_free(os, object, tx)); in vdev_indirect_mapping_free()
388 list_t *list, dmu_tx_t *tx) in vdev_indirect_mapping_add_entries() argument
398 ASSERT(dmu_tx_is_syncing(tx)); in vdev_indirect_mapping_add_entries()
406 dmu_buf_will_dirty(vim->vim_dbuf, tx); in vdev_indirect_mapping_add_entries()
455 mapbuf, tx); in vdev_indirect_mapping_add_entries()
[all …]
H A Dddt_zap.c39 ddt_zap_create(objset_t *os, uint64_t *objectp, dmu_tx_t *tx, boolean_t prehash) in ddt_zap_create() argument
48 DMU_OT_NONE, 0, tx); in ddt_zap_create()
54 ddt_zap_destroy(objset_t *os, uint64_t object, dmu_tx_t *tx) in ddt_zap_destroy() argument
56 return (zap_destroy(os, object, tx)); in ddt_zap_destroy()
92 ddt_zap_update(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx) in ddt_zap_update() argument
101 DDT_KEY_WORDS, 1, csize, cbuf, tx)); in ddt_zap_update()
105 ddt_zap_remove(objset_t *os, uint64_t object, ddt_entry_t *dde, dmu_tx_t *tx) in ddt_zap_remove() argument
108 DDT_KEY_WORDS, tx)); in ddt_zap_remove()
H A Ddmu_objset.c1209 tx->tx_txg); in dmu_objset_create_sync()
1224 tx->tx_txg); in dmu_objset_create_sync()
1586 dnode_sync(dn, tx); in dmu_objset_sync_dnodes()
1680 os->os_synctx = tx; in dmu_objset_sync()
1766 sda->sda_tx = tx; in dmu_objset_sync()
2105 uua->uua_tx = tx; in dmu_objset_do_userquota_updates()
2308 dmu_tx_t *tx; in dmu_objset_space_upgrade() local
2331 tx = dmu_tx_create(os); in dmu_objset_space_upgrade()
2336 dmu_tx_abort(tx); in dmu_objset_space_upgrade()
2341 dmu_tx_commit(tx); in dmu_objset_space_upgrade()
[all …]
H A Ddnode.c387 dnode_setdirty(dn, tx); in dnode_setbonuslen()
403 dnode_setdirty(dn, tx); in dnode_setbonus_type()
415 dnode_setdirty(dn, tx); in dnode_rm_spill()
655 dnode_setdirty(dn, tx); in dnode_allocate()
674 ASSERT(tx->tx_txg != 0); in dnode_reallocate()
692 dnode_setdirty(dn, tx); in dnode_reallocate()
715 dbuf_rm_spill(dn, tx); in dnode_reallocate()
716 dnode_rm_spill(dn, tx); in dnode_reallocate()
1729 dnode_setdirty(dn, tx); in dnode_free()
1783 dnode_setdirty(dn, tx); in dnode_set_blksz()
[all …]
H A Dvdev_initialize.c66 uint64_t txg = dmu_tx_get_txg(tx); in vdev_initialize_zap_update_sync()
90 1, &val, tx)); in vdev_initialize_zap_update_sync()
96 &initialize_state, tx)); in vdev_initialize_zap_update_sync()
123 VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); in vdev_initialize_change_state()
125 guid, 2, ZFS_SPACE_CHECK_NONE, tx); in vdev_initialize_change_state()
148 dmu_tx_commit(tx); in vdev_initialize_change_state()
200 VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); in vdev_initialize_write()
201 uint64_t txg = dmu_tx_get_txg(tx); in vdev_initialize_write()
213 ZFS_SPACE_CHECK_RESERVED, tx); in vdev_initialize_write()
227 dmu_tx_commit(tx); in vdev_initialize_write()
[all …]
H A Dzil.c639 dmu_tx_t *tx = NULL; in zil_create() local
688 if (tx != NULL) { in zil_create()
689 dmu_tx_commit(tx); in zil_create()
712 dmu_tx_t *tx; in zil_destroy() local
751 dmu_tx_commit(tx); in zil_destroy()
765 dmu_tx_t *tx = txarg; in zil_claim() local
880 ASSERT(tx == NULL); in zil_check_log_chain()
1149 dmu_tx_commit(tx); in zil_lwb_flush_vdevs_done()
1386 dmu_tx_t *tx; in zil_lwb_write_issue() local
1430 lwb->lwb_tx = tx; in zil_lwb_write_issue()
[all …]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_znode.h82 #define ZFS_ATTR_SET(zp, attr, value, pflags, tx) \ argument
89 &pflags, sizeof (pflags), tx)); \
309 dmu_tx_t *tx);
338 extern void zfs_log_link(zilog_t *zilog, dmu_tx_t *tx, uint64_t txtype,
344 extern void zfs_log_write(zilog_t *zilog, dmu_tx_t *tx, int txtype,
346 extern void zfs_log_truncate(zilog_t *zilog, dmu_tx_t *tx, int txtype,
348 extern void zfs_log_setattr(zilog_t *zilog, dmu_tx_t *tx, int txtype,
350 extern void zfs_log_acl(zilog_t *zilog, dmu_tx_t *tx, znode_t *zp,
352 extern void zfs_xvattr_set(znode_t *zp, xvattr_t *xvap, dmu_tx_t *tx);
353 extern void zfs_upgrade(zfsvfs_t *zfsvfs, dmu_tx_t *tx);
[all …]
H A Ddnode.h387 void dnode_setbonuslen(dnode_t *dn, int newsize, dmu_tx_t *tx);
388 void dnode_setbonus_type(dnode_t *dn, dmu_object_type_t, dmu_tx_t *tx);
389 void dnode_rm_spill(dnode_t *dn, dmu_tx_t *tx);
399 void dnode_setdirty(dnode_t *dn, dmu_tx_t *tx);
400 void dnode_sync(dnode_t *dn, dmu_tx_t *tx);
405 boolean_t keep_spill, dmu_tx_t *tx);
406 void dnode_free(dnode_t *dn, dmu_tx_t *tx);
410 int dnode_set_nlevels(dnode_t *dn, int nlevels, dmu_tx_t *tx);
414 void dnode_new_blkid(dnode_t *dn, uint64_t blkid, dmu_tx_t *tx,
589 #define FREE_VERIFY(db, start, end, tx) free_verify(db, start, end, tx) argument
[all …]
H A Ddsl_crypt.h200 nvlist_t *nvl, dmu_tx_t *tx);
202 nvlist_t *nvl, dmu_tx_t *tx);
207 int spa_keystore_change_key_check(void *arg, dmu_tx_t *tx);
208 void spa_keystore_change_key_sync(void *arg, dmu_tx_t *tx);
212 dmu_tx_t *tx);
216 struct dsl_dataset *origin, dsl_crypto_params_t *dcp, dmu_tx_t *tx);
218 dmu_tx_t *tx);
219 uint64_t dsl_crypto_key_clone_sync(dsl_dir_t *origindd, dmu_tx_t *tx);
220 void dsl_crypto_key_destroy_sync(uint64_t dckobj, dmu_tx_t *tx);
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 Ddsl_pool.h157 void dsl_pool_dirty_space(dsl_pool_t *dp, int64_t space, dmu_tx_t *tx);
162 void dsl_pool_create_origin(dsl_pool_t *dp, dmu_tx_t *tx);
163 void dsl_pool_upgrade_clones(dsl_pool_t *dp, dmu_tx_t *tx);
164 void dsl_pool_upgrade_dir_clones(dsl_pool_t *dp, dmu_tx_t *tx);
180 const char *tag, uint64_t now, dmu_tx_t *tx);
182 const char *tag, dmu_tx_t *tx);
188 void dsl_pool_create_obsolete_bpobj(dsl_pool_t *dp, dmu_tx_t *tx);
189 void dsl_pool_destroy_obsolete_bpobj(dsl_pool_t *dp, dmu_tx_t *tx);
H A Ddbuf.h317 int dbuf_spill_set_blksz(dmu_buf_t *db, uint64_t blksz, dmu_tx_t *tx);
320 void dbuf_rm_spill(struct dnode *dn, dmu_tx_t *tx);
347 void dmu_buf_will_not_fill(dmu_buf_t *db, dmu_tx_t *tx);
348 void dmu_buf_will_fill(dmu_buf_t *db, dmu_tx_t *tx);
349 void dmu_buf_fill_done(dmu_buf_t *db, dmu_tx_t *tx);
350 void dbuf_assign_arcbuf(dmu_buf_impl_t *db, arc_buf_t *buf, dmu_tx_t *tx);
351 dbuf_dirty_record_t *dbuf_dirty(dmu_buf_impl_t *db, dmu_tx_t *tx);
355 int uncompressed_size, int compressed_size, int byteorder, dmu_tx_t *tx);
359 void dbuf_setdirty(dmu_buf_impl_t *db, dmu_tx_t *tx);
361 void dbuf_sync_list(list_t *list, int level, dmu_tx_t *tx);
[all …]
/illumos-gate/usr/src/uts/common/disp/
H A Dts.c1210 thread_lock(tx); in ts_parmsset()
1273 thread_lock(tx); in ia_parmsset()
1302 thread_lock(tx); in ia_parmsset()
1839 kthread_t *tx; in ts_update_list() local
1849 thread_lock(tx); in ts_update_list()
1859 if (tx->t_schedctl && schedctl_get_nopreempt(tx)) in ts_update_list()
1861 if (tx->t_state != TS_RUN && tx->t_state != TS_WAIT && in ts_update_list()
1865 aston(tx); in ts_update_list()
2091 kthread_t *tx; in ia_set_process_group() local
2194 } while ((tx = tx->t_forw) != fg->p_tlist); in ia_set_process_group()
[all …]
/illumos-gate/usr/src/cmd/svc/configd/
H A Dobject.c656 backend_tx_t *tx; in object_tx_commit() local
677 backend_tx_rollback(tx); in object_tx_commit()
683 backend_tx_rollback(tx); in object_tx_commit()
690 backend_tx_rollback(tx); in object_tx_commit()
696 data->txc_tx = tx; in object_tx_commit()
698 r = backend_tx_run_update(tx, in object_tx_commit()
704 backend_tx_rollback(tx); in object_tx_commit()
726 backend_tx_rollback(tx); in object_tx_commit()
734 backend_tx_rollback(tx); in object_tx_commit()
740 backend_tx_rollback(tx); in object_tx_commit()
[all …]
H A Dbackend.c2145 be = tx->bt_be; in backend_tx_end()
2163 uu_free(tx); in backend_tx_end()
2221 assert(tx != NULL && tx->bt_be != NULL && !tx->bt_readonly); in backend_tx_rollback()
2222 be = tx->bt_be; in backend_tx_rollback()
2248 assert(tx != NULL && tx->bt_be != NULL && !tx->bt_readonly); in backend_tx_commit()
2249 be = tx->bt_be; in backend_tx_commit()
2315 assert(tx != NULL && tx->bt_be != NULL && !tx->bt_readonly); in backend_new_id()
2316 be = tx->bt_be; in backend_new_id()
2355 assert(tx != NULL && tx->bt_be != NULL); in backend_tx_run()
2409 assert(tx != NULL && tx->bt_be != NULL && !tx->bt_readonly); in backend_tx_run_update()
[all …]
/illumos-gate/usr/src/cmd/ztest/
H A Dztest.c1657 dmu_tx_t *tx; in ztest_replay_create() local
1746 dmu_tx_t *tx; in ztest_replay_remove() local
1803 dmu_tx_t *tx; in ztest_replay_write() local
1925 dmu_tx_t *tx; in ztest_replay_truncate() local
1966 dmu_tx_t *tx; in ztest_replay_setattr() local
2380 dmu_tx_t *tx; in ztest_prealloc() local
4194 dmu_tx_t *tx; in ztest_dmu_read_write() local
4470 dmu_tx_t *tx; in ztest_dmu_read_write_zcopy() local
4770 dmu_tx_t *tx; in ztest_zap() local
4947 dmu_tx_t *tx; in ztest_zap_parallel() local
[all …]
/illumos-gate/usr/src/cmd/zhack/
H A Dzhack.c251 zhack_feature_enable_sync(void *arg, dmu_tx_t *tx) in zhack_feature_enable_sync() argument
253 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in zhack_feature_enable_sync()
256 feature_enable_sync(spa, feature, tx); in zhack_feature_enable_sync()
333 feature_incr_sync(void *arg, dmu_tx_t *tx) in feature_incr_sync() argument
335 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in feature_incr_sync()
340 feature_sync(spa, feature, refcount + 1, tx); in feature_incr_sync()
341 spa_history_log_internal(spa, "zhack feature incr", tx, in feature_incr_sync()
346 feature_decr_sync(void *arg, dmu_tx_t *tx) in feature_decr_sync() argument
348 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in feature_decr_sync()
353 feature_sync(spa, feature, refcount - 1, tx); in feature_decr_sync()
[all …]
/illumos-gate/usr/src/cmd/svc/common/
H A Dmanifest_hash.c243 scf_transaction_t *tx = NULL; in mhash_store_entry() local
388 tx = scf_transaction_create(hndl); in mhash_store_entry()
389 if (tx == NULL) { in mhash_store_entry()
418 scf_transaction_destroy(tx); in mhash_store_entry()
439 scf_transaction_property_change_type(tx, fe, in mhash_store_entry()
453 if (scf_transaction_property_delete(tx, ae, in mhash_store_entry()
469 if ((scf_transaction_property_new(tx, ae, in mhash_store_entry()
472 (scf_transaction_property_change_type(tx, ae, in mhash_store_entry()
490 ret = scf_transaction_commit(tx); in mhash_store_entry()
493 scf_transaction_reset(tx); in mhash_store_entry()
[all …]

12345678910