Searched refs:tx (Results 101 - 125 of 198) sorted by relevance

12345678

/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dzfs_vfsops.c761 dmu_tx_t *tx; local
779 tx = dmu_tx_create(zfsvfs->z_os);
780 dmu_tx_hold_zap(tx, *objp ? *objp : DMU_NEW_OBJECT, B_TRUE, NULL);
782 dmu_tx_hold_zap(tx, MASTER_NODE_OBJ, B_TRUE,
786 zfs_fuid_txhold(zfsvfs, tx);
787 err = dmu_tx_assign(tx, TXG_WAIT);
789 dmu_tx_abort(tx);
796 DMU_OT_NONE, 0, tx);
798 zfs_userquota_prop_prefixes[type], 8, 1, objp, tx));
803 err = zap_remove(zfsvfs->z_os, *objp, buf, tx);
2172 dmu_tx_t *tx; local
2221 spa_history_log_internal_ds(dmu_objset_ds(os), "upgrade", tx, local
[all...]
H A Dspa.c145 static void spa_sync_version(void *arg, dmu_tx_t *tx);
146 static void spa_sync_props(void *arg, dmu_tx_t *tx);
710 spa_prop_clear_bootfs(spa_t *spa, uint64_t dsobj, dmu_tx_t *tx) argument
715 zpool_prop_to_name(ZPOOL_PROP_BOOTFS), tx) == 0);
722 spa_change_guid_check(void *arg, dmu_tx_t *tx) argument
725 spa_t *spa = dmu_tx_pool(tx)->dp_spa;
742 spa_change_guid_sync(void *arg, dmu_tx_t *tx) argument
745 spa_t *spa = dmu_tx_pool(tx)->dp_spa;
757 spa_history_log_internal(spa, "guid change", tx, "old=%llu new=%llu",
2841 dmu_tx_t *tx; local
3597 dmu_tx_t *tx; local
5034 dmu_tx_t *tx; local
5999 bpobj_enqueue_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) argument
6007 spa_free_sync_cb(void *arg, const blkptr_t *bp, dmu_tx_t *tx) argument
6021 spa_sync_frees(spa_t *spa, bplist_t *bpl, dmu_tx_t *tx) argument
6033 spa_sync_deferred_frees(spa_t *spa, dmu_tx_t *tx) argument
6043 spa_sync_nvlist(spa_t *spa, uint64_t obj, nvlist_t *nv, dmu_tx_t *tx) argument
6075 spa_sync_aux_dev(spa_t *spa, spa_aux_vdev_t *sav, dmu_tx_t *tx, const char *config, const char *entry) argument
6125 spa_avz_build(vdev_t *vd, uint64_t avz, dmu_tx_t *tx) argument
6142 spa_sync_config_object(spa_t *spa, dmu_tx_t *tx) argument
6252 spa_sync_version(void *arg, dmu_tx_t *tx) argument
6275 spa_sync_props(void *arg, dmu_tx_t *tx) argument
6424 spa_sync_upgrades(spa_t *spa, dmu_tx_t *tx) argument
6502 dmu_tx_t *tx; local
[all...]
H A Dzfs_acl.c1181 zfs_aclset_common(znode_t *zp, zfs_acl_t *aclp, cred_t *cr, dmu_tx_t *tx) argument
1254 error = dmu_object_free(zfsvfs->z_os, aoid, tx);
1265 DN_MAX_BONUSLEN : 0, tx);
1268 aoid, aclp->z_acl_bytes, 0, tx);
1276 aclnode->z_size, aclnode->z_acldata, tx);
1286 acl_phys.z_acl_extern_obj, tx);
1329 return (sa_bulk_update(zp->z_sa_hdl, bulk, count, tx));
1926 dmu_tx_t *tx; local
1959 tx = dmu_tx_create(zfsvfs->z_os);
1961 dmu_tx_hold_sa(tx, z
[all...]
H A Dzfs_replay.c707 dmu_tx_t *tx = dmu_tx_create(zfsvfs->z_os); local
710 dmu_tx_hold_sa(tx, zp->z_sa_hdl, B_FALSE);
711 error = dmu_tx_assign(tx, TXG_WAIT);
715 dmu_tx_wait(tx);
716 dmu_tx_abort(tx);
719 dmu_tx_abort(tx);
723 (void *)&zp->z_size, sizeof (uint64_t), tx);
726 (void) zil_replaying(zfsvfs->z_log, tx);
728 dmu_tx_commit(tx);
/illumos-gate/usr/src/cmd/svc/svcadm/
H A Dsvcadm.c321 scf_transaction_t *tx; local
325 if ((tx = scf_transaction_create(h)) == NULL ||
333 if (scf_transaction_start(tx, pg) == -1) {
348 if (scf_transaction_property_change_type(tx, ent, propname,
353 if (scf_transaction_property_new(tx, ent, propname,
361 r = scf_transaction_commit(tx);
365 scf_transaction_reset(tx);
387 scf_transaction_destroy(tx);
1330 scf_transaction_t *tx; local
1344 (tx
1568 scf_transaction_t *tx; local
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dsig.c853 kthread_t *tx; local
968 for (tx = t->t_forw; tx != t; tx = tx->t_forw) {
970 thread_lock(tx);
971 if (ISTOPPED(tx) ||
972 (tx->t_proc_flag & TP_PRSTOP)) {
973 thread_unlock(tx);
976 tx
[all...]
/illumos-gate/usr/src/uts/common/disp/
H A Dpriocntl.c764 kthread_t *tx; local
786 ty = tx = pp->p_tlist;
788 if (tx->t_cid == *argp->pcmp_cidp) {
793 if ((tx_pri = CL_GLOBPRI(tx)) > last_pri) {
795 ty = tx;
798 } while ((tx = tx->t_forw) != pp->p_tlist);
807 tx = *argp->pcmp_retthreadp;
808 if (CL_GLOBPRI(ty) <= CL_GLOBPRI(tx)) {
811 mutex_exit(&(ttoproc(tx)
829 kthread_t *tx; local
[all...]
/illumos-gate/usr/src/uts/sparc/fpu/
H A Dpack.c519 single_type tx; local
521 packsingle(pfpsd, pu, &tx);
523 unpacksingle(pfpsd, pu, tx);
528 double_type tx; local
531 packdouble(pfpsd, pu, &tx, &ty);
533 unpackdouble(pfpsd, pu, tx, ty);
/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-mgmt.h175 xge_hal_setpause_data(xge_hal_device_h devh, int tx, int rx);
178 xge_hal_getpause_data(xge_hal_device_h devh, int *tx, int *rx);
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprcontrol.c1250 kthread_t *tx = NULL; local
1255 tx = t; /* remember the exiting lwp */
1275 if (tx != NULL) {
1276 thread_lock(tx);
1277 tx->t_schedflag |= TS_PSTART;
1279 setrun_locked(tx);
1280 thread_unlock(tx);
1410 kthread_t *tx; local
1452 if ((tx = p->p_tlist) != NULL) {
1454 sigdelq(p, tx, SIGSTO
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/sys/
H A Dzfs_fuid.h119 extern void zfs_fuid_txhold(zfsvfs_t *zfsvfs, dmu_tx_t *tx);
H A Dvdev.h75 dmu_tx_t *tx);
76 extern uint64_t vdev_create_link_zap(vdev_t *vd, dmu_tx_t *tx);
77 extern void vdev_construct_zaps(vdev_t *vd, dmu_tx_t *tx);
H A Dsa.h115 typedef void (sa_update_cb_t)(sa_handle_t *, dmu_tx_t *tx);
/illumos-gate/usr/src/cmd/lp/lib/lp/
H A DMakefile72 tx.o \
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_scf.c869 scf_transaction_t *tx = NULL; local
889 if ((tx = scf_transaction_create(h)) == NULL ||
896 if (scf_transaction_start(tx, pg) == -1) {
903 if (scf_transaction_property_new(tx, ent, propname,
910 if (scf_transaction_property_change(tx, ent, propname, proptype)
924 commit_ret = scf_transaction_commit(tx);
940 if (tx != NULL)
941 scf_transaction_destroy(tx);
1687 scf_transaction_t *tx = NULL; local
1713 if ((tx
[all...]
/illumos-gate/usr/src/cmd/svc/startd/
H A Dlibscf.c1352 transaction_add_set(scf_transaction_t *tx, scf_transaction_entry_t *ent, argument
1356 if (scf_transaction_property_change_type(tx, ent, pname,
1379 if (scf_transaction_property_new(tx, ent, pname, ty) == 0)
1417 scf_transaction_t *tx; local
1424 tx = safe_scf_transaction_create(h);
1431 if (scf_transaction_start(tx, pg) != 0) {
1459 ret = transaction_add_set(tx, e, pname, ty);
1475 r = scf_transaction_commit(tx);
1480 scf_transaction_reset(tx);
1508 scf_transaction_reset(tx);
1906 scf_transaction_t *tx; local
2614 scf_transaction_t *tx; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_rsrc.c467 eib_wqe_pool_t *tx; local
484 * Try to allocate and initialize the tx wqe pool
490 * If we keep the tx buffers as mtu-sized, then potentially every
505 tx = ss->ei_tx;
510 attr.mr_vaddr = tx->wp_vaddr;
511 attr.mr_len = tx->wp_memsz;
516 &tx->wp_mr, &desc);
519 "ibt_register_mr() failed for tx "
526 tx->wp_lkey = desc.md_lkey;
529 * Now setup the tx wqe
[all...]
/illumos-gate/usr/src/uts/sun4v/io/
H A Dcnex.c337 if (cldcp->tx.hdlr && (cldcp->tx.weight == weight ||
338 (weight_max == weight && cldcp->tx.weight > weight))) {
339 (void) cnex_intr_new_cpu(cnex_ssp, &cldcp->tx);
537 status = md_get_prop_val(mdp, listp[idx], "tx-ino", &txino);
573 new_cldcp->tx.ino = txino;
576 new_cldcp->tx.weight = CNEX_TX_INTR_WEIGHT;
641 iinfo = &(cldcp->tx);
772 if (cldcp->tx.hdlr || cldcp->rx.hdlr) {
830 iinfo = &(cldcp->tx);
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/hermon/
H A Dhermon_ioctl.c138 hermon_loopback_comm_t *tx, hermon_loopback_comm_t *rx);
3071 hermon_loopback_comm_t *tx, hermon_loopback_comm_t *rx)
3075 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*tx))
3077 bzero(&tx->hlc_sgl, sizeof (ibt_wr_ds_t));
3078 bzero(&tx->hlc_wr, sizeof (ibt_send_wr_t));
3081 tx->hlc_sgl.ds_va = tx->hlc_mrdesc.md_vaddr;
3082 tx->hlc_sgl.ds_key = tx->hlc_mrdesc.md_lkey;
3083 tx
3070 hermon_loopback_post_send(hermon_loopback_state_t *lstate, hermon_loopback_comm_t *tx, hermon_loopback_comm_t *rx) argument
[all...]
/illumos-gate/usr/src/uts/common/io/ib/adapters/tavor/
H A Dtavor_ioctl.c119 tavor_loopback_comm_t *tx, tavor_loopback_comm_t *rx);
2637 tavor_loopback_comm_t *tx, tavor_loopback_comm_t *rx)
2641 _NOTE(NOW_INVISIBLE_TO_OTHER_THREADS(*tx))
2643 bzero(&tx->tlc_sgl, sizeof (ibt_wr_ds_t));
2644 bzero(&tx->tlc_wr, sizeof (ibt_send_wr_t));
2647 tx->tlc_sgl.ds_va = tx->tlc_mrdesc.md_vaddr;
2648 tx->tlc_sgl.ds_key = tx->tlc_mrdesc.md_lkey;
2649 tx
2636 tavor_loopback_post_send(tavor_loopback_state_t *lstate, tavor_loopback_comm_t *tx, tavor_loopback_comm_t *rx) argument
[all...]
/illumos-gate/usr/src/cmd/tbl/
H A Dt6.c19 # define tx(a) (a>(char *)0 && a<(char *)128) macro
69 if (tx(s) != text) continue;
86 if (tx(s) != text) continue;
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Didmap_config.c602 scf_transaction_t *tx = NULL; local
605 if ((tx = scf_transaction_create(handles->main)) == NULL) {
625 if (scf_transaction_start(tx, pg) != 0) {
632 if (scf_transaction_property_delete(tx, ent, name) != 0) {
643 ret = scf_transaction_commit(tx);
646 scf_transaction_reset(tx);
661 if (tx != NULL)
662 scf_transaction_destroy(tx);
677 scf_transaction_t *tx = NULL; local
681 (tx
[all...]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/drivers/common/lm/device/
H A Dlm_pf.c463 /* Either MP is disabled OR enabled but not a tx-only connection */
794 client_init_data_virt->tx.state = CLIENT_INIT_TX_DATA_ACCEPT_ANY_VLAN; /*to match packets with both MAC and VLAN, fails and send the packet to
821 client_init_data_virt->tx.tx_sb_index_number = txq_params->sb_index;
824 /* ooo cid doesn't have a tx chain... */
826 client_init_data_virt->tx.tx_bd_page_base.hi = mm_cpu_to_le32(q_addr.as_u32.high);
827 client_init_data_virt->tx.tx_bd_page_base.lo = mm_cpu_to_le32(q_addr.as_u32.low);
829 client_init_data_virt->tx.tx_status_block_id = LM_FW_VF_SB_ID(vf_info,txq_params->vf_sb);
831 client_init_data_virt->tx.enforce_security_flg = TRUE;//FALSE; /* TBD: turn on for KVM VF? */
834 client_init_data_virt->tx.tss_leading_client_id = LM_FW_VF_CLI_ID(vf_info, 0);
836 client_init_data_virt->tx
[all...]
/illumos-gate/usr/src/lib/libscf/common/
H A Dnotify_params.c645 prep_transaction(scf_transaction_t *tx, scf_transaction_entry_t *te, argument
648 if (scf_transaction_property_new(tx, te, prop, type) != SCF_SUCCESS &&
650 scf_transaction_property_change(tx, te, prop, type) !=
679 scf_transaction_t *tx = scf_transaction_create(h); local
692 if (tx == NULL)
708 scf_transaction_start(tx, pg) != SCF_SUCCESS) {
779 if (prep_transaction(tx, te, propname, type) !=
793 err = scf_transaction_commit(tx);
794 scf_transaction_destroy_children(tx);
806 scf_transaction_destroy_children(tx);
[all...]
/illumos-gate/usr/src/uts/common/io/nxge/
H A Dnxge_hio_guest.c186 nxhv_dc_fp_t *tx, *rx; local
281 tx = &nhd->hio.tx;
282 if (tx->get_map) {
288 hv_rv = (*tx->get_map)(vr->cookie, &tx_map);
291 "tx->get_map() failed"));

Completed in 113 milliseconds

12345678