/freebsd-9.3-release/contrib/ofed/management/opensm/opensm/ |
H A D | osm_event_plugin.c | 66 osm_epi_plugin_t *osm_epi_construct(osm_opensm_t *osm, char *plugin_name) argument 84 OSM_LOG(&osm->log, OSM_LOG_ERROR, 94 OSM_LOG(&osm->log, OSM_LOG_ERROR, 103 OSM_LOG(&osm->log, OSM_LOG_ERROR, "Error loading plugin: " 111 if (strcmp(rc->impl->osm_version, osm->osm_version)) { 112 OSM_LOG(&osm->log, OSM_LOG_ERROR, "Error loading plugin" 120 OSM_LOG(&osm->log, OSM_LOG_ERROR, 126 rc->plugin_data = rc->impl->create(osm);
|
H A D | osm_opensm.c | 137 static void append_routing_engine(osm_opensm_t *osm, argument 144 if (!osm->routing_engine_list) { 145 osm->routing_engine_list = routing_engine; 149 r = osm->routing_engine_list; 156 static void setup_routing_engine(osm_opensm_t *osm, const char *name) argument 165 OSM_LOG(&osm->log, OSM_LOG_VERBOSE, 172 if (m->setup(re, osm)) { 173 OSM_LOG(&osm->log, OSM_LOG_VERBOSE, 178 OSM_LOG(&osm->log, OSM_LOG_DEBUG, 180 append_routing_engine(osm, r 189 setup_routing_engines(osm_opensm_t *osm, const char *engine_names) argument 227 destroy_routing_engines(osm_opensm_t *osm) argument 243 destroy_plugins(osm_opensm_t *osm) argument 317 load_plugins(osm_opensm_t *osm, const char *plugin_names) argument 485 osm_opensm_report_event(osm_opensm_t *osm, osm_epi_event_id_t event_id, void *event_data) argument [all...] |
H A D | osm_dump.c | 461 osm_opensm_t *osm = cxt; local 517 if (osm_physp_get_port_guid(p_physp) == osm->subn.sm_port_guid) 598 static void print_report(osm_opensm_t *osm, FILE *file) argument 604 dump_qmap(stdout, &osm->subn.node_guid_tbl, print_node_report, osm); 607 void osm_dump_mcast_routes(osm_opensm_t * osm) argument 609 if (osm_log_is_active(&osm->log, OSM_LOG_ROUTING)) 611 osm_dump_qmap_to_file(osm, "opensm.mcfdbs", 612 &osm->subn.sw_guid_tbl, 613 dump_mcast_routes, osm); 616 osm_dump_all(osm_opensm_t * osm) argument [all...] |
H A D | main.c | 441 static int daemonize(osm_opensm_t * osm) argument 517 osm_opensm_t osm; local 954 osm_vendor_set_debug(osm.p_vendor, vendor_debug); 959 daemonize(&osm); 963 status = osm_opensm_init(&osm, &opt); 980 opt.guid = get_port_guid(&osm, opt.guid); 982 status = osm_opensm_bind(&osm, opt.guid); 992 osm_opensm_sweep(&osm); 997 osm_opensm_wait_for_subnet_up(&osm, 998 osm [all...] |
H A D | osm_perfmgr.c | 732 static int perfmgr_discovery(osm_opensm_t * osm) argument 736 CL_PLOCK_ACQUIRE(&osm->lock); 737 cl_qmap_apply_func(&osm->subn.node_guid_tbl, reset_node_count, NULL); 738 cl_qmap_apply_func(&osm->subn.port_guid_tbl, reset_port_count, NULL); 739 cl_qmap_apply_func(&osm->subn.sw_guid_tbl, reset_switch_count, NULL); 740 CL_PLOCK_RELEASE(&osm->lock); 742 osm->subn.in_sweep_hop_0 = TRUE; 744 ret = sweep_hop_0(&osm->sm); 748 if (wait_for_pending_transactions(&osm->stats)) 751 if (is_sm_port_down(&osm 1215 osm_perfmgr_init(osm_perfmgr_t * const pm, osm_opensm_t *osm, const osm_subn_opt_t * const p_opt) argument [all...] |
H A D | osm_ucast_mgr.c | 787 static int ucast_mgr_route(struct osm_routing_engine *r, osm_opensm_t *osm) argument 791 OSM_LOG(&osm->log, OSM_LOG_VERBOSE, 796 ret = osm_ucast_mgr_build_lid_matrices(&osm->sm.ucast_mgr); 799 OSM_LOG(&osm->log, OSM_LOG_ERROR, 806 ret = ucast_mgr_build_lfts(&osm->sm.ucast_mgr); 809 OSM_LOG(&osm->log, OSM_LOG_ERROR, 814 osm->routing_engine_used = osm_routing_engine_type(r->name); 877 int osm_ucast_minhop_setup(struct osm_routing_engine *r, osm_opensm_t *osm) argument 879 r->context = &osm->sm.ucast_mgr; 897 int osm_ucast_dor_setup(struct osm_routing_engine *r, osm_opensm_t *osm) argument [all...] |
H A D | osm_ucast_updn.c | 530 osm_opensm_t *osm = cxt; local 535 sw = osm_get_switch_by_guid(&osm->subn, cl_hton64(guid)); 537 OSM_LOG(&osm->log, OSM_LOG_VERBOSE, 544 OSM_LOG(&osm->log, OSM_LOG_ERROR, 549 OSM_LOG(&osm->log, OSM_LOG_DEBUG, 670 int osm_ucast_updn_setup(struct osm_routing_engine *r, osm_opensm_t *osm) argument 679 updn->p_osm = osm;
|
H A D | osm_ucast_file.c | 390 int osm_ucast_file_setup(struct osm_routing_engine *r, osm_opensm_t *osm) argument 392 r->context = osm;
|
H A D | osm_perfmgr_db.c | 310 osm_opensm_report_event(db->perfmgr->osm, OSM_EVENT_ID_PORT_ERRORS, 435 osm_opensm_report_event(db->perfmgr->osm,
|
/freebsd-9.3-release/contrib/ofed/management/opensm/include/opensm/ |
H A D | osm_opensm.h | 507 void osm_opensm_report_event(osm_opensm_t *osm, osm_epi_event_id_t event_id, 511 void osm_dump_mcast_routes(osm_opensm_t * osm); 512 void osm_dump_all(osm_opensm_t * osm);
|
H A D | osm_event_plugin.h | 155 void *(*create) (struct osm_opensm *osm); 175 osm_epi_plugin_t *osm_epi_construct(struct osm_opensm *osm, char *plugin_name);
|
H A D | osm_perfmgr.h | 116 struct osm_opensm *osm; member in struct:osm_perfmgr 227 struct osm_opensm *osm, 234 * osm
|
/freebsd-9.3-release/contrib/ofed/management/opensm/osmeventplugin/src/ |
H A D | osmeventplugin.c | 64 static void *construct(osm_opensm_t *osm) argument 73 osm_log(&osm->log, OSM_LOG_ERROR, 80 log->osmlog = &osm->log;
|
/freebsd-9.3-release/sys/dev/hpt27xx/ |
H A D | os_bsd.h | 133 #include <dev/hpt27xx/osm.h>
|
/freebsd-9.3-release/sys/dev/hptnr/ |
H A D | os_bsd.h | 135 #include <dev/hptnr/osm.h>
|
/freebsd-9.3-release/sys/dev/hptrr/ |
H A D | os_bsd.h | 133 #include <dev/hptrr/osm.h>
|