Lines Matching defs:tran

299 	scf_transaction_t *tran = NULL;
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;
664 ((tran = scf_transaction_create(handle)) == NULL) ||
705 if (scf_transaction_start(tran, pg) == -1) {
718 if (scf_transaction_property_new(tran, entry, STMF_VE_CNT,
736 if (scf_transaction_property_change(tran, entry,
833 if (scf_transaction_property_new(tran, entryVeName,
851 if (scf_transaction_property_delete(tran, entryVeName,
869 if ((commitRet = scf_transaction_commit(tran)) != 1) {
893 if (tran != NULL) {
894 scf_transaction_destroy(tran);
929 scf_transaction_t *tran = NULL;
957 ((tran = scf_transaction_create(handle)) == NULL)) {
1003 if (scf_transaction_start(tran, pg) == -1) {
1013 if (scf_transaction_property_new(tran, entry[i],
1046 if (scf_transaction_property_new(tran, entry[i],
1086 if (scf_transaction_property_new(tran, entry[i],
1121 if (scf_transaction_property_new(tran, entry[i],
1161 if (scf_transaction_property_new(tran, entry[i], STMF_VE_LUNBR,
1213 if ((commitRet = scf_transaction_commit(tran)) != 1) {
1264 if (tran != NULL) {
1265 scf_transaction_destroy(tran);
1389 scf_transaction_t *tran = NULL;
1412 ((tran = scf_transaction_create(handle)) == NULL) ||
1559 if (scf_transaction_start(tran, pg) == -1) {
1571 if (scf_transaction_property_new(tran, entry1, buf1,
1595 if (scf_transaction_property_new(tran, entry2, buf2,
1607 if (scf_transaction_property_delete(tran, entry1, buf1)
1618 if (scf_transaction_property_delete(tran, entry2, buf2)
1632 if ((commitRet = scf_transaction_commit(tran)) != 1) {
1655 if (tran != NULL) {
1656 scf_transaction_destroy(tran);
2076 scf_transaction_t *tran = NULL;
2086 ((tran = scf_transaction_create(handle)) == NULL) ||
2152 if (scf_transaction_start(tran, pg) == -1) {
2161 if (scf_transaction_property_new(tran, entry,
2171 if (scf_transaction_property_change(tran, entry,
2203 if ((commitRet = scf_transaction_commit(tran)) != 1) {
2263 if (tran != NULL) {
2264 scf_transaction_destroy(tran);
2291 scf_transaction_t *tran = NULL;
2321 ((tran = scf_transaction_create(handle)) == NULL) ||
2420 if (scf_transaction_start(tran, pg) == -1) {
2427 if (scf_transaction_property_new(tran, entry,
2436 if (scf_transaction_property_change(tran, entry,
2471 if ((commitRet = scf_transaction_commit(tran)) != 1) {
2540 if (tran != NULL) {
2541 scf_transaction_destroy(tran);
2652 scf_transaction_t *tran = NULL;
2660 ((tran = scf_transaction_create(handle)) == NULL) ||
2731 if (scf_transaction_start(tran, pg) == -1) {
2738 if (scf_transaction_property_new(tran, entry,
2763 if ((commitRet = scf_transaction_commit(tran)) != 1) {
2820 if (tran != NULL) {
2821 scf_transaction_destroy(tran);
4433 scf_transaction_t *tran = NULL;
4501 ((tran = scf_transaction_create(handle)) == NULL)) {
4535 if (scf_transaction_start(tran, pg) == -1) {
4706 if (scf_transaction_property_new(tran, addEntry[i],
4709 if (scf_transaction_property_change(tran,
4798 if (scf_transaction_property_delete(tran, deleteEntry[j++],
4813 if (scf_transaction_property_new(tran, entry1,
4840 if (scf_transaction_property_new(tran, entry2,
4843 if (scf_transaction_property_change(tran, entry2,
4874 if (scf_transaction_property_new(tran, entry5,
4877 if (scf_transaction_property_change(tran, entry5,
4911 if (scf_transaction_property_new(tran, entry3,
4914 if (scf_transaction_property_change(tran, entry3,
4952 if ((commitRet = scf_transaction_commit(tran)) != 1) {
4984 if (tran != NULL) {
4985 scf_transaction_destroy(tran);