Lines Matching refs:pip
1127 topo_ipgroup_info_t *pip;
1138 pip = pg->tpg_info;
1140 topo_hdl_strdup(thp, pip->tpi_name)) == NULL) {
1147 info->tpi_namestab = pip->tpi_namestab;
1148 info->tpi_datastab = pip->tpi_datastab;
1149 info->tpi_version = pip->tpi_version;
1161 pgroup_seterr(tnode_t *node, topo_pgroup_t *pg, topo_ipgroup_info_t *pip,
1166 if (pip != NULL) {
1167 if (pip->tpi_name != NULL)
1168 topo_hdl_strfree(thp, (char *)pip->tpi_name);
1169 topo_hdl_free(thp, pip, sizeof (topo_ipgroup_info_t));
1184 topo_ipgroup_info_t *pip;
1208 if ((pip = topo_hdl_zalloc(thp, sizeof (topo_ipgroup_info_t)))
1210 return (pgroup_seterr(node, pg, pip, err));
1212 if ((pip->tpi_name = topo_hdl_strdup(thp, pinfo->tpi_name))
1214 return (pgroup_seterr(node, pg, pip, err));
1216 pip->tpi_namestab = pinfo->tpi_namestab;
1217 pip->tpi_datastab = pinfo->tpi_datastab;
1218 pip->tpi_version = pinfo->tpi_version;
1220 pg->tpg_info = pip;
1234 topo_ipgroup_info_t *pip;
1258 pip = pg->tpg_info;
1259 if (pip != NULL) {
1260 if (pip->tpi_name != NULL)
1261 topo_hdl_strfree(thp, (char *)pip->tpi_name);
1262 topo_hdl_free(thp, pip, sizeof (topo_ipgroup_info_t));
1274 topo_ipgroup_info_t *pip;
1286 pip = pg->tpg_info;
1287 if (pip != NULL) {
1288 if (pip->tpi_name != NULL)
1289 topo_hdl_strfree(thp, (char *)pip->tpi_name);
1290 topo_hdl_free(thp, pip, sizeof (topo_pgroup_info_t));