Lines Matching refs:lc

85 	lookup_ctrl_t lc;  in cb_update_ds_attr()  local
113 lc.type = lcp->type; in cb_update_ds_attr()
114 lc.curr_uid = 0; in cb_update_ds_attr()
115 lc.id[0] = which; in cb_update_ds_attr()
116 lc.op[0] = OP_STRING; in cb_update_ds_attr()
117 lc.data[0].ptr = name; in cb_update_ds_attr()
118 lc.op[1] = 0; in cb_update_ds_attr()
120 uid = is_obj_there(&lc); in cb_update_ds_attr()
228 lookup_ctrl_t lc = { 0 }; in get_member_info() local
243 lc.type = OBJ_ISCSI; in get_member_info()
246 lc.id[i] = UID_ATTR_INDEX[OBJ_ISCSI]; in get_member_info()
247 lc.op[i] = OP_INTEGER; in get_member_info()
248 lc.data[i].ui = *m_id; in get_member_info()
252 lc.id[i] = ATTR_INDEX_ISCSI(ISNS_ISCSI_NAME_ATTR_ID); in get_member_info()
253 lc.op[i] = OP_STRING; in get_member_info()
254 lc.data[i].ptr = attr2->value.ptr; in get_member_info()
257 lc.id[i] = ISNS_ISCSI_NAME_ATTR_ID; in get_member_info()
271 ec = cache_lookup(&lc, &tmp_id, cb_clone_attrs); in get_member_info()
303 attr2->len = strlen((char *)lc.data[1].ptr); in get_member_info()
305 attr2->value.ptr = lc.data[1].ptr; in get_member_info()
320 lookup_ctrl_t lc; in get_dds_member_info() local
326 SET_UID_LCP(&lc, OBJ_DD, m_id); in get_dds_member_info()
331 tmp_id = is_obj_there(&lc); in get_dds_member_info()
685 lookup_ctrl_t lc; in get_dds_status() local
691 SET_UID_LCP(&lc, OBJ_DDS, dds_id); in get_dds_status()
693 return (cache_lookup(&lc, NULL, cb_get_dds_status)); in get_dds_status()
746 lookup_ctrl_t lc; in get_scope() local
767 lc.curr_uid = 0; in get_scope()
768 lc.type = OBJ_ISCSI; in get_scope()
769 lc.id[0] = ATTR_INDEX_ISCSI(ISNS_ISCSI_NAME_ATTR_ID); in get_scope()
770 lc.op[0] = OP_STRING; in get_scope()
771 lc.data[0].ptr = node_name; in get_scope()
772 lc.op[1] = 0; in get_scope()
774 uid = is_obj_there(&lc); in get_scope()
1366 lookup_ctrl_t lc; in update_ds_name() local
1368 SET_UID_LCP(&lc, type, uid); in update_ds_name()
1370 lc.id[1] = tag; in update_ds_name()
1371 lc.data[1].ui = len; in update_ds_name()
1372 lc.data[2].ptr = name; in update_ds_name()
1374 ec = cache_rekey(&lc, &uid, cb_update_ds_attr); in update_ds_name()
1427 lookup_ctrl_t lc; in update_ds_uint32() local
1429 SET_UID_LCP(&lc, type, uid); in update_ds_uint32()
1431 lc.id[1] = tag; in update_ds_uint32()
1432 lc.data[1].ui = value; in update_ds_uint32()
1434 ec = cache_lookup(&lc, &uid, cb_update_ds_attr); in update_ds_uint32()
1559 lookup_ctrl_t lc; in remove_dd_member() local
1592 SET_UID_LCP(&lc, m_type, m_id); in remove_dd_member()
1593 ec = dereg_assoc(&lc); in remove_dd_member()
1714 lookup_ctrl_t lc; in remove_dd_object() local
1724 SET_UID_LCP(&lc, OBJ_DD, dd_id); in remove_dd_object()
1727 ec = dereg_object(&lc, 0); in remove_dd_object()
1739 SET_UID_LCP(&lc, OBJ_ISCSI, 0); in remove_dd_object()
1741 lc.data[0].ui = uid; in remove_dd_object()
1742 (void) dereg_assoc(&lc); in remove_dd_object()
1757 lookup_ctrl_t lc; in remove_dds_object() local
1768 SET_UID_LCP(&lc, OBJ_DDS, dds_id); in remove_dds_object()
1770 ec = dereg_object(&lc, 0); in remove_dds_object()
1803 lookup_ctrl_t lc; in verify_ddd() local
1814 SET_UID_LCP(&lc, OBJ_DD, uid); in verify_ddd()
1818 if (is_obj_there(&lc) == 0) { in verify_ddd()
1836 SET_UID_LCP(&lc, OBJ_DDS, uid); in verify_ddd()
1838 if (is_obj_there(&lc) == 0) { in verify_ddd()