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