Lines Matching refs:tran
298 scf_transaction_t *tran = NULL; in iPsAddRemoveGroupMember() local
322 ((tran = scf_transaction_create(handle)) == NULL) || in iPsAddRemoveGroupMember()
350 if (scf_transaction_start(tran, pg) == -1) { in iPsAddRemoveGroupMember()
364 if (scf_transaction_property_change(tran, entry, groupName, in iPsAddRemoveGroupMember()
558 if ((commitRet = scf_transaction_commit(tran)) != 1) { in iPsAddRemoveGroupMember()
582 if (tran != NULL) { in iPsAddRemoveGroupMember()
583 scf_transaction_destroy(tran); in iPsAddRemoveGroupMember()
640 scf_transaction_t *tran = NULL; in iPsAddRemoveLuViewEntry() local
663 ((tran = scf_transaction_create(handle)) == NULL) || in iPsAddRemoveLuViewEntry()
704 if (scf_transaction_start(tran, pg) == -1) { in iPsAddRemoveLuViewEntry()
717 if (scf_transaction_property_new(tran, entry, STMF_VE_CNT, in iPsAddRemoveLuViewEntry()
735 if (scf_transaction_property_change(tran, entry, in iPsAddRemoveLuViewEntry()
832 if (scf_transaction_property_new(tran, entryVeName, in iPsAddRemoveLuViewEntry()
850 if (scf_transaction_property_delete(tran, entryVeName, in iPsAddRemoveLuViewEntry()
868 if ((commitRet = scf_transaction_commit(tran)) != 1) { in iPsAddRemoveLuViewEntry()
892 if (tran != NULL) { in iPsAddRemoveLuViewEntry()
893 scf_transaction_destroy(tran); in iPsAddRemoveLuViewEntry()
928 scf_transaction_t *tran = NULL; in iPsAddViewEntry() local
956 ((tran = scf_transaction_create(handle)) == NULL)) { in iPsAddViewEntry()
1002 if (scf_transaction_start(tran, pg) == -1) { in iPsAddViewEntry()
1012 if (scf_transaction_property_new(tran, entry[i], in iPsAddViewEntry()
1045 if (scf_transaction_property_new(tran, entry[i], in iPsAddViewEntry()
1085 if (scf_transaction_property_new(tran, entry[i], in iPsAddViewEntry()
1120 if (scf_transaction_property_new(tran, entry[i], in iPsAddViewEntry()
1160 if (scf_transaction_property_new(tran, entry[i], STMF_VE_LUNBR, in iPsAddViewEntry()
1212 if ((commitRet = scf_transaction_commit(tran)) != 1) { in iPsAddViewEntry()
1263 if (tran != NULL) { in iPsAddViewEntry()
1264 scf_transaction_destroy(tran); in iPsAddViewEntry()
1388 scf_transaction_t *tran = NULL; in iPsCreateDeleteGroup() local
1411 ((tran = scf_transaction_create(handle)) == NULL) || in iPsCreateDeleteGroup()
1558 if (scf_transaction_start(tran, pg) == -1) { in iPsCreateDeleteGroup()
1570 if (scf_transaction_property_new(tran, entry1, buf1, in iPsCreateDeleteGroup()
1594 if (scf_transaction_property_new(tran, entry2, buf2, in iPsCreateDeleteGroup()
1606 if (scf_transaction_property_delete(tran, entry1, buf1) in iPsCreateDeleteGroup()
1617 if (scf_transaction_property_delete(tran, entry2, buf2) in iPsCreateDeleteGroup()
1631 if ((commitRet = scf_transaction_commit(tran)) != 1) { in iPsCreateDeleteGroup()
1654 if (tran != NULL) { in iPsCreateDeleteGroup()
1655 scf_transaction_destroy(tran); in iPsCreateDeleteGroup()
2075 scf_transaction_t *tran = NULL; in iPsGetSetPersistType() local
2085 ((tran = scf_transaction_create(handle)) == NULL) || in iPsGetSetPersistType()
2151 if (scf_transaction_start(tran, pg) == -1) { in iPsGetSetPersistType()
2160 if (scf_transaction_property_new(tran, entry, in iPsGetSetPersistType()
2170 if (scf_transaction_property_change(tran, entry, in iPsGetSetPersistType()
2202 if ((commitRet = scf_transaction_commit(tran)) != 1) { in iPsGetSetPersistType()
2262 if (tran != NULL) { in iPsGetSetPersistType()
2263 scf_transaction_destroy(tran); in iPsGetSetPersistType()
2290 scf_transaction_t *tran = NULL; in iPsGetSetStmfProp() local
2320 ((tran = scf_transaction_create(handle)) == NULL) || in iPsGetSetStmfProp()
2415 if (scf_transaction_start(tran, pg) == -1) { in iPsGetSetStmfProp()
2422 if (scf_transaction_property_new(tran, entry, in iPsGetSetStmfProp()
2431 if (scf_transaction_property_change(tran, entry, in iPsGetSetStmfProp()
2466 if ((commitRet = scf_transaction_commit(tran)) != 1) { in iPsGetSetStmfProp()
2535 if (tran != NULL) { in iPsGetSetStmfProp()
2536 scf_transaction_destroy(tran); in iPsGetSetStmfProp()
2647 scf_transaction_t *tran = NULL; in iPsGetServiceVersion() local
2655 ((tran = scf_transaction_create(handle)) == NULL) || in iPsGetServiceVersion()
2726 if (scf_transaction_start(tran, pg) == -1) { in iPsGetServiceVersion()
2733 if (scf_transaction_property_new(tran, entry, in iPsGetServiceVersion()
2758 if ((commitRet = scf_transaction_commit(tran)) != 1) { in iPsGetServiceVersion()
2815 if (tran != NULL) { in iPsGetServiceVersion()
2816 scf_transaction_destroy(tran); in iPsGetServiceVersion()
4427 scf_transaction_t *tran = NULL; in psSetProviderData() local
4495 ((tran = scf_transaction_create(handle)) == NULL)) { in psSetProviderData()
4529 if (scf_transaction_start(tran, pg) == -1) { in psSetProviderData()
4700 if (scf_transaction_property_new(tran, addEntry[i], in psSetProviderData()
4703 if (scf_transaction_property_change(tran, in psSetProviderData()
4792 if (scf_transaction_property_delete(tran, deleteEntry[j++], in psSetProviderData()
4807 if (scf_transaction_property_new(tran, entry1, in psSetProviderData()
4834 if (scf_transaction_property_new(tran, entry2, in psSetProviderData()
4837 if (scf_transaction_property_change(tran, entry2, in psSetProviderData()
4868 if (scf_transaction_property_new(tran, entry5, in psSetProviderData()
4871 if (scf_transaction_property_change(tran, entry5, in psSetProviderData()
4905 if (scf_transaction_property_new(tran, entry3, in psSetProviderData()
4908 if (scf_transaction_property_change(tran, entry3, in psSetProviderData()
4946 if ((commitRet = scf_transaction_commit(tran)) != 1) { in psSetProviderData()
4978 if (tran != NULL) { in psSetProviderData()
4979 scf_transaction_destroy(tran); in psSetProviderData()