Lines Matching refs:lc
630 lookup_ctrl_t lc, lc_key; local
664 ec = setup_key_lcp(&lc, key, key_len);
665 if (ec == 0 && lc.type != 0) {
666 lc_key = lc;
668 if ((uid = is_obj_there(&lc)) == 0) {
670 if (lc.type != OBJ_ENTITY) {
677 reg_auth_src(lc.type, uid, iscsi_name) == 0) {
684 UPDATE_LCP_UID(&lc, uid);
685 ec = dereg_object(&lc, 0);
787 SET_UID_LCP(&lc, OBJ_ENTITY, puid);
788 ec = dereg_object(&lc, 0);
1155 lookup_ctrl_t lc; local
1167 lc.curr_uid = 0;
1171 lc.id[0] = ATTR_INDEX_ENTITY(ISNS_EID_ATTR_ID);
1172 lc.op[0] = OP_STRING;
1173 lc.data[0].ptr = (uchar_t *)value;
1174 lc.op[1] = 0;
1175 lc.type = OBJ_ENTITY;
1178 lc.id[0] = ATTR_INDEX_ISCSI(ISNS_ISCSI_NAME_ATTR_ID);
1179 lc.op[0] = OP_STRING;
1180 lc.data[0].ptr = (uchar_t *)value;
1181 lc.op[1] = 0;
1182 lc.type = OBJ_ISCSI;
1185 lc.id[0] = ATTR_INDEX_ISCSI(
1187 lc.op[0] = OP_INTEGER;
1188 lc.data[0].ui = ntohl(*(uint32_t *)value);
1189 lc.op[1] = 0;
1190 lc.type = OBJ_ISCSI;
1193 lc.id[0] = ATTR_INDEX_PORTAL(
1195 lc.op[0] = OP_MEMORY_IP6;
1196 lc.data[0].ip = (in6_addr_t *)value;
1201 lc.id[1] = ATTR_INDEX_PORTAL(
1203 lc.op[1] = OP_INTEGER;
1204 lc.data[1].ui = ntohl(*(uint32_t *)value);
1205 lc.op[2] = 0;
1206 lc.type = OBJ_PORTAL;
1212 lc.id[0] = ATTR_INDEX_PORTAL(
1214 lc.op[0] = OP_INTEGER;
1215 lc.data[0].ui = ntohl(*(uint32_t *)value);
1216 lc.op[1] = 0;
1217 lc.type = OBJ_PORTAL;
1224 (ec = dereg_object(&lc, 0)) == 0) {
1227 lc.curr_uid != 0 &&
1228 puid != lc.curr_uid) {
1448 lookup_ctrl_t lc; local
1476 is_obj_there(setup_ddid_lcp(&lc, dd_id)) == 0))) {
1686 lookup_ctrl_t lc; local
1714 is_obj_there(setup_ddsid_lcp(&lc, dds_id)) == 0))) {