Searched refs:tx (Results 76 - 100 of 198) sorted by relevance

12345678

/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Ddmu_objset.h172 void dmu_objset_sync(objset_t *os, zio_t *zio, dmu_tx_t *tx);
175 blkptr_t *bp, dmu_objset_type_t type, dmu_tx_t *tx);
179 void dmu_objset_do_userquota_updates(objset_t *os, dmu_tx_t *tx);
180 void dmu_objset_userquota_get_ids(dnode_t *dn, boolean_t before, dmu_tx_t *tx);
H A Dzvol.h42 extern void zvol_create_cb(objset_t *os, void *arg, cred_t *cr, dmu_tx_t *tx);
67 extern void zvol_log_write_minor(void *minor_hdl, dmu_tx_t *tx, offset_t off,
H A Dzil.h399 extern boolean_t zil_replaying(zilog_t *zilog, dmu_tx_t *tx);
401 extern void zil_destroy_sync(zilog_t *zilog, dmu_tx_t *tx);
402 extern void zil_rollback_destroy(zilog_t *zilog, dmu_tx_t *tx);
406 extern void zil_itx_assign(zilog_t *zilog, itx_t *itx, dmu_tx_t *tx);
414 struct dsl_dataset *ds, void *tx);
415 extern void zil_sync(zilog_t *zilog, dmu_tx_t *tx);
H A Dzap_impl.h199 int zap_lockdir(objset_t *os, uint64_t obj, dmu_tx_t *tx,
220 const void *val, void *tag, dmu_tx_t *tx);
223 void *tag, dmu_tx_t *tx);
226 int fzap_remove(zap_name_t *zn, dmu_tx_t *tx);
233 const void *val, uint32_t cd, void *tag, dmu_tx_t *tx);
234 void fzap_upgrade(zap_t *zap, dmu_tx_t *tx, zap_flags_t flags);
H A Dddt.h153 int (*ddt_op_create)(objset_t *os, uint64_t *object, dmu_tx_t *tx,
155 int (*ddt_op_destroy)(objset_t *os, uint64_t object, dmu_tx_t *tx);
160 dmu_tx_t *tx);
162 dmu_tx_t *tx);
237 enum ddt_class class, ddt_entry_t *dde, dmu_tx_t *tx);
H A Ddsl_prop.h87 nvlist_t *props, dmu_tx_t *tx);
90 dmu_tx_t *tx);
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddmu_send.c1333 dmu_recv_begin_check(void *arg, dmu_tx_t *tx) argument
1336 dsl_pool_t *dp = dmu_tx_pool(tx);
1473 dmu_recv_begin_sync(void *arg, dmu_tx_t *tx) argument
1476 dsl_pool_t *dp = dmu_tx_pool(tx);
1497 snap, crflags, drba->drba_cred, tx);
1516 origin, crflags, drba->drba_cred, tx);
1525 dsl_dataset_zapify(newds, tx);
1528 8, 1, &drrb->drr_fromguid, tx));
1531 8, 1, &drrb->drr_toguid, tx));
1533 1, strlen(drrb->drr_toname) + 1, drrb->drr_toname, tx));
1579 dmu_recv_resume_begin_check(void *arg, dmu_tx_t *tx) argument
1683 dmu_recv_resume_begin_sync(void *arg, dmu_tx_t *tx) argument
2010 save_resume_state(struct receive_writer_arg *rwa, uint64_t object, uint64_t offset, dmu_tx_t *tx) argument
2051 dmu_tx_t *tx; local
2178 dmu_tx_t *tx; local
2246 dmu_tx_t *tx; local
2301 dmu_tx_t *tx; local
2340 dmu_tx_t *tx; local
3038 dmu_recv_end_check(void *arg, dmu_tx_t *tx) argument
3106 dmu_recv_end_sync(void *arg, dmu_tx_t *tx) argument
[all...]
H A Ddsl_prop.c612 dmu_tx_t *tx)
630 dmu_buf_will_dirty(ds->ds_dbuf, tx);
633 DMU_OT_DSL_PROPS, DMU_OT_NONE, 0, tx);
657 err = zap_remove(mos, zapobj, propname, tx);
659 err = zap_remove(mos, zapobj, inheritstr, tx);
667 err = zap_remove(mos, zapobj, inheritstr, tx);
670 intsz, numints, value, tx));
678 err = zap_remove(mos, zapobj, propname, tx);
684 8, 1, &dummy, tx));
692 intsz, numints, value, tx);
610 dsl_prop_set_sync_impl(dsl_dataset_t *ds, const char *propname, zprop_source_t source, int intsz, int numints, const void *value, dmu_tx_t *tx) argument
812 dsl_props_set_check(void *arg, dmu_tx_t *tx) argument
851 dsl_props_set_sync_impl(dsl_dataset_t *ds, zprop_source_t source, nvlist_t *props, dmu_tx_t *tx) argument
886 dsl_props_set_sync(void *arg, dmu_tx_t *tx) argument
[all...]
H A Dddt.c57 dmu_tx_t *tx)
69 VERIFY(ddt_ops[type]->ddt_op_create(os, objectp, tx, prehash) == 0);
73 sizeof (uint64_t), 1, objectp, tx) == 0);
77 &ddt->ddt_histogram[type][class], tx) == 0);
82 dmu_tx_t *tx)
94 VERIFY(zap_remove(os, DMU_POOL_DIRECTORY_OBJECT, name, tx) == 0);
95 VERIFY(zap_remove(os, spa->spa_ddt_stat_object, name, tx) == 0);
96 VERIFY(ddt_ops[type]->ddt_op_destroy(os, *objectp, tx) == 0);
136 dmu_tx_t *tx)
146 &ddt->ddt_histogram[type][class], tx)
56 ddt_object_create(ddt_t *ddt, enum ddt_type type, enum ddt_class class, dmu_tx_t *tx) argument
81 ddt_object_destroy(ddt_t *ddt, enum ddt_type type, enum ddt_class class, dmu_tx_t *tx) argument
135 ddt_object_sync(ddt_t *ddt, enum ddt_type type, enum ddt_class class, dmu_tx_t *tx) argument
181 ddt_object_update(ddt_t *ddt, enum ddt_type type, enum ddt_class class, ddt_entry_t *dde, dmu_tx_t *tx) argument
191 ddt_object_remove(ddt_t *ddt, enum ddt_type type, enum ddt_class class, ddt_entry_t *dde, dmu_tx_t *tx) argument
990 ddt_sync_entry(ddt_t *ddt, ddt_entry_t *dde, dmu_tx_t *tx, uint64_t txg) argument
1057 ddt_sync_table(ddt_t *ddt, dmu_tx_t *tx, uint64_t txg) argument
1100 dmu_tx_t *tx; local
[all...]
H A Ddbuf.c52 static boolean_t dbuf_undirty(dmu_buf_impl_t *db, dmu_tx_t *tx);
53 static void dbuf_write(dbuf_dirty_record_t *dr, arc_buf_t *data, dmu_tx_t *tx);
1255 dmu_tx_t *tx)
1259 uint64_t txg = tx->tx_txg;
1288 if (dbuf_undirty(db, tx)) {
1385 dbuf_new_size(dmu_buf_impl_t *db, int size, dmu_tx_t *tx) argument
1410 dmu_buf_will_dirty(&db->db, tx);
1428 ASSERT3U(db->db_last_dirty->dr_txg, ==, tx->tx_txg);
1433 dnode_willuse_space(dn, size-osize, tx);
1477 dbuf_dirty(dmu_buf_impl_t *db, dmu_tx_t *tx) argument
1254 dbuf_free_range(dnode_t *dn, uint64_t start_blkid, uint64_t end_blkid, dmu_tx_t *tx) argument
1784 dbuf_undirty(dmu_buf_impl_t *db, dmu_tx_t *tx) argument
1871 dmu_buf_will_dirty(dmu_buf_t *db_fake, dmu_tx_t *tx) argument
1912 dmu_buf_will_not_fill(dmu_buf_t *db_fake, dmu_tx_t *tx) argument
1922 dmu_buf_will_fill(dmu_buf_t *db_fake, dmu_tx_t *tx) argument
1941 dbuf_fill_done(dmu_buf_impl_t *db, dmu_tx_t *tx) argument
1961 dmu_buf_write_embedded(dmu_buf_t *dbuf, void *data, bp_embedded_type_t etype, enum zio_compress comp, int uncompressed_size, int compressed_size, int byteorder, dmu_tx_t *tx) argument
2002 dbuf_assign_arcbuf(dmu_buf_impl_t *db, arc_buf_t *buf, dmu_tx_t *tx) argument
2659 dbuf_spill_set_blksz(dmu_buf_t *db_fake, uint64_t blksz, dmu_tx_t *tx) argument
2682 dbuf_rm_spill(dnode_t *dn, dmu_tx_t *tx) argument
3000 dbuf_sync_indirect(dbuf_dirty_record_t *dr, dmu_tx_t *tx) argument
3046 dbuf_sync_leaf(dbuf_dirty_record_t *dr, dmu_tx_t *tx) argument
3190 dbuf_sync_list(list_t *list, int level, dmu_tx_t *tx) argument
3387 dmu_tx_t *tx = os->os_synctx; local
3506 dbuf_write(dbuf_dirty_record_t *dr, arc_buf_t *data, dmu_tx_t *tx) argument
[all...]
H A Dzfs_fuid.c226 zfs_fuid_sync(zfsvfs_t *zfsvfs, dmu_tx_t *tx) argument
249 sizeof (uint64_t), tx);
252 &zfsvfs->z_fuid_obj, tx) == 0);
280 zfsvfs->z_fuid_size, packed, tx);
284 dmu_buf_will_dirty(db, tx);
746 zfs_fuid_txhold(zfsvfs_t *zfsvfs, dmu_tx_t *tx) argument
749 dmu_tx_hold_bonus(tx, DMU_NEW_OBJECT);
750 dmu_tx_hold_write(tx, DMU_NEW_OBJECT, 0,
752 dmu_tx_hold_zap(tx, MASTER_NODE_OBJ, FALSE, NULL);
754 dmu_tx_hold_bonus(tx, zfsvf
[all...]
/illumos-gate/usr/src/cmd/svc/common/
H A Dmanifest_hash.c242 scf_transaction_t *tx = NULL; local
377 tx = scf_transaction_create(hndl);
378 if (tx == NULL) {
393 if (scf_transaction_start(tx, pg) != SCF_SUCCESS) {
407 scf_transaction_destroy(tx);
412 if (scf_transaction_property_new(tx, e, MHASH_PROP,
414 scf_transaction_property_change_type(tx, e, MHASH_PROP,
426 if (scf_transaction_property_new(tx, fe, MHASH_FILE_PROP,
428 scf_transaction_property_change_type(tx, fe,
442 if (scf_transaction_property_delete(tx, a
[all...]
/illumos-gate/usr/src/uts/common/io/vr/
H A Dvr.c356 mutex_init(&vrp->tx.lock, NULL, MUTEX_DRIVER, NULL);
395 mutex_destroy(&vrp->tx.lock);
433 mutex_destroy(&vrp->tx.lock);
788 vrp->tx.ndesc = VR_TX_N_DESC;
799 if (vr_alloc_ring(vrp, &vrp->txring, vrp->tx.ndesc) != VR_SUCCESS) {
805 vrp->tx.ring = vrp->txring.desc;
813 vr_free_ring(&vrp->txring, vrp->tx.ndesc);
1031 vrp->tx.wp = &vrp->tx.ring[0];
1032 vrp->tx
[all...]
/illumos-gate/usr/src/cmd/sa/
H A Dsar.c341 struct sa tx; local
351 while (safe_read(fin, &tx, sizeof (struct sa))) {
353 * First, we convert 32-bit tx to 64-bit nx structure
358 * tx any further.
360 nx.valid = tx.valid;
361 nx.ts = tx.ts;
362 convert_32to64((uint64_t *)&nx.csi, (uint_t *)&tx.csi,
363 sizeof (tx.csi) / sizeof (uint_t));
364 convert_32to64((uint64_t *)&nx.cvmi, (uint_t *)&tx.cvmi,
365 sizeof (tx
[all...]
/illumos-gate/usr/src/uts/common/io/arn/
H A Darn_hw.h57 } tx; member in union:ar5416_desc::__anon262
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
[all...]
/illumos-gate/usr/src/lib/libscf/common/
H A Dmidlevel.c427 * Sets up e in tx to set pname's values. Returns 0 on success or -1 on
429 * SCF_ERROR_HANDLE_MISMATCH - tx & e are derived from different handles
433 * SCF_ERROR_NOT_SET - tx has not been started
434 * SCF_ERROR_DELETED - the pg tx was started on was deleted
437 transaction_property_set(scf_transaction_t *tx, scf_transaction_entry_t *e, argument
441 if (scf_transaction_property_change_type(tx, e, pname, ty) == 0)
458 if (scf_transaction_property_new(tx, e, pname, ty) == 0)
519 scf_transaction_t *tx = NULL; local
535 (tx = scf_transaction_create(h)) == NULL ||
600 if (scf_transaction_start(tx, gp
651 scf_transaction_t *tx = NULL; local
715 scf_transaction_t *tx = NULL; local
1389 scf_transaction_t *tx = NULL; local
1409 scf_transaction_restart(scf_simple_handle_t *simple_h, scf_transaction_t *tx) argument
2765 scf_transaction_t *tx = scf_transaction_create(h); local
2924 scf_transaction_t *tx; local
[all...]
/illumos-gate/usr/src/cmd/svc/lsvcrun/
H A Dlsvcrun.c646 add_new_property(scf_handle_t *h, scf_transaction_t *tx, const char *name, argument
665 r = scf_transaction_property_new(tx, e, name, ty);
708 scf_transaction_t *tx; local
728 tx = scf_transaction_create(h);
729 if (tx == NULL) {
734 if (scf_transaction_start(tx, pg) != 0) {
745 if (add_new_property(h, tx, SCF_LEGACY_PROPERTY_NAME, SCF_TYPE_ASTRING,
749 if (add_new_property(h, tx, SCF_PROPERTY_STATE_TIMESTAMP,
753 if (add_new_property(h, tx, SCF_LEGACY_PROPERTY_INODE,
758 if (add_new_property(h, tx, SCF_LEGACY_PROPERTY_SUFFI
[all...]
/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A D_Qfpack.c387 single_type tx; local
388 packsingle(pu, &tx);
390 unpacksingle(pu, tx);
395 double_type tx; local
397 packdouble(pu, &tx, &ty);
399 unpackdouble(pu, tx, ty);
/illumos-gate/usr/src/lib/libsqlite/src/
H A Ddate.c579 DateTime tx; local
582 memset(&tx, 0, sizeof(tx));
583 if( parseHhMmSs(z2, &tx) ) break;
584 computeJD(&tx);
585 tx.rJD -= 0.5;
586 day = (int)tx.rJD;
587 tx.rJD -= day;
588 if( z[0]=='-' ) tx.rJD = -tx
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/l4/
H A Dlm_l4tx.c33 volatile struct toe_tx_db_data *db_data = tx_con->db_data.tx;
46 "ringing tx doorbell: cid=%d, (nbytes+=%d, nbds+=%d, fin=%d)\n",
112 /* check if tx con is already closed */
114 DbgMessage(pdev, WARNl4tx, "post tx buf failed, posting is blocked (cid=%d, con->flags=%x)\n",
121 DbgMessage(pdev, INFORMl4tx, "post tx buf failed, tx chain is full (cid=%d, avail bds=%d, buf nfrags=%d)\n",
137 dbg_bytes_prod_seq = tx_con->db_data.tx->bytes_prod_seq + tx_con->db_more_bytes;
153 if ((u32_t)frag_list->size >= tx_con->u.tx.mss) {
179 if (tcp_buf->size >= tx_con->u.tx.mss) {
191 tx_con->u.tx
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_send.c131 packet->u1.tx.hdr_nbds = hdr_nbds;
190 start_bd->general_data |= ((packet->u1.tx.hdr_nbds & ETH_TX_START_BD_HDR_NBDS) << ETH_TX_START_BD_HDR_NBDS_SHIFT);
417 wnd_size = MAX_FETCH_BD - lmpkt->u1.tx.hdr_nbds - num_parsing_bds - 1;
429 for (wnd_idx = lmpkt->u1.tx.hdr_nbds; wnd_idx <= (num_frags - wnd_size); wnd_idx++)
658 if (ERR_IF(packet->u1.tx.coalesce_buf != NULL))
672 packet->u1.tx.coalesce_buf = coalesce_buf; /* saved to be freed upon completion */
674 packet->u1.tx.hdr_nbds = 1;
691 if (packet->u1.tx.coalesce_buf)
694 lm_put_coalesce_buffer(pdev, tx_chain, packet->u1.tx.coalesce_buf);
695 packet->u1.tx
[all...]
/illumos-gate/usr/src/uts/common/io/dmfe/
H A Ddmfe_main.c454 for (i = 0; i < dmfep->tx.n_desc; ++i) {
469 dmfep->tx.n_free = dmfep->tx.n_desc;
470 dmfep->tx.next_free = dmfep->tx.next_busy = 0;
789 * There are <tx.n_desc> entries in the ring, of which those from
790 * <tx.next_free> round to but not including <tx.next_busy> must
792 * <tx.n_free>; but there may also be some more entries which the
801 * tx
[all...]
/illumos-gate/usr/src/lib/libast/common/string/
H A Dbase64.c168 register unsigned char* tx; local
191 tx = te - tz;
196 te = tx = tp;
211 if (tp >= tx)
/illumos-gate/usr/src/cmd/acctadm/
H A Daconf.c323 scf_transaction_t *tx; local
333 (tx = scf_transaction_create(handle)) == NULL)
338 scf_transaction_start(tx, pg) == -1)
342 if (scf_transaction_property_change(tx, p->entry,
347 tx_result = scf_transaction_commit(tx);
348 scf_transaction_reset(tx);
362 scf_transaction_destroy(tx);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/inetadm/
H A Dinetadm.c191 scf_transaction_t *tx; local
241 if ((tx = scf_transaction_create(h)) == NULL ||
248 if (scf_transaction_start(tx, gpg) == -1) {
257 ret = scf_transaction_property_new(tx, ent, prop, type);
259 ret = scf_transaction_property_change_type(tx, ent,
287 ret = scf_transaction_commit(tx);
295 scf_transaction_reset(tx);
309 scf_transaction_destroy(tx);
322 scf_transaction_t *tx; local
330 (tx
[all...]

Completed in 144 milliseconds

12345678