Lines Matching refs:tag

130 /* the tag of UID of each type of object */
690 /* set the tag, len and value */
691 attr->tag = UID_TAG[obj->type];
1312 switch (tmp->tag) {
1318 char *name = make_unique_name(&len, tmp->tag);
1321 attr->tag = tmp->tag;
1344 attr->tag = tmp->tag;
1360 attr->tag = tmp->tag;
1391 attr->tag = tmp->tag;
1396 attr->tag = tmp->tag;
1407 attr->tag = tmp->tag;
1450 if (src_attr->tag != 0) {
1498 attr->tag = tlv->attr_id;
1504 attr->tag = tlv->attr_id;
1514 attr->tag = tlv->attr_id;
1541 attr->tag = tlv->attr_id;
1567 attr->tag = tlv->attr_id;
1614 if (ec == 0 && tmp.tag != 0) {
1743 attr->tag = ISNS_EID_ATTR_ID;
1750 if (attr->tag == 0) {
1751 attr->tag = ISNS_ENTITY_REG_PERIOD_ATTR_ID;
1807 attr->tag = ISNS_PG_ISCSI_NAME_ATTR_ID;
1815 attr->tag = ISNS_PG_PORTAL_IP_ADDR_ATTR_ID;
1821 attr->tag = ISNS_PG_PORTAL_PORT_ATTR_ID;
1827 attr->tag = ISNS_PG_TAG_ATTR_ID;
1900 if (attr->tag == 0) {
1901 attr->tag = ISNS_ENTITY_REG_PERIOD_ATTR_ID;
1955 pg_key1->tag = PG_KEY1;
2022 pg_key1->tag = PG_KEY2;
2032 pg_key2->tag = PG_KEY3;
2140 * and the pg tag attributes.
2167 if (pgt[0].tag == PG_KEY2 &&
2168 pgt[1].tag == PG_KEY3) {
2170 /* followed to a portal group tag */
2180 ATTR_INDEX_PG(pgt[i].tag)];
2210 * node name and the pg tag attributes.
2247 /* expect pg tag */
2248 pgt[2].tag == PG_PGT &&
2250 pgt[1].tag == 0 &&
2251 pgt[0].tag == PG_KEY1) {
2253 /* to a pg tag and we have the iscsi storage */
2270 ATTR_INDEX_PG(pgt[i].tag)];
2302 * 2: the portal group tag attribute.
2331 pgt[1].tag = 0;
2332 pgt[2].tag = 0;
2336 pgt[2].tag = 0;
2339 if (pgt[2].tag == PG_PGT) {
2346 pgt[0].tag = 0;
2347 pgt[1].tag = 0;
2348 pgt[2].tag = 0;
2356 switch (pgt[0].tag) {
2358 /* portal group tag does not follow */
2365 pgt[2].tag = PG_PGT;
2424 * 2: the portal group tag attribute.
2632 switch (attr->tag) {
3877 * tag - which attribute of the new name is for.
3885 uint32_t tag
3898 switch (tag) {