/illumos-gate/usr/src/cmd/acctadm/ |
H A D | aconf.c | 323 scf_transaction_t *tx; in aconf_save() local 333 (tx = scf_transaction_create(handle)) == NULL) in aconf_save() 338 scf_transaction_start(tx, pg) == -1) in aconf_save() 342 if (scf_transaction_property_change(tx, p->entry, in aconf_save() 347 tx_result = scf_transaction_commit(tx); in aconf_save() 348 scf_transaction_reset(tx); in aconf_save() 362 scf_transaction_destroy(tx); in aconf_save()
|
/illumos-gate/usr/src/cmd/bhyve/ |
H A D | net_backends.c | 624 struct netmap_ring *tx; member 714 priv->tx = NETMAP_TXRING(priv->nmd->nifp, 0); in netmap_init() 756 ring = priv->tx; in netmap_send()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/ |
H A D | ilbd_scf.c | 869 scf_transaction_t *tx = NULL; in ilbd_scf_set_prop() local 889 if ((tx = scf_transaction_create(h)) == NULL || in ilbd_scf_set_prop() 896 if (scf_transaction_start(tx, pg) == -1) { in ilbd_scf_set_prop() 924 commit_ret = scf_transaction_commit(tx); in ilbd_scf_set_prop() 940 if (tx != NULL) in ilbd_scf_set_prop() 941 scf_transaction_destroy(tx); in ilbd_scf_set_prop() 1687 scf_transaction_t *tx = NULL; in ilbd_scf_del_srv() local 1723 if (scf_transaction_start(tx, pg) == -1) { in ilbd_scf_del_srv() 1735 if (scf_transaction_commit(tx) != 1) { in ilbd_scf_del_srv() 1745 if (tx != NULL) in ilbd_scf_del_srv() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wpad/ |
H A D | wpa.c | 1003 int keyidx, tx, key_rsc_len = 0, alg; in wpa_supplicant_process_3_of_4_gtk() local 1009 tx = !!(gtk[0] & BIT(2)); in wpa_supplicant_process_3_of_4_gtk() 1010 if (tx && wpa_s->pairwise_cipher != WPA_CIPHER_NONE) { in wpa_supplicant_process_3_of_4_gtk() 1021 tx = 0; in wpa_supplicant_process_3_of_4_gtk() 1070 "(keyidx=%d tx=%d).", keyidx, tx); in wpa_supplicant_process_3_of_4_gtk() 1306 int alg, tx; in wpa_supplicant_process_1_of_2() local 1413 tx = !!(gtk_ie[0] & BIT(2)); in wpa_supplicant_process_1_of_2() 1441 tx = !!(key_info & WPA_KEY_INFO_TXRX); in wpa_supplicant_process_1_of_2() 1453 tx = 0; in wpa_supplicant_process_1_of_2() 1458 "tx=%d).", keyidx, tx); in wpa_supplicant_process_1_of_2() [all …]
|
/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/cmd/cmd-inet/usr.sbin/inetconv/ |
H A D | inetconv.c | 1106 scf_transaction_t *tx = NULL; in modify_sprop() local 1145 if ((tx = scf_transaction_create(h)) == NULL || in modify_sprop() 1152 if (scf_transaction_start(tx, gpg) == -1) { in modify_sprop() 1159 ret = scf_transaction_property_new(tx, ent, prop, in modify_sprop() 1162 ret = scf_transaction_property_change_type(tx, ent, in modify_sprop() 1183 ret = scf_transaction_commit(tx); in modify_sprop() 1191 scf_transaction_reset(tx); in modify_sprop() 1198 scf_transaction_destroy(tx); in modify_sprop()
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/routeadm/ |
H A D | routeadm.c | 2076 scf_transaction_t *tx = NULL; in ra_set_prop_from_string() local 2146 if ((tx = scf_transaction_create(h)) == NULL || in ra_set_prop_from_string() 2150 if (scf_transaction_start(tx, instpg) == -1) in ra_set_prop_from_string() 2153 if (scf_transaction_property_new(tx, ent, propname, in ra_set_prop_from_string() 2156 } else if (scf_transaction_property_change(tx, ent, propname, in ra_set_prop_from_string() 2166 retval = scf_transaction_commit(tx); in ra_set_prop_from_string() 2168 scf_transaction_reset(tx); in ra_set_prop_from_string() 2196 if (tx != NULL) in ra_set_prop_from_string() 2197 scf_transaction_destroy(tx); in ra_set_prop_from_string()
|
/illumos-gate/usr/src/cmd/cxgbetool/ |
H A D | cudbg_view.c | 4693 u32 tx, rx, cs, es, pcie, pcie1, sge; in view_full_t6() local 4715 tx = *sp; in view_full_t6() 4744 ((tx >> 28) & 1), ((rx >> 28) & 1)); in view_full_t6() 4746 ((tx >> 29) & 1), ((rx >> 29) & 1)); in view_full_t6() 4787 u32 tx, rx, cs, es, pcie, sge; in view_full_t5() local 4806 tx = *sp; in view_full_t5() 4834 ((tx >> 28) & 1), ((rx >> 28) & 1)); in view_full_t5() 4836 ((tx >> 29) & 1), ((rx >> 29) & 1)); in view_full_t5() 4838 ((tx >> 30) & 1), ((rx >> 30) & 1)); in view_full_t5() 4840 ((tx >> 31) & 1), ((rx >> 31) & 1)); in view_full_t5()
|
/illumos-gate/usr/src/cmd/fm/eversholt/files/common/ |
H A D | pci.esc | 293 * - tx-oor: the device sends a byte count larger than the completers 324 event error.io.pcix.tx-oor@PCIFN; 363 error.io.pcix.tx-oor@PCI_NOT_HB, 384 prop error.io.pcix.tx-oor@PCIFN (1)-> 536 error.io.pcix.tx-oor@pcibus/pcidev<todev>/pcifn { todev != 32},
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | idmap_config.c | 671 scf_transaction_t *tx = NULL; in del_val() local 694 if (scf_transaction_start(tx, pg) != 0) { in del_val() 712 ret = scf_transaction_commit(tx); in del_val() 715 scf_transaction_reset(tx); in del_val() 730 if (tx != NULL) in del_val() 731 scf_transaction_destroy(tx); in del_val() 746 scf_transaction_t *tx = NULL; in set_val() local 767 if (scf_transaction_start(tx, pg) == -1) { in set_val() 806 ret = scf_transaction_commit(tx); in set_val() 816 scf_transaction_reset(tx); in set_val() [all …]
|
/illumos-gate/usr/src/cmd/init/ |
H A D | init.c | 3211 if (scf_transaction_property_change_type(tx, ent, pname, type) == 0) in transaction_add_set() 3233 if (scf_transaction_property_new(tx, ent, pname, type) == 0) in transaction_add_set() 3290 scf_transaction_t *tx = NULL; in lscf_set_runlevel() local 3318 (tx = scf_transaction_create(h)) == NULL || in lscf_set_runlevel() 3393 if (scf_transaction_start(tx, pg) != 0) { in lscf_set_runlevel() 3413 r = transaction_add_set(tx, ent, "runlevel", SCF_TYPE_ASTRING); in lscf_set_runlevel() 3423 scf_transaction_reset(tx); in lscf_set_runlevel() 3433 r = scf_transaction_commit(tx); in lscf_set_runlevel() 3447 scf_transaction_reset(tx); in lscf_set_runlevel() 3459 scf_transaction_reset(tx); in lscf_set_runlevel() [all …]
|
/illumos-gate/usr/src/cmd/lp/lib/lp/ |
H A D | Makefile | 72 tx.o \
|
/illumos-gate/usr/src/cmd/rcap/common/ |
H A D | rcapd_conf.c | 167 scf_transaction_t *tx = NULL; in modify_config() local 184 if (scf_set_count_property(tx, PRESSURE, in modify_config() 192 if (scf_set_count_property(tx, RECONFIG_INT, in modify_config() 199 if (scf_set_count_property(tx, RSS_SAMPLE_INT, in modify_config() 206 if (scf_set_count_property(tx, REPORT_INT, in modify_config() 213 if (scf_set_count_property(tx, WALK_INT, in modify_config() 220 if ((rval = scf_transaction_commit(tx)) == -1) in modify_config() 224 if (scf_transaction_restart(simple_h, tx) in modify_config() 236 if (tx != NULL) { in modify_config() 237 scf_transaction_destroy_children(tx); in modify_config() [all …]
|
/illumos-gate/usr/src/cmd/refer/ |
H A D | refer6.c | 31 char *s, *tx; in putref() local 46 tx = s+3; in putref() 50 tx = s+2; in putref() 55 tx = s; in putref() 61 tx = caps(tx, buf1); in putref() 63 fprintf(stderr, " s %o tx %o %s\n", s, tx, tx); in putref() 71 lastype, tx, sep); in putref() 74 last(tx)) != 0); in putref() 86 tx = revauth(tx, buf2); in putref() 93 cch, tx, sep); in putref() [all …]
|
H A D | tick.c | 30 struct tbuffer tx; in tick() local 32 times(&tx); in tick() 34 user = tx.proc_user_time; in tick() 35 systm = tx.proc_system_time; in tick() 42 struct tbuffer tx; in tock() local 47 times(&tx); in tock() 50 use = (tx.proc_user_time - user)/60.; in tock() 51 sys = (tx.proc_system_time - systm)/60.; in tock()
|
/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/cmd/svc/common/ |
H A D | manifest_hash.c | 243 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 …]
|
/illumos-gate/usr/src/cmd/svc/configd/ |
H A D | backend.c | 2145 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 …]
|
H A D | client.c | 1378 repcache_entity_t *tx; in tx_start() local 1393 if (tx->re_txstate != REPCACHE_TX_INIT) { in tx_start() 1402 tx->re_txstate = REPCACHE_TX_SETUP; in tx_start() 1404 rc_node_clear(&tx->re_node, 0); in tx_start() 1407 entity_release(tx); in tx_start() 1418 repcache_entity_t *tx; in tx_commit() local 1428 tx = entity_find(cp, rpr->rpr_entityid); in tx_commit() 1430 if (tx == NULL) { in tx_commit() 1435 switch (tx->re_txstate) { in tx_commit() 1446 rc_node_clear(&tx->re_node, 0); in tx_commit() [all …]
|
H A D | configd.h | 827 int backend_tx_run_single_int(backend_tx_t *tx, backend_query_t *q,
|
H A D | file_object.c | 716 assert(tx != NULL); in fill_property_callback() 1158 backend_tx_t *tx; in propertygrp_fill_children() local 1175 ci.ci_tx = tx; in propertygrp_fill_children() 1187 backend_tx_end_ro(tx); in propertygrp_fill_children() 1606 backend_tx_t *tx; in object_create() local 2177 backend_tx_t *tx; in object_snapshot_do_take() local 2255 *tx_out = tx; in object_snapshot_do_take() 2263 backend_tx_rollback(tx); in object_snapshot_do_take() 2285 backend_tx_t *tx = NULL; in object_snapshot_take_new() local 2294 &tx, &snapid); in object_snapshot_take_new() [all …]
|
H A D | object.c | 656 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 …]
|
/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/cmd/svc/startd/ |
H A D | libscf.c | 1418 scf_transaction_t *tx; in pg_set_prop_value() local 1481 scf_transaction_reset(tx); in pg_set_prop_value() 1509 scf_transaction_reset(tx); in pg_set_prop_value() 1531 scf_transaction_destroy(tx); in pg_set_prop_value() 1914 scf_transaction_t *tx; in libscf_clear_runlevel() local 2015 scf_transaction_reset(tx); in libscf_clear_runlevel() 2038 scf_transaction_reset(tx); in libscf_clear_runlevel() 2058 scf_transaction_destroy(tx); in libscf_clear_runlevel() 2622 scf_transaction_t *tx; in libscf_write_method_status() local 2767 scf_transaction_reset_all(tx); in libscf_write_method_status() [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 …]
|