| /netvirt/usr/src/cmd/rcap/common/ |
| rcapd_conf.c | 169 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 != NULL) [all...] |
| /netvirt/usr/src/cmd/refer/ |
| tick.c | 32 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.;
|
| refer6.c | 33 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, sep) [all...] |
| /netvirt/usr/src/uts/common/fs/zfs/ |
| dsl_synctask.c | 39 dsl_null_checkfunc(void *arg1, void *arg2, dmu_tx_t *tx) 80 dmu_tx_t *tx; local 85 tx = dmu_tx_create_dd(dstg->dstg_pool->dp_mos_dir); 86 VERIFY(0 == dmu_tx_assign(tx, TXG_WAIT)); 88 txg = dmu_tx_get_txg(tx); 104 dst->dst_checkfunc(dst->dst_arg1, dst->dst_arg2, tx); 111 dmu_tx_commit(tx); 117 dmu_tx_commit(tx); 128 dsl_sync_task_group_nowait(dsl_sync_task_group_t *dstg, dmu_tx_t *tx) 133 txg = dmu_tx_get_txg(tx); [all...] |
| dsl_pool.c | 145 dmu_tx_t *tx = dmu_tx_create_assigned(dp, txg); local 147 NULL, &dp->dp_meta_rootbp, DMU_OST_META, tx)->os; 151 DMU_OT_OBJECT_DIRECTORY, DMU_OT_NONE, 0, tx); 155 dsl_dataset_create_root(dp, &dp->dp_root_dir_obj, tx); 160 (void) dsl_dir_create_sync(dp->dp_root_dir, MOS_DIR_NAME, tx); 163 dmu_tx_commit(tx); 172 dmu_tx_t *tx; local 179 tx = dmu_tx_create_assigned(dp, txg); 187 dsl_dataset_sync(ds, zio, tx); 193 dsl_sync_task_group_sync(dstg, tx); [all...] |
| spa_errlog.c | 336 sync_error_list(spa_t *spa, avl_tree_t *t, uint64_t *obj, dmu_tx_t *tx) 347 0, tx); 356 *obj, buf, 1, strlen(name) + 1, name, tx); 379 dmu_tx_t *tx; local 402 tx = dmu_tx_create_assigned(spa->spa_dsl_pool, txg); 407 sync_error_list(spa, &last, &spa->spa_errlog_last, tx); 415 spa->spa_errlog_last, tx) == 0); 419 sync_error_list(spa, &scrub, &spa->spa_errlog_last, tx); 425 sync_error_list(spa, &scrub, &spa->spa_errlog_scrub, tx); 432 &spa->spa_errlog_last, tx); [all...] |
| spa_history.c | 83 spa_history_create_obj(spa_t *spa, dmu_tx_t *tx) 92 sizeof (spa_history_phys_t), tx); 96 &spa->spa_history, tx) == 0); 102 dmu_buf_will_dirty(dbp, tx); 147 dmu_tx_t *tx) 166 dmu_write(mos, spa->spa_history, phys_eof, firstwrite, buf, tx); 172 len, (char *)buf + firstwrite, tx); 192 spa_history_log_sync(void *arg1, void *arg2, cred_t *cr, dmu_tx_t *tx) 212 spa_history_create_obj(spa, tx); 222 dmu_buf_will_dirty(dbp, tx); 418 spa_history_log_sync, spa, hap, 0, tx); local [all...] |
| txg.c | 50 tx_state_t *tx = &dp->dp_tx; local 52 bzero(tx, sizeof (tx_state_t)); 54 tx->tx_cpu = kmem_zalloc(max_ncpus * sizeof (tx_cpu_t), KM_SLEEP); 59 mutex_init(&tx->tx_cpu[c].tc_lock, NULL, MUTEX_DEFAULT, NULL); 61 cv_init(&tx->tx_cpu[c].tc_cv[i], NULL, CV_DEFAULT, 66 rw_init(&tx->tx_suspend, NULL, RW_DEFAULT, NULL); 67 mutex_init(&tx->tx_sync_lock, NULL, MUTEX_DEFAULT, NULL); 69 tx->tx_open_txg = txg; 78 tx_state_t *tx = &dp->dp_tx; local 81 ASSERT(tx->tx_threads == 0) 105 tx_state_t *tx = &dp->dp_tx; local 164 tx_state_t *tx = &dp->dp_tx; local 198 tx_state_t *tx = &dp->dp_tx; local 239 tx_state_t *tx = &dp->dp_tx; local 274 tx_state_t *tx = &dp->dp_tx; local 337 tx_state_t *tx = &dp->dp_tx; local 381 tx_state_t *tx = &dp->dp_tx; local 404 tx_state_t *tx = &dp->dp_tx; local 424 tx_state_t *tx = &dp->dp_tx; local 449 tx_state_t *tx = &dp->dp_tx; local 456 tx_state_t *tx = &dp->dp_tx; local 464 tx_state_t *tx = &dp->dp_tx; local [all...] |
| zfs_dir.c | 440 zfs_unlinked_add(znode_t *zp, dmu_tx_t *tx) 450 zfs_unlinked_hexname(obj_name, zp->z_id), 8, 1, &zp->z_id, tx); 521 dmu_tx_t *tx; local 537 tx = dmu_tx_create(zfsvfs->z_os); 538 dmu_tx_hold_bonus(tx, dzp->z_id); 539 dmu_tx_hold_zap(tx, dzp->z_id, FALSE, zap.za_name); 540 dmu_tx_hold_bonus(tx, xzp->z_id); 541 dmu_tx_hold_zap(tx, zfsvfs->z_unlinkedobj, FALSE, NULL); 542 error = dmu_tx_assign(tx, TXG_WAIT); 544 dmu_tx_abort(tx); 571 dmu_tx_t *tx; local 808 dmu_tx_t *tx; local [all...] |
| /netvirt/usr/src/cmd/tbl/ |
| t6.c | 19 # define tx(a) (a>(char *)0 && a<(char *)128) macro 69 if (tx(s) != text) continue; 86 if (tx(s) != text) continue;
|
| /netvirt/usr/src/common/openssl/crypto/rc4/ |
| rc4_enc.c | 74 register RC4_INT x,y,tx,ty; local 115 tx=d[x], \ 116 y=(tx+y)&0xff, \ 118 d[y]=tx, \ 120 (RC4_CHUNK)d[(tx+ty)&0xff]\ 267 tx=d[x]; \ 268 y=(tx+y)&0xff; \ 270 d[y]=tx; \ 271 (out) = d[(tx+ty)&0xff]^ (in);
|
| /netvirt/usr/src/lib/libast/common/string/ |
| base64.c | 158 register unsigned char* tx; local 181 tx = te - tz; 186 te = tx = tp; 201 if (tp >= tx)
|
| /netvirt/usr/src/lib/libbc/libc/gen/common/ |
| _Qfpack.c | 387 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);
|
| /netvirt/usr/src/uts/sparc/fpu/ |
| pack.c | 519 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);
|
| /netvirt/usr/src/cmd/svc/common/ |
| manifest_hash.c | 192 scf_transaction_t *tx = NULL; local 318 tx = scf_transaction_create(hndl); 319 if (tx == NULL) { 334 if (scf_transaction_start(tx, pg) != SCF_SUCCESS) { 348 scf_transaction_destroy(tx); 353 if (scf_transaction_property_new(tx, e, MHASH_PROP, 355 scf_transaction_property_change_type(tx, e, MHASH_PROP, 367 ret = scf_transaction_commit(tx); 370 scf_transaction_reset(tx); 387 scf_transaction_destroy(tx); [all...] |
| /netvirt/usr/src/lib/libcurses/screen/ |
| mvcur.c | 322 int nt, tx, x, stcost, iscont; local 333 tx = (nt > 0) ? (cx / TABSIZE + nt) * TABSIZE : cx; 338 for (x = tx; x < nx; ++x) { 370 for (x = tx; x < nx; ++x) { 396 int tx, nt, x, stcost; local 403 tx = cx; 413 tx = x; 416 stcost = nt * _COST(Back_tab) + (tx-nx) * _COST(Cursor_left); 431 for (; tx > nx; --tx) [all...] |
| /netvirt/usr/src/uts/sun4v/sys/ |
| cnex.h | 82 cnex_intr_t tx; /* Transmit interrupt */ member in struct:cnex_ldc
|
| /netvirt/usr/src/cmd/idmap/idmapd/ |
| idmap_config.c | 330 scf_transaction_t *tx = NULL; local 335 (tx = scf_transaction_create(handles->main)) == NULL || 343 if (scf_transaction_start(tx, handles->config_pg) == -1) { 350 if (scf_transaction_property_new(tx, ent, name, 372 if ((ret = scf_transaction_commit(tx)) == 1) 378 * is not the most recent. Update pg, reset tx and 379 * retry tx. 390 scf_transaction_reset(tx); 405 scf_transaction_destroy(tx);
|
| /netvirt/usr/src/cmd/svc/prophist/ |
| prophist.c | 110 static scf_transaction_t *tx; variable 153 tx = scf_transaction_create(hndl); 164 tx == NULL || 213 if (scf_transaction_start(tx, pg) != 0) 216 if (scf_transaction_property_delete(tx, entry, prop_name) != 0) 219 if (scf_transaction_commit(tx) != 1) 287 if (scf_transaction_start(tx, pg) != SCF_SUCCESS) { 299 if (scf_transaction_property_change_type(tx, entry, 322 result = scf_transaction_commit(tx); 324 scf_transaction_reset(tx); [all...] |
| /netvirt/usr/src/uts/common/disp/ |
| priocntl.c | 741 kthread_id_t tx, ty; local 762 ty = tx = pp->p_tlist; 764 if (tx->t_cid == *argp->pcmp_cidp) { 769 if ((tx_pri = CL_GLOBPRI(tx)) > last_pri) { 771 ty = tx; 774 } while ((tx = tx->t_forw) != pp->p_tlist); 783 tx = *argp->pcmp_retthreadp; 784 if (CL_GLOBPRI(ty) <= CL_GLOBPRI(tx)) { 787 mutex_exit(&(ttoproc(tx)->p_lock)) 805 kthread_id_t tx; local [all...] |
| /netvirt/usr/src/uts/common/os/ |
| lwp.c | 74 kthread_t *tx; local 520 if ((tx = p->p_tlist) == NULL) { 525 t->t_forw = tx; 526 t->t_back = tx->t_back; 527 tx->t_back->t_forw = t; 528 tx->t_back = t; [all...] |
| /netvirt/usr/src/cmd/cmd-inet/usr.sbin/inetadm/ |
| inetadm.c | 191 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 = scf_transaction_create(h)) == NULL | [all...] |
| /netvirt/usr/src/cmd/iscsi/iscsitgtd/ |
| mgmt_scf.c | 524 scf_transaction_t *tx = NULL; local 554 tx = scf_transaction_create(h->t_handle); 556 scf_transaction_start(tx, h->t_pg); 558 scf_transaction_commit(tx); 560 scf_transaction_reset(tx); 561 scf_transaction_destroy(tx);
|
| /netvirt/usr/src/cmd/svc/configd/ |
| object.c | 646 backend_tx_t *tx; local 650 ret = backend_tx_begin(backend, &tx); 662 r = backend_tx_run(tx, q, tx_check_genid, data); 667 backend_tx_rollback(tx); 673 backend_tx_rollback(tx); 678 new_gen = backend_new_id(tx, BACKEND_ID_GENERATION); 680 backend_tx_rollback(tx); 686 data->txc_tx = tx; 688 r = backend_tx_run_update(tx, 694 backend_tx_rollback(tx); [all...] |
| /netvirt/usr/src/cmd/svc/lsvcrun/ |
| lsvcrun.c | 612 add_new_property(scf_handle_t *h, scf_transaction_t *tx, const char *name, 631 r = scf_transaction_property_new(tx, e, name, ty); 674 scf_transaction_t *tx; local 701 tx = scf_transaction_create(h); 702 if (tx == NULL) { 707 if (scf_transaction_start(tx, pg) != 0) { 718 if (add_new_property(h, tx, SCF_LEGACY_PROPERTY_NAME, SCF_TYPE_ASTRING, 722 if (add_new_property(h, tx, SCF_PROPERTY_STATE_TIMESTAMP, 726 if (add_new_property(h, tx, SCF_LEGACY_PROPERTY_INODE, 731 if (add_new_property(h, tx, SCF_LEGACY_PROPERTY_SUFFIX [all...] |