Lines Matching defs:lcp

308  * lcp	- the pointer of the lookup control data.
318 lookup_ctrl_t *lcp,
327 lcp->curr_uid = 0;
328 lcp->op[0] = 0;
333 lcp->type = OBJ_ENTITY;
334 lcp->id[0] = ATTR_INDEX_ENTITY(ISNS_EID_ATTR_ID);
335 lcp->op[0] = OP_STRING;
336 lcp->data[0].ptr = (uchar_t *)value;
337 lcp->op[1] = 0;
342 lcp->type = OBJ_ISCSI;
343 lcp->id[0] = ATTR_INDEX_ISCSI(ISNS_ISCSI_NAME_ATTR_ID);
344 lcp->op[0] = OP_STRING;
345 lcp->data[0].ptr = (uchar_t *)value;
346 lcp->op[1] = 0;
353 lcp->id[0] = ATTR_INDEX_PORTAL(
355 lcp->op[0] = OP_MEMORY_IP6;
356 lcp->data[0].ip = (in6_addr_t *)value;
363 lcp->type = OBJ_PORTAL;
365 lcp->id[1] = ATTR_INDEX_PORTAL(
367 lcp->op[1] = OP_INTEGER;
368 lcp->data[1].ui = ntohl(*(uint32_t *)value);
369 lcp->op[2] = 0;
378 lcp->id[0] = ATTR_INDEX_PG(ISNS_PG_ISCSI_NAME_ATTR_ID);
379 lcp->op[0] = OP_STRING;
380 lcp->data[0].ptr = (uchar_t *)value;
388 lcp->id[1] = ATTR_INDEX_PG(ISNS_PG_PORTAL_IP_ADDR_ATTR_ID);
389 lcp->op[1] = OP_MEMORY_IP6;
390 lcp->data[1].ip = (in6_addr_t *)value;
398 lcp->id[2] = ATTR_INDEX_PG(ISNS_PG_PORTAL_PORT_ATTR_ID);
399 lcp->op[2] = OP_INTEGER;
400 lcp->data[2].ui = ntohl(*(uint32_t *)value);
401 lcp->type = OBJ_PG;
404 lcp->type = 0; /* invalid */
662 /* validate key attributes and make lcp for */
1359 * lcp - pointer to the lookup control data.
1361 * return - the pointer to the lcp.
1370 lookup_ctrl_t *lcp,
1374 lcp->curr_uid = 0;
1375 lcp->type = OBJ_DD;
1376 lcp->id[0] = ATTR_INDEX_DD(ISNS_DD_ID_ATTR_ID);
1377 lcp->op[0] = OP_INTEGER;
1378 lcp->data[0].ui = dd_id;
1379 lcp->op[1] = 0;
1381 return (lcp);
1391 * lcp - pointer to the lookup control data.
1393 * return - the pointer to the lcp.
1402 lookup_ctrl_t *lcp,
1406 lcp->curr_uid = 0;
1407 lcp->type = OBJ_DDS;
1408 lcp->id[0] = ATTR_INDEX_DDS(ISNS_DD_SET_ID_ATTR_ID);
1409 lcp->op[0] = OP_INTEGER;
1410 lcp->data[0].ui = dds_id;
1411 lcp->op[1] = 0;
1413 return (lcp);