/osnet-11/usr/src/lib/libfedfs/common/ |
H A D | smf_params.c | 388 scf_transaction_t *tran = NULL; local 399 if ((tran = scf_transaction_create(h)) == NULL || 408 if (scf_transaction_start(tran, pg) == -1) 412 if (scf_transaction_property_new(tran, entry, 416 if (scf_transaction_property_change(tran, entry, 425 ret = scf_transaction_commit(tran); 433 scf_transaction_reset(tran); 445 scf_transaction_destroy(tran); 727 scf_transaction_t *tran = NULL; local 747 if ((tran [all...] |
/osnet-11/usr/src/lib/libfcoe/common/ |
H A D | libfcoe.c | 183 scf_transaction_t *tran = NULL; local 210 ((tran = scf_transaction_create(handle)) == NULL) || 254 if (scf_transaction_start(tran, pg) == -1) { 269 if (scf_transaction_property_new(tran, entry, FCOE_PORT_LIST, 282 if (scf_transaction_property_change(tran, entry, 416 if ((commitRet = scf_transaction_commit(tran)) != 1) { 440 if (tran != NULL) { 441 scf_transaction_destroy(tran); 843 scf_transaction_t *tran = NULL; local 861 ((tran [all...] |
/osnet-11/usr/src/lib/libresolv2/common/isc/ |
H A D | ctl_clnt.c | 96 LIST(struct ctl_tran) tran; member in struct:ctl_cctx 175 INIT_LIST(ctx->tran); 239 struct ctl_tran *tran; local 257 tran = new_tran(ctx, donefunc, uap, 1); 258 if (tran == NULL) 260 if (ctl_bufget(&tran->outbuf, ctx->logger) < 0) 262 memcpy(tran->outbuf.text, cmd, len); 263 tran->outbuf.used = len; 264 for (pc = tran->outbuf.text, n = 0; n < tran 295 struct ctl_tran *tran; local 410 struct ctl_tran *tran; local 444 struct ctl_tran *tran = (struct ctl_tran *)uap; local 489 struct ctl_tran *tran; local [all...] |
/osnet-11/usr/src/lib/libdladm/common/ |
H A D | libdlbridge.c | 549 set_count_property(scf_handle_t *handle, scf_transaction_t *tran, argument 560 if (scf_transaction_property_new(tran, entry, propname, 562 scf_transaction_property_change(tran, entry, propname, 580 set_boolean_property(scf_handle_t *handle, scf_transaction_t *tran, argument 591 if (scf_transaction_property_new(tran, entry, propname, 593 scf_transaction_property_change(tran, entry, propname, 611 set_string_property(scf_handle_t *handle, scf_transaction_t *tran, argument 622 if (scf_transaction_property_new(tran, entry, propname, 624 scf_transaction_property_change(tran, entry, propname, 643 set_fmri_property(scf_handle_t *handle, scf_transaction_t *tran, argument 682 scf_transaction_t *tran = NULL; local 864 scf_transaction_t *tran = NULL; local 976 scf_transaction_t *tran = NULL; local 1637 scf_transaction_t *tran = NULL; local [all...] |
H A D | libdlwlan.c | 1651 scf_transaction_t *tran = NULL; local 1659 tran = scf_transaction_create(handle); 1660 if (tran == NULL) 1672 if (scf_transaction_start(tran, pg) != 0) 1676 SCF_TYPE_ASTRING, command, tran) != DLADM_STATUS_OK) { 1680 rv = scf_transaction_commit(tran); 1686 scf_transaction_destroy_children(tran); 1698 if (tran != NULL) { 1699 scf_transaction_destroy_children(tran); 1700 scf_transaction_destroy(tran); [all...] |
/osnet-11/usr/src/lib/libstmf/common/ |
H A D | store.c | 299 scf_transaction_t *tran = NULL; local 323 ((tran = scf_transaction_create(handle)) == NULL) || 351 if (scf_transaction_start(tran, pg) == -1) { 365 if (scf_transaction_property_change(tran, entry, groupName, 371 syslog(LOG_ERR, "tran property change %s/%s " 559 if ((commitRet = scf_transaction_commit(tran)) != 1) { 583 if (tran != NULL) { 584 scf_transaction_destroy(tran); 641 scf_transaction_t *tran = NULL; local 664 ((tran 929 scf_transaction_t *tran = NULL; local 1389 scf_transaction_t *tran = NULL; local 2076 scf_transaction_t *tran = NULL; local 2291 scf_transaction_t *tran = NULL; local 2652 scf_transaction_t *tran = NULL; local 4433 scf_transaction_t *tran = NULL; local [all...] |
/osnet-11/usr/src/lib/libscf/common/ |
H A D | lowlevel.c | 3220 prep_transaction(scf_transaction_t *tran, enum rep_protocol_requestid requestid, argument 3223 scf_handle_t *h = tran->tran_pg.rd_d.rd_handle; 3234 if (tran->tran_state != TRAN_STATE_SETUP || 3235 tran->tran_invalid) { 3242 for (cur = uu_list_first(tran->tran_props); cur != NULL; 3243 cur = uu_list_next(tran->tran_props, cur)) { 3257 request->rpr_entityid = tran->tran_pg.rd_d.rd_entity; 3259 request->rpr_pg_action = tran->tran_pg_action; 3262 if (tran->tran_pg_type) { 3263 if (strlcpy(request->rpr_pg_type, tran 3309 scf_prop_bundle_remove(scf_transaction_t *tran, char *bname) argument 4539 scf_transaction_start(scf_transaction_t *tran, scf_propertygroup_t *pg) argument 4639 transaction_add(scf_transaction_t *tran, scf_transaction_entry_t *entry, enum rep_protocol_transaction_action action, const char *prop, rep_protocol_value_type_t type) argument 4759 scf_transaction_pg_bundle_remove(scf_transaction_t *tran) argument 4797 scf_transaction_pg_modify(scf_transaction_t *tran, const char *type, uint32_t flags) argument 4912 scf_transaction_commit(scf_transaction_t *tran) argument 4951 transaction_reset(scf_transaction_t *tran) argument 4964 scf_transaction_reset_impl(scf_transaction_t *tran, int and_destroy, int and_reset_value) argument 4987 scf_transaction_reset(scf_transaction_t *tran) argument 4993 scf_transaction_reset_all(scf_transaction_t *tran) argument 5013 scf_transaction_destroy_children(scf_transaction_t *tran) argument [all...] |