Lines Matching refs:sa

75 	osm_sa_t *sa;
80 __osm_smir_rcv_new_smir(IN osm_sa_t * sa,
91 OSM_LOG_ENTER(sa->p_log);
95 OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 2801: "
101 OSM_LOG(sa->p_log, OSM_LOG_DEBUG,
114 OSM_LOG_EXIT(sa->p_log);
121 __osm_sa_smir_by_comp_mask(IN osm_sa_t * sa,
129 OSM_LOG_ENTER(sa->p_log);
150 __osm_smir_rcv_new_smir(sa, p_rem_sm->p_port, p_ctxt->p_list,
156 OSM_LOG_EXIT(sa->p_log);
169 __osm_sa_smir_by_comp_mask(p_ctxt->sa, p_rem_sm, p_ctxt);
176 osm_sa_t *sa = ctx;
193 CL_ASSERT(sa);
195 OSM_LOG_ENTER(sa->p_log);
209 OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 2804: "
212 osm_sa_send_error(sa, p_madw, IB_MAD_STATUS_UNSUP_METHOD_ATTR);
217 p_req_physp = osm_get_physp_by_mad_addr(sa->p_log, sa->p_subn,
221 OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 2803: "
226 if (osm_log_is_active(sa->p_log, OSM_LOG_DEBUG))
227 osm_dump_sm_info_record(sa->p_log, p_rcvd_rec, OSM_LOG_DEBUG);
236 context.sa = sa;
239 cl_plock_acquire(sa->p_lock);
247 osm_get_port_by_base_lid(sa->p_subn, p_rcvd_rec->lid,
251 OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 2806: "
259 local_port = osm_get_port_by_guid(sa->p_subn,
260 sa->p_subn->sm_port_guid);
262 cl_plock_release(sa->p_lock);
263 OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 2809: "
265 cl_ntoh64(sa->p_subn->sm_port_guid));
271 osm_physp_share_pkey(sa->p_log, p_req_physp,
273 cl_plock_release(sa->p_lock);
274 OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 2805: "
281 sa->p_subn->sm_port_guid != p_smi->guid)
284 sa->p_subn->opt.sm_priority !=
288 sa->p_subn->sm_state != ib_sminfo_get_state(p_smi))
292 pri_state = sa->p_subn->sm_state & 0x0F;
294 (sa->p_subn->opt.sm_priority & 0x0F) << 4;
295 __osm_smir_rcv_new_smir(sa, local_port, context.p_list,
296 sa->p_subn->sm_port_guid,
297 cl_ntoh32(sa->p_subn->p_osm->stats.qp0_mads_sent),
305 p_sm_guid_tbl = &sa->p_subn->sm_guid_tbl;
311 __osm_sa_smir_by_comp_mask(sa, p_rem_sm,
314 OSM_LOG(sa->p_log, OSM_LOG_ERROR, "ERR 280A: "
319 cl_qmap_apply_func(&sa->p_subn->sm_guid_tbl,
325 cl_plock_release(sa->p_lock);
327 osm_sa_respond(sa, p_madw, sizeof(ib_sminfo_record_t), &rec_list);
330 OSM_LOG_EXIT(sa->p_log);