Lines Matching defs:tran

549 set_count_property(scf_handle_t *handle, scf_transaction_t *tran,
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,
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,
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,
654 if (scf_transaction_property_new(tran, entry, propname,
656 scf_transaction_property_change(tran, entry, propname,
682 scf_transaction_t *tran = NULL;
691 if ((tran = scf_transaction_create(sstate.ss_handle)) == NULL)
700 if (scf_transaction_start(tran, sstate.ss_pg) != 0)
702 if (!set_count_property(sstate.ss_handle, tran,
705 if (!set_boolean_property(sstate.ss_handle, tran,
708 rv = scf_transaction_commit(tran);
709 scf_transaction_reset(tran);
715 if (tran != NULL) {
716 scf_transaction_destroy_children(tran);
717 scf_transaction_destroy(tran);
864 scf_transaction_t *tran = NULL;
890 if ((tran = scf_transaction_create(sstate.ss_handle)) == NULL)
911 if (scf_transaction_start(tran, sstate.ss_pg) != 0)
914 if (!set_string_property(sstate.ss_handle, tran,
917 if (!set_string_property(sstate.ss_handle, tran,
920 if (!set_string_property(sstate.ss_handle, tran,
923 if (!set_fmri_property(sstate.ss_handle, tran,
927 rv = scf_transaction_commit(tran);
928 scf_transaction_reset(tran);
939 if (tran != NULL) {
940 scf_transaction_destroy_children(tran);
941 scf_transaction_destroy(tran);
976 scf_transaction_t *tran = NULL;
1039 if ((tran = scf_transaction_create(sstate.ss_handle)) == NULL)
1053 if (scf_transaction_start(tran, sstate.ss_pg) != 0)
1057 !set_count_property(sstate.ss_handle, tran,
1061 !set_count_property(sstate.ss_handle, tran,
1066 !set_count_property(sstate.ss_handle, tran,
1071 !set_count_property(sstate.ss_handle, tran,
1076 !set_count_property(sstate.ss_handle, tran,
1080 rv = scf_transaction_commit(tran);
1081 scf_transaction_reset(tran);
1099 if (tran != NULL) {
1100 scf_transaction_destroy_children(tran);
1101 scf_transaction_destroy(tran);
1637 scf_transaction_t *tran = NULL;
1648 if ((tran = scf_transaction_create(sstate.ss_handle)) == NULL)
1660 if (scf_transaction_start(tran, sstate.ss_pg) != 0)
1662 if (!set_count_property(sstate.ss_handle, tran, TRILL_PROP_NICK,
1665 rv = scf_transaction_commit(tran);
1666 scf_transaction_reset(tran);
1672 if (tran != NULL) {
1673 scf_transaction_destroy_children(tran);
1674 scf_transaction_destroy(tran);