Lines Matching refs:viewEntryPgName
632 iPsAddRemoveLuViewEntry(char *luPgName, char *viewEntryPgName, in iPsAddRemoveLuViewEntry() argument
648 assert(luPgName != NULL || viewEntryPgName != NULL); in iPsAddRemoveLuViewEntry()
823 luPgName, viewEntryPgName, scf_strerror(scf_error())); in iPsAddRemoveLuViewEntry()
833 viewEntryPgName, SCF_TYPE_USTRING) == -1) { in iPsAddRemoveLuViewEntry()
839 "failed - %s", luPgName, viewEntryPgName, in iPsAddRemoveLuViewEntry()
851 viewEntryPgName) == -1) { in iPsAddRemoveLuViewEntry()
857 "failed - %s", luPgName, viewEntryPgName, in iPsAddRemoveLuViewEntry()
922 iPsAddViewEntry(char *luPgName, char *viewEntryPgName, stmfViewEntry *viewEntry) in iPsAddViewEntry() argument
938 assert(luPgName != NULL || viewEntryPgName != NULL || in iPsAddViewEntry()
981 if (scf_service_add_pg(svc, viewEntryPgName, SCF_GROUP_APPLICATION, in iPsAddViewEntry()
987 viewEntryPgName, scf_strerror(scf_error())); in iPsAddViewEntry()
1004 viewEntryPgName, scf_strerror(scf_error())); in iPsAddViewEntry()
1018 "failed - %s", viewEntryPgName, STMF_VE_ALLHOSTS, in iPsAddViewEntry()
1034 viewEntryPgName, STMF_VE_ALLHOSTS, in iPsAddViewEntry()
1051 "failed - %s", viewEntryPgName, STMF_VE_HOSTGROUP, in iPsAddViewEntry()
1063 viewEntryPgName, STMF_VE_HOSTGROUP, in iPsAddViewEntry()
1074 viewEntryPgName, STMF_VE_HOSTGROUP, in iPsAddViewEntry()
1091 "failed - %s", viewEntryPgName, STMF_VE_ALLTARGETS, in iPsAddViewEntry()
1109 viewEntryPgName, STMF_VE_ALLTARGETS, in iPsAddViewEntry()
1126 "failed - %s", viewEntryPgName, in iPsAddViewEntry()
1138 viewEntryPgName, STMF_VE_TARGETGROUP, in iPsAddViewEntry()
1149 viewEntryPgName, STMF_VE_TARGETGROUP, in iPsAddViewEntry()
1166 "failed - %s", viewEntryPgName, STMF_VE_LUNBR, in iPsAddViewEntry()
1179 viewEntryPgName, STMF_VE_LUNBR, scf_strerror(scf_error())); in iPsAddViewEntry()
1189 viewEntryPgName, STMF_VE_LUNBR, scf_strerror(scf_error())); in iPsAddViewEntry()
1199 ret = iPsAddRemoveLuViewEntry(luPgName, viewEntryPgName, ADD); in iPsAddViewEntry()
1214 viewEntryPgName, scf_strerror(scf_error())); in iPsAddViewEntry()
1228 backoutRet = iPsAddRemoveLuViewEntry(luPgName, viewEntryPgName, in iPsAddViewEntry()
1257 viewEntryPgName, scf_strerror(scf_error())); in iPsAddViewEntry()
3050 char viewEntryPgName[VIEW_ENTRY_PG_SIZE]; in psAddViewEntry() local
3090 bzero(viewEntryPgName, sizeof (viewEntryPgName)); in psAddViewEntry()
3095 (void) snprintf(viewEntryPgName, sizeof (viewEntryPgName), in psAddViewEntry()
3098 ret = iPsAddViewEntry(scfLuPgName, viewEntryPgName, viewEntry); in psAddViewEntry()
3500 char viewEntryPgName[VIEW_ENTRY_PG_SIZE]; in psGetViewEntryList() local
3601 if (scf_property_get_name(prop, viewEntryPgName, in psGetViewEntryList()
3602 sizeof (viewEntryPgName)) != -1) { in psGetViewEntryList()
3603 if (strncmp(viewEntryPgName, STMF_VE_PREFIX, in psGetViewEntryList()
3616 if ((ret = iPsGetViewEntry(viewEntryPgName, in psGetViewEntryList()
3684 iPsGetViewEntry(char *viewEntryPgName, stmfViewEntry *viewEntry) in iPsGetViewEntry() argument
3719 if (scf_service_get_pg(svc, viewEntryPgName, pg) == -1) { in iPsGetViewEntry()
3724 viewEntryPgName, scf_strerror(scf_error())); in iPsGetViewEntry()
3735 indexPtr = strchr(viewEntryPgName, '-'); in iPsGetViewEntry()
3750 viewEntryPgName, STMF_VE_ALLHOSTS, in iPsGetViewEntry()
3758 viewEntryPgName, STMF_VE_ALLHOSTS, in iPsGetViewEntry()
3767 viewEntryPgName, STMF_VE_ALLHOSTS, in iPsGetViewEntry()
3778 viewEntryPgName, STMF_VE_HOSTGROUP, in iPsGetViewEntry()
3786 viewEntryPgName, STMF_VE_HOSTGROUP, in iPsGetViewEntry()
3795 viewEntryPgName, STMF_VE_HOSTGROUP, in iPsGetViewEntry()
3807 viewEntryPgName, STMF_VE_ALLTARGETS, in iPsGetViewEntry()
3815 viewEntryPgName, STMF_VE_ALLTARGETS, in iPsGetViewEntry()
3824 viewEntryPgName, STMF_VE_ALLTARGETS, in iPsGetViewEntry()
3834 viewEntryPgName, STMF_VE_TARGETGROUP, in iPsGetViewEntry()
3842 viewEntryPgName, STMF_VE_TARGETGROUP, in iPsGetViewEntry()
3851 viewEntryPgName, STMF_VE_TARGETGROUP, in iPsGetViewEntry()
3863 viewEntryPgName, STMF_VE_LUNBR, in iPsGetViewEntry()
3871 viewEntryPgName, STMF_VE_LUNBR, in iPsGetViewEntry()
3881 viewEntryPgName, STMF_VE_LUNBR, in iPsGetViewEntry()
5045 char viewEntryPgName[VIEW_ENTRY_PG_SIZE]; in psGetViewEntry() local
5077 (void) snprintf(viewEntryPgName, sizeof (viewEntryPgName), in psGetViewEntry()
5080 if (scf_service_get_pg(svc, viewEntryPgName, pg) == -1) { in psGetViewEntry()
5085 viewEntryPgName, scf_strerror(scf_error())); in psGetViewEntry()
5092 if ((ret = iPsGetViewEntry(viewEntryPgName, ve)) != STMF_PS_SUCCESS) { in psGetViewEntry()
5133 char viewEntryPgName[VIEW_ENTRY_PG_SIZE]; in psRemoveViewEntry() local
5177 (void) snprintf(viewEntryPgName, sizeof (viewEntryPgName), in psRemoveViewEntry()
5180 if (scf_service_get_pg(svc, viewEntryPgName, pg) == -1) { in psRemoveViewEntry()
5185 viewEntryPgName, scf_strerror(scf_error())); in psRemoveViewEntry()
5197 if ((ret = iPsAddRemoveLuViewEntry(luPgName, viewEntryPgName, in psRemoveViewEntry()
5208 syslog(LOG_ERR, "delete pg %s failed - %s", viewEntryPgName, in psRemoveViewEntry()
5210 if ((ret = iPsAddRemoveLuViewEntry(luPgName, viewEntryPgName, in psRemoveViewEntry()
5213 "inconsistency - %s", viewEntryPgName, in psRemoveViewEntry()