Home
last modified time | relevance | path

Searched refs:osm (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_dump.c555 osm_opensm_t *osm = cxt; in print_node_report() local
616 if (osm_physp_get_port_guid(p_physp) == osm->subn.sm_port_guid) in print_node_report()
693 static void print_report(osm_opensm_t * osm, FILE * file) in print_report() argument
699 dump_qmap(stdout, &osm->subn.node_guid_tbl, print_node_report, osm); in print_report()
702 void osm_dump_mcast_routes(osm_opensm_t * osm) in osm_dump_mcast_routes() argument
704 if (OSM_LOG_IS_ACTIVE_V2(&osm->log, OSM_LOG_ROUTING)) in osm_dump_mcast_routes()
706 osm_dump_qmap_to_file(osm, "opensm.mcfdbs", in osm_dump_mcast_routes()
707 &osm->subn.sw_guid_tbl, in osm_dump_mcast_routes()
708 dump_mcast_routes, osm); in osm_dump_mcast_routes()
711 void osm_dump_all(osm_opensm_t * osm) in osm_dump_all() argument
[all …]
H A Dosm_opensm.c159 static void append_routing_engine(osm_opensm_t *osm, in append_routing_engine() argument
166 if (!osm->routing_engine_list) { in append_routing_engine()
167 osm->routing_engine_list = routing_engine; in append_routing_engine()
171 r = osm->routing_engine_list; in append_routing_engine()
178 static struct osm_routing_engine *setup_routing_engine(osm_opensm_t *osm, in setup_routing_engine() argument
185 osm->no_fallback_routing_engine = TRUE; in setup_routing_engine()
193 OSM_LOG(&osm->log, OSM_LOG_VERBOSE, in setup_routing_engine()
201 if (m->setup(re, osm)) { in setup_routing_engine()
202 OSM_LOG(&osm->log, OSM_LOG_VERBOSE, in setup_routing_engine()
208 OSM_LOG(&osm->log, OSM_LOG_DEBUG, in setup_routing_engine()
[all …]
H A Dosm_event_plugin.c68 osm_epi_plugin_t *osm_epi_construct(osm_opensm_t *osm, char *plugin_name) in osm_epi_construct() argument
86 OSM_LOG(&osm->log, OSM_LOG_ERROR, in osm_epi_construct()
96 OSM_LOG(&osm->log, OSM_LOG_ERROR, in osm_epi_construct()
105 OSM_LOG(&osm->log, OSM_LOG_ERROR, "Error loading plugin: " in osm_epi_construct()
113 if (strcmp(rc->impl->osm_version, osm->osm_version)) { in osm_epi_construct()
114 OSM_LOG(&osm->log, OSM_LOG_ERROR, "Error loading plugin" in osm_epi_construct()
122 OSM_LOG(&osm->log, OSM_LOG_ERROR, in osm_epi_construct()
128 rc->plugin_data = rc->impl->create(osm); in osm_epi_construct()
H A Dmain.c515 static int daemonize(osm_opensm_t * osm) in daemonize() argument
605 osm_opensm_t osm; in main() local
1172 osm_vendor_set_debug(osm.p_vendor, vendor_debug); in main()
1182 daemonize(&osm); in main()
1187 status = osm_opensm_init(&osm, &opt); in main()
1204 opt.guid = get_port_guid(&osm, opt.guid); in main()
1209 status = osm_opensm_init_finish(&osm, &opt); in main()
1218 status = osm_opensm_bind(&osm, opt.guid); in main()
1228 osm_opensm_sweep(&osm); in main()
1233 osm_opensm_wait_for_subnet_up(&osm, in main()
[all …]
H A Dosm_perfmgr.c255 cl_plock_acquire(&pm->osm->lock); in perfmgr_mad_send_err_callback()
258 cl_plock_release(&pm->osm->lock); in perfmgr_mad_send_err_callback()
271 cl_plock_release(&pm->osm->lock); in perfmgr_mad_send_err_callback()
709 cl_plock_acquire(&pm->osm->lock); in perfmgr_query_counters()
823 cl_plock_release(&pm->osm->lock); in perfmgr_query_counters()
1006 static int perfmgr_discovery(osm_opensm_t * osm) in perfmgr_discovery() argument
1010 CL_PLOCK_ACQUIRE(&osm->lock); in perfmgr_discovery()
1011 cl_qmap_apply_func(&osm->subn.node_guid_tbl, reset_node_count, NULL); in perfmgr_discovery()
1012 cl_qmap_apply_func(&osm->subn.port_guid_tbl, reset_port_count, NULL); in perfmgr_discovery()
1013 cl_qmap_apply_func(&osm->subn.sw_guid_tbl, reset_switch_count, NULL); in perfmgr_discovery()
[all …]
H A Dosm_torus.c241 osm_opensm_t *osm; member
286 osm_opensm_t *osm; member
327 osm_opensm_t *osm; member
412 struct torus_context *torus_context_create(osm_opensm_t *osm) in torus_context_create() argument
418 ctx->osm = osm; in torus_context_create()
420 OSM_LOG(&osm->log, OSM_LOG_ERROR, in torus_context_create()
511 OSM_LOG(&f->osm->log, OSM_LOG_ERROR, in alloc_fswitch()
523 OSM_LOG(&f->osm->log, OSM_LOG_ERROR, in alloc_fswitch()
547 OSM_LOG(&f->osm->log, OSM_LOG_ERROR, in alloc_flink()
558 OSM_LOG(&f->osm->log, OSM_LOG_ERROR, in alloc_flink()
[all …]
H A Dosm_ucast_mgr.c1060 static int ucast_mgr_route(struct osm_routing_engine *r, osm_opensm_t * osm) in ucast_mgr_route() argument
1064 OSM_LOG(&osm->log, OSM_LOG_VERBOSE, in ucast_mgr_route()
1068 if (osm->subn.opt.scatter_ports) in ucast_mgr_route()
1069 srandom(osm->subn.opt.scatter_ports); in ucast_mgr_route()
1073 ret = osm_ucast_mgr_build_lid_matrices(&osm->sm.ucast_mgr); in ucast_mgr_route()
1076 OSM_LOG(&osm->log, OSM_LOG_ERROR, in ucast_mgr_route()
1083 ret = ucast_mgr_build_lfts(&osm->sm.ucast_mgr); in ucast_mgr_route()
1086 OSM_LOG(&osm->log, OSM_LOG_ERROR, in ucast_mgr_route()
1091 osm->routing_engine_used = r; in ucast_mgr_route()
1093 osm_ucast_mgr_set_fwd_tables(&osm->sm.ucast_mgr); in ucast_mgr_route()
[all …]
H A Dosm_ucast_updn.c521 osm_opensm_t *osm = cxt; in update_id() local
526 sw = osm_get_switch_by_guid(&osm->subn, cl_hton64(guid)); in update_id()
528 OSM_LOG(&osm->log, OSM_LOG_VERBOSE, in update_id()
535 OSM_LOG(&osm->log, OSM_LOG_ERROR, in update_id()
540 OSM_LOG(&osm->log, OSM_LOG_DEBUG, in update_id()
661 int osm_ucast_updn_setup(struct osm_routing_engine *r, osm_opensm_t *osm) in osm_ucast_updn_setup() argument
670 updn->p_osm = osm; in osm_ucast_updn_setup()
H A Dosm_ucast_dnup.c480 int osm_ucast_dnup_setup(struct osm_routing_engine *r, osm_opensm_t *osm) in osm_ucast_dnup_setup() argument
484 OSM_LOG_ENTER(&osm->log); in osm_ucast_dnup_setup()
491 dnup->p_osm = osm; in osm_ucast_dnup_setup()
497 OSM_LOG_EXIT(&osm->log); in osm_ucast_dnup_setup()
H A Dosm_state_mgr.c741 void osm_reset_switch_state_change_bit(IN osm_opensm_t *osm) in osm_reset_switch_state_change_bit() argument
743 CL_PLOCK_ACQUIRE(&osm->lock); in osm_reset_switch_state_change_bit()
744 cl_qmap_apply_func(&osm->subn.sw_guid_tbl, state_mgr_reset_state_change_bit, in osm_reset_switch_state_change_bit()
745 &osm->sm); in osm_reset_switch_state_change_bit()
746 CL_PLOCK_RELEASE(&osm->lock); in osm_reset_switch_state_change_bit()
749 void osm_update_node_desc(IN osm_opensm_t *osm) in osm_update_node_desc() argument
751 CL_PLOCK_ACQUIRE(&osm->lock); in osm_update_node_desc()
752 cl_qmap_apply_func(&osm->subn.node_guid_tbl, state_mgr_update_node_desc, in osm_update_node_desc()
753 &osm->sm); in osm_update_node_desc()
754 CL_PLOCK_RELEASE(&osm->lock); in osm_update_node_desc()
H A Dosm_ucast_file.c400 int osm_ucast_file_setup(struct osm_routing_engine *r, osm_opensm_t *osm) in osm_ucast_file_setup() argument
402 r->context = osm; in osm_ucast_file_setup()
H A Dosm_congestion_control.c447 osm_opensm_t *p_osm = p_cc->osm; in cc_rcv_mad()
588 p_cc->osm = p_osm; in osm_congestion_control_init()
667 osm_opensm_t *p_osm = p_cc->osm; in cc_mad_send_err_callback()
H A Dosm_perfmgr_db.c426 osm_opensm_report_event(db->perfmgr->osm, OSM_EVENT_ID_PORT_ERRORS, in perfmgr_db_add_err_reading()
561 osm_opensm_report_event(db->perfmgr->osm, in perfmgr_db_add_dc_reading()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_congestion_control.h77 struct osm_opensm *osm; member
118 int osm_congestion_control_setup(struct osm_opensm *osm);
120 int osm_congestion_control_wait_pending_transactions(struct osm_opensm *osm);
123 struct osm_opensm *osm,
H A Dosm_opensm.h650 void osm_opensm_report_event(osm_opensm_t *osm, osm_epi_event_id_t event_id,
654 void osm_dump_mcast_routes(osm_opensm_t * osm);
655 void osm_dump_all(osm_opensm_t * osm);
H A Dosm_event_plugin.h170 void *(*create) (struct osm_opensm *osm);
190 osm_epi_plugin_t *osm_epi_construct(struct osm_opensm *osm, char *plugin_name);
H A Dosm_perfmgr.h135 struct osm_opensm *osm; member
289 struct osm_opensm *osm,
/freebsd/sys/contrib/device-tree/src/arm64/freescale/
H A Dimx8mm-kontron-bl-osm-s.dts8 #include "imx8mm-kontron-osm-s.dtsi"
12 compatible = "kontron,imx8mm-bl-osm-s", "kontron,imx8mm-osm-s", "fsl,imx8mm";
H A Dimx8mm-kontron-osm-s.dtsi11 compatible = "kontron,imx8mm-osm-s", "fsl,imx8mm";
/freebsd/contrib/file/magic/Magdir/
H A Dpbf6 # OpenStreetMap Protocolbuffer Binary Format (.osm.pbf)
H A Dsgml23 # OpenStreetMap XML (.osm)
28 >>19 search/4096 \<osm OpenStreetMap XML data
H A Dmap216 # URL: http://www.pinns.co.uk/osm/net.html
279 # Reference: http://www.pinns.co.uk/osm/typformat.html
294 # http://www.pinns.co.uk/osm/RGN.html
/freebsd/sys/contrib/device-tree/src/arm64/qcom/
H A Dsm6350.dtsi15 #include <dt-bindings/interconnect/qcom,osm-l3.h>
2658 compatible = "qcom,sm6350-osm-l3", "qcom,osm-l3";
H A Dsc8180x.dtsi12 #include <dt-bindings/interconnect/qcom,osm-l3.h>
3582 compatible = "qcom,sc8180x-osm-l3", "qcom,osm-l3";
H A Dsc7180.dtsi16 #include <dt-bindings/interconnect/qcom,osm-l3.h>
3728 compatible = "qcom,sc7180-osm-l3", "qcom,osm-l3";

12