Lines Matching defs:pg

1781 	isns_obj_t *pg;
1801 pg = obj_calloc(OBJ_PG);
1804 if (pg != NULL && pg_name != NULL && pg_addr != NULL) {
1806 attr = &pg->attrs[ATTR_INDEX_PG(ISNS_PG_ISCSI_NAME_ATTR_ID)];
1813 attr = &pg->attrs[ATTR_INDEX_PG(
1819 attr = &pg->attrs[ATTR_INDEX_PG(
1825 attr = &pg->attrs[ATTR_INDEX_PG(
1831 refp = get_ref_p(pg, OBJ_ISCSI);
1834 refp = get_ref_p(pg, OBJ_PORTAL);
1837 (void) set_parent_obj(pg, get_parent_uid(iscsi));
1839 free(pg);
1842 pg = NULL;
1845 return (pg);
1953 /* parsing a pg object which is immediately */
2108 /* parse a complete pg object */
2139 * pgt - the size-3 array of pointers which have the pg portal ip addr, port
2140 * and the pg tag attributes.
2169 /* the pg iscsi storage node name is */
2173 /* copy pg iscsi storage node name */
2177 /* copy pg ip addr, pg port & pgt */
2209 * pgt - the size-3 array of pointers which have the pg iscsi storage
2210 * node name and the pg tag attributes.
2244 /* expect pg portal port */
2247 /* expect pg tag */
2249 /* expect pg iscsi storage node name only */
2252 /* the pg portal ip addr & port is followed */
2253 /* to a pg tag and we have the iscsi storage */
2257 /* copy the pg ip addr */
2261 /* copy the pg port */
2267 /* copy pg iscsi storage node name & pgt */
2299 * 0: the first pg key attribute, it is either the name of an
2301 * 1: the second pg key attribute, i.e. the portal port.
2340 /* pg iscsi storage node name is */
2344 /* a complete pg object */
2352 /* pg portal ip addr is followed to a pgt */
2421 * 0: the first pg key attribute, it is either the name of an
2423 * 1: the second pg key attribute, i.e. the portal port.
3070 const isns_obj_t *pg,
3084 lcp->data[i].ptr = pg->attrs[