/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | vdev_indirect.c | 349 uint64_t size, dmu_tx_t *tx) in spa_vdev_indirect_mark_obsolete() argument 352 ASSERT(dmu_tx_is_syncing(tx)); in spa_vdev_indirect_mark_obsolete() 482 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in spa_condense_indirect_complete_sync() 493 ASSERT(dmu_tx_is_syncing(tx)); in spa_condense_indirect_complete_sync() 544 uint64_t txg = dmu_tx_get_txg(tx); in spa_condense_indirect_commit_sync() 545 spa_t *spa = dmu_tx_pool(tx)->dp_spa; in spa_condense_indirect_commit_sync() 547 ASSERT(dmu_tx_is_syncing(tx)); in spa_condense_indirect_commit_sync() 579 0, ZFS_SPACE_CHECK_NONE, tx); in spa_condense_indirect_commit_entry() 588 dmu_tx_commit(tx); in spa_condense_indirect_commit_entry() 762 ASSERT(dmu_tx_is_syncing(tx)); in spa_condense_indirect_start_sync() [all …]
|
H A D | ddt.c | 58 dmu_tx_t *tx) in ddt_object_create() argument 83 dmu_tx_t *tx) in ddt_object_destroy() argument 137 dmu_tx_t *tx) in ddt_object_sync() argument 183 ddt_entry_t *dde, dmu_tx_t *tx) in ddt_object_update() argument 193 ddt_entry_t *dde, dmu_tx_t *tx) in ddt_object_remove() argument 1075 ddt->ddt_checksum, dde, tx); in ddt_sync_entry() 1095 DMU_POOL_DDT_STATS, tx); in ddt_sync_table() 1099 ddt_sync_entry(ddt, dde, tx, txg); in ddt_sync_table() 1125 dmu_tx_t *tx; in ddt_sync() local 1148 ddt_sync_table(ddt, tx, txg); in ddt_sync() [all …]
|
H A D | dbuf.c | 1502 dmu_tx_t *tx) in dbuf_free_range() argument 1690 ASSERT(tx->tx_txg != 0); in dbuf_dirty() 1850 dr->dr_txg = tx->tx_txg; in dbuf_dirty() 1885 dnode_setdirty(dn, tx); in dbuf_dirty() 1972 dnode_setdirty(dn, tx); in dbuf_dirty() 2073 ASSERT(tx->tx_txg != 0); in dmu_buf_will_dirty_impl() 2131 ASSERT(tx->tx_txg != 0); in dmu_buf_will_fill() 2206 dmu_tx_t *tx) in dmu_buf_write_embedded() argument 2252 ASSERT(tx->tx_txg != 0); in dbuf_assign_arcbuf() 4021 drica.drica_tx = tx; in dbuf_remap_impl() [all …]
|
H A D | sa.c | 148 uint16_t buflen, dmu_tx_t *tx); 646 dmu_tx_t *tx) in sa_build_layouts() argument 682 used + hdrsize, tx)); in sa_build_layouts() 741 lot_count, tx, &lot); in sa_build_layouts() 1793 int attr_count, dmu_tx_t *tx) in sa_replace_all_by_template_locked() argument 1798 sa_attr_register_sync(hdl, tx); in sa_replace_all_by_template_locked() 1804 int attr_count, dmu_tx_t *tx) in sa_replace_all_by_template() argument 1810 attr_count, tx); in sa_replace_all_by_template() 1971 dmu_tx_t *tx) in sa_bulk_update_impl() argument 1988 sa->sa_update_cb(hdl, tx); in sa_bulk_update_impl() [all …]
|
H A D | dsl_prop.c | 612 dmu_tx_t *tx) in dsl_prop_set_sync_impl() argument 630 dmu_buf_will_dirty(ds->ds_dbuf, tx); in dsl_prop_set_sync_impl() 670 intsz, numints, value, tx)); in dsl_prop_set_sync_impl() 684 8, 1, &dummy, tx)); in dsl_prop_set_sync_impl() 692 intsz, numints, value, tx); in dsl_prop_set_sync_impl() 806 dsl_props_set_check(void *arg, dmu_tx_t *tx) in dsl_props_set_check() argument 809 dsl_pool_t *dp = dmu_tx_pool(tx); in dsl_props_set_check() 846 nvlist_t *props, dmu_tx_t *tx) in dsl_props_set_sync_impl() argument 876 source, 0, 0, NULL, tx); in dsl_props_set_sync_impl() 884 dsl_props_set_sync(void *arg, dmu_tx_t *tx) in dsl_props_set_sync() argument [all …]
|
H A D | zcp_change_key.c | 128 zcp_synctask_change_key_check(void *arg, dmu_tx_t *tx) in zcp_synctask_change_key_check() argument 137 return (spa_keystore_change_key_check(arg, tx)); in zcp_synctask_change_key_check() 141 zcp_synctask_change_key_sync(void *arg, dmu_tx_t *tx) in zcp_synctask_change_key_sync() argument 143 spa_keystore_change_key_sync(arg, tx); in zcp_synctask_change_key_sync()
|
H A D | vdev_trim.c | 202 uint64_t txg = dmu_tx_get_txg(tx); in vdev_trim_zap_update_sync() 231 1, &val, tx)); in vdev_trim_zap_update_sync() 256 sizeof (secure), 1, &secure, tx)); in vdev_trim_zap_update_sync() 320 VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); in vdev_trim_change_state() 322 guid, 2, ZFS_SPACE_CHECK_NONE, tx); in vdev_trim_change_state() 350 dmu_tx_commit(tx); in vdev_trim_change_state() 479 VERIFY0(dmu_tx_assign(tx, TXG_WAIT)); in vdev_trim_range() 480 uint64_t txg = dmu_tx_get_txg(tx); in vdev_trim_range() 493 ZFS_SPACE_CHECK_RESERVED, tx); in vdev_trim_range() 509 dmu_tx_commit(tx); in vdev_trim_range() [all …]
|
H A D | spa_log_spacemap.c | 719 spa_flush_metaslabs(spa_t *spa, dmu_tx_t *tx) in spa_flush_metaslabs() argument 721 uint64_t txg = dmu_tx_get_txg(tx); in spa_flush_metaslabs() 766 spa_generate_syncing_log_sm(spa, tx); in spa_flush_metaslabs() 817 boolean_t flushed = metaslab_flush(curr, tx); in spa_flush_metaslabs() 886 spa_cleanup_old_sm_logs(spa_t *spa, dmu_tx_t *tx) in spa_cleanup_old_sm_logs() argument 908 space_map_free_obj(mos, sls->sls_sm_obj, tx); in spa_cleanup_old_sm_logs() 926 spa_generate_syncing_log_sm(spa_t *spa, dmu_tx_t *tx) in spa_generate_syncing_log_sm() argument 928 uint64_t txg = dmu_tx_get_txg(tx); in spa_generate_syncing_log_sm() 945 DMU_OTN_ZAP_METADATA, DMU_OT_NONE, 0, tx); in spa_generate_syncing_log_sm() 948 &spacemap_zap, tx)); in spa_generate_syncing_log_sm() [all …]
|
/illumos-gate/usr/src/uts/common/fs/zfs/sys/ |
H A D | space_map.h | 207 dmu_tx_t *tx); 212 dmu_tx_t *tx); 221 uint64_t vdev_id, dmu_tx_t *tx); 224 void space_map_truncate(space_map_t *sm, int blocksize, dmu_tx_t *tx); 225 uint64_t space_map_alloc(objset_t *os, int blocksize, dmu_tx_t *tx); 226 void space_map_free(space_map_t *sm, dmu_tx_t *tx); 227 void space_map_free_obj(objset_t *os, uint64_t smobj, dmu_tx_t *tx);
|
H A D | zap_impl.h | 202 int zap_lockdir(objset_t *os, uint64_t obj, dmu_tx_t *tx, 221 const void *val, void *tag, dmu_tx_t *tx); 224 void *tag, dmu_tx_t *tx); 227 int fzap_remove(zap_name_t *zn, dmu_tx_t *tx); 234 const void *val, uint32_t cd, void *tag, dmu_tx_t *tx); 235 void fzap_upgrade(zap_t *zap, dmu_tx_t *tx, zap_flags_t flags);
|
H A D | dsl_prop.h | 93 int dsl_props_set_check(void *arg, dmu_tx_t *tx); 94 void dsl_props_set_sync(void *arg, dmu_tx_t *tx); 96 nvlist_t *props, dmu_tx_t *tx); 99 dmu_tx_t *tx);
|
H A D | vdev_indirect_births.h | 60 extern uint64_t vdev_indirect_births_alloc(objset_t *os, dmu_tx_t *tx); 62 dmu_tx_t *tx); 68 uint64_t offset, uint64_t txg, dmu_tx_t *tx);
|
H A D | dmu_objset.h | 232 void dmu_objset_sync(objset_t *os, zio_t *zio, dmu_tx_t *tx); 236 dmu_tx_t *tx); 238 blkptr_t *bp, dmu_objset_type_t type, dmu_tx_t *tx); 242 void dmu_objset_do_userquota_updates(objset_t *os, dmu_tx_t *tx); 243 void dmu_objset_userquota_get_ids(dnode_t *dn, boolean_t before, dmu_tx_t *tx); 259 void dmu_objset_willuse_space(objset_t *os, int64_t space, dmu_tx_t *tx);
|
/illumos-gate/usr/src/lib/libscf/common/ |
H A D | midlevel.c | 524 scf_transaction_t *tx = NULL; in set_inst_enabled() local 660 scf_transaction_reset(tx); in set_inst_enabled() 675 scf_transaction_destroy(tx); in set_inst_enabled() 725 scf_transaction_reset(tx); in delete_inst_enabled() 745 scf_transaction_destroy(tx); in delete_inst_enabled() 939 scf_transaction_reset(tx); in set_inst_action_inst() 961 scf_transaction_destroy(tx); in set_inst_action_inst() 1465 return (tx); in scf_transaction_setup() 1471 scf_transaction_reset(tx); in scf_transaction_restart() 2843 tx == NULL) in scf_write_propvec() [all …]
|
/illumos-gate/usr/src/uts/common/io/vr/ |
H A D | vr.c | 1035 vrp->tx.wp = &vrp->tx.ring[0]; in vr_txring_init() 1036 vrp->tx.cp = &vrp->tx.ring[0]; in vr_txring_init() 1042 vrp->tx.resched = 0; in vr_txring_init() 1047 vrp->tx.nfree = vrp->tx.ndesc; in vr_txring_init() 1262 vrp->tx.resched = 0; in vr_intr() 1496 vrp->tx.resched = 1; in vr_mac_tx_enqueue_list() 1503 vrp->tx.nfree--; in vr_mac_tx_enqueue_list() 1537 wp = vrp->tx.wp; in vr_tx_enqueue_msg() 1604 vrp->tx.wp = wp->next; in vr_tx_enqueue_msg() 1619 dirty = vrp->tx.ndesc - vrp->tx.nfree; in vr_tx_reclaim() [all …]
|
/illumos-gate/usr/src/cmd/sa/ |
H A D | sar.c | 341 struct sa tx; in prpass() local 360 nx.valid = tx.valid; in prpass() 361 nx.ts = tx.ts; in prpass() 363 sizeof (tx.csi) / sizeof (uint_t)); in prpass() 367 sizeof (tx.si) / sizeof (uint_t)); in prpass() 368 (void) memcpy(&nx.vmi, &tx.vmi, in prpass() 369 sizeof (tx) - (((char *)&tx.vmi) - ((char *)&tx))); in prpass() 451 tx.valid = nx.valid; in prpass() 452 tx.ts = nx.ts; in prpass() 459 (void) memcpy(&tx.vmi, &nx.vmi, in prpass() [all …]
|
/illumos-gate/usr/src/lib/libcurses/screen/ |
H A D | mvcur.c | 320 int nt, tx, x, stcost, iscont; in _mvright() local 331 tx = (nt > 0) ? (cx / TABSIZE + nt) * TABSIZE : cx; in _mvright() 336 for (x = tx; x < nx; ++x) { in _mvright() 368 for (x = tx; x < nx; ++x) { in _mvright() 394 int tx, nt, x, stcost; in _mvleft() local 401 tx = cx; in _mvleft() 411 tx = x; in _mvleft() 414 stcost = nt * _COST(Back_tab) + (tx-nx) * _COST(Cursor_left); in _mvleft() 429 for (; tx > nx; --tx) in _mvleft()
|
/illumos-gate/usr/src/lib/libm/common/C/ |
H A D | __rem_pio2.c | 66 double tx[3]; in __rem_pio2() local 149 tx[2] = (double)i; in __rem_pio2() 151 tx[1] = (double)j; in __rem_pio2() 152 tx[0] = (double)((((ix & 0xfffff) | 0x100000) << 3) | in __rem_pio2() 161 n = __rem_pio2m(tx, y, e0, nx, 2, _TBL_ipio2_inf); in __rem_pio2()
|
/illumos-gate/usr/src/uts/common/io/arn/ |
H A D | arn_hw.h | 57 } tx; member 76 #define ds_ctl2 u.tx.ctl2 77 #define ds_ctl3 u.tx.ctl3 78 #define ds_ctl4 u.tx.ctl4 79 #define ds_ctl5 u.tx.ctl5 80 #define ds_ctl6 u.tx.ctl6 81 #define ds_ctl7 u.tx.ctl7 82 #define ds_ctl8 u.tx.ctl8 83 #define ds_ctl9 u.tx.ctl9 84 #define ds_ctl10 u.tx.ctl10 [all …]
|
/illumos-gate/usr/src/cmd/svc/svcadm/ |
H A D | svcadm.c | 328 scf_transaction_t *tx; in set_bool_prop() local 372 scf_transaction_reset(tx); in set_bool_prop() 394 scf_transaction_destroy(tx); in set_bool_prop() 625 scf_transaction_t *tx; in set_enabled_props() local 688 scf_transaction_reset(tx); in set_enabled_props() 710 scf_transaction_destroy(tx); in set_enabled_props() 1462 scf_transaction_t *tx; in set_inst_action() local 1582 scf_transaction_reset(tx); in set_inst_action() 1586 scf_transaction_reset(tx); in set_inst_action() 1600 scf_transaction_destroy(tx); in set_inst_action() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | fss.h | 152 #define FSSPROC(tx) ((fssproc_t *)(tx->t_cldata)) argument 155 #define FSSPROJ(tx) (FSSPROC(tx)->fss_proj) argument
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetadm/ |
H A D | inetadm.c | 189 scf_transaction_t *tx; in modify_prop() local 239 if ((tx = scf_transaction_create(h)) == NULL || in modify_prop() 246 if (scf_transaction_start(tx, gpg) == -1) { in modify_prop() 285 ret = scf_transaction_commit(tx); in modify_prop() 293 scf_transaction_reset(tx); in modify_prop() 307 scf_transaction_destroy(tx); in modify_prop() 320 scf_transaction_t *tx; in delete_prop() local 347 if (scf_transaction_property_delete(tx, ent, in delete_prop() 357 ret = scf_transaction_commit(tx); in delete_prop() 365 scf_transaction_reset(tx); in delete_prop() [all …]
|
/illumos-gate/usr/src/lib/libsqlite/test/ |
H A D | attach.test | 210 CREATE TABLE tx(x1,x2,y1,y2); 214 SELECT * FROM tx; 220 SELECT * FROM tx; 226 SELECT * FROM tx; 237 SELECT * FROM db2.tx; 242 SELECT * FROM main.tx; 249 } {table t2 t2 table tx tx trigger r1 t2} 263 } {table t2 t2 table tx tx trigger r1 t2 index i2 t2} 281 } {table t1 t1 table tx tx} 286 } {table t2 t2 table tx tx trigger r1 t2 index i2 t2} [all …]
|
/illumos-gate/usr/src/cmd/svc/lsvcrun/ |
H A D | lsvcrun.c | 665 r = scf_transaction_property_new(tx, e, name, ty); in add_new_property() 708 scf_transaction_t *tx; in set_legacy_service() local 728 tx = scf_transaction_create(h); in set_legacy_service() 729 if (tx == NULL) { in set_legacy_service() 734 if (scf_transaction_start(tx, pg) != 0) { in set_legacy_service() 745 if (add_new_property(h, tx, SCF_LEGACY_PROPERTY_NAME, SCF_TYPE_ASTRING, in set_legacy_service() 749 if (add_new_property(h, tx, SCF_PROPERTY_STATE_TIMESTAMP, in set_legacy_service() 753 if (add_new_property(h, tx, SCF_LEGACY_PROPERTY_INODE, in set_legacy_service() 758 if (add_new_property(h, tx, SCF_LEGACY_PROPERTY_SUFFIX, in set_legacy_service() 765 if (add_new_property(h, tx, SCF_PROPERTY_CONTRACT, SCF_TYPE_COUNT, in set_legacy_service() [all …]
|
/illumos-gate/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_main.c | 469 dmfep->tx.n_free = dmfep->tx.n_desc; in dmfe_init_rings() 470 dmfep->tx.next_free = dmfep->tx.next_busy = 0; in dmfe_init_rings() 950 i = dmfep->tx.next_busy; in dmfe_reclaim_tx_desc() 951 if (i == dmfep->tx.next_free) in dmfe_reclaim_tx_desc() 976 dmfep->tx.n_free += 1; in dmfe_reclaim_tx_desc() 985 dmfep->tx.next_busy = i; in dmfe_reclaim_tx_desc() 1051 index = dmfep->tx.next_free; in dmfe_send_msg() 1052 dmfep->tx.next_free = NEXT(index, dmfep->tx.n_desc); in dmfe_send_msg() 1053 ASSERT(dmfep->tx.next_free != dmfep->tx.next_busy); in dmfe_send_msg() 1054 if (dmfep->tx.n_free-- == dmfep->tx.n_desc) in dmfe_send_msg() [all …]
|