Lines Matching defs:sm

91 			       IN osm_sm_t * sm,
111 if (sm->p_subn->opt.allow_both_pkeys)
141 if (((sm->p_subn->opt.allow_both_pkeys &&
143 (!sm->p_subn->opt.allow_both_pkeys &&
155 if ((sm->p_subn->opt.allow_both_pkeys &&
157 (!sm->p_subn->opt.allow_both_pkeys &&
171 } else if ((sm->p_subn->opt.allow_both_pkeys &&
173 (!sm->p_subn->opt.allow_both_pkeys &&
199 pkey_mgr_process_partition_table(osm_log_t * p_log, osm_sm_t * sm,
218 pkey_mgr_process_physical_port(p_log, sm, pkey,
224 pkey_mgr_update_pkey_entry(IN osm_sm_t * sm,
246 return osm_req_set(sm, osm_physp_get_dr_path_ptr(p_physp),
254 pkey_mgr_enforce_partition(IN osm_log_t * p_log, osm_sm_t * sm,
308 status = osm_req_set(sm, osm_physp_get_dr_path_ptr(p_physp),
373 static int pkey_mgr_update_port(osm_log_t * p_log, osm_sm_t * sm,
444 if (((sm->p_subn->opt.allow_both_pkeys &&
446 (!sm->p_subn->opt.allow_both_pkeys &&
462 ((sm->p_subn->opt.allow_both_pkeys &&
464 (!sm->p_subn->opt.allow_both_pkeys &&
468 } else if ((sm->p_subn->opt.allow_both_pkeys &&
470 (!sm->p_subn->opt.allow_both_pkeys &&
490 if ((sm->p_subn->opt.allow_both_pkeys &&
492 (!sm->p_subn->opt.allow_both_pkeys &&
583 pkey_mgr_update_pkey_entry(sm, p_physp, new_block,
636 static int update_peer_block(osm_log_t * p_log, osm_sm_t * sm,
648 if (pkey_mgr_update_pkey_entry(sm, peer, new_peer_block,
687 static int pkey_mgr_update_peer_port(osm_log_t * p_log, osm_sm_t * sm,
716 pkey_mgr_enforce_partition(p_log, sm, peer, OSM_PARTITION_ENFORCE_TYPE_OFF);
748 if (update_peer_block(p_log, sm, peer,
765 if (update_peer_block(p_log, sm, peer, p_peer_pkey_tbl,
804 if (pkey_mgr_enforce_partition(p_log, sm, peer, enforce_type))
841 pkey_mgr_process_partition_table(&p_osm->log, &p_osm->sm,
843 pkey_mgr_process_partition_table(&p_osm->log, &p_osm->sm,
853 if (pkey_mgr_update_port(&p_osm->log, &p_osm->sm, p_port))
856 && pkey_mgr_update_peer_port(&p_osm->log, &p_osm->sm,
882 if (pkey_mgr_enforce_partition(&p_osm->log, &p_osm->sm, p_physp, OSM_PARTITION_ENFORCE_TYPE_OFF))