Home
last modified time | relevance | path

Searched refs:p_opt (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_subnet.c1083 static void subn_opt_destroy(IN osm_subn_opt_t * p_opt) in subn_opt_destroy() argument
1085 free(p_opt->console); in subn_opt_destroy()
1086 free(p_opt->port_prof_ignore_file); in subn_opt_destroy()
1087 free(p_opt->hop_weights_file); in subn_opt_destroy()
1088 free(p_opt->port_search_ordering_file); in subn_opt_destroy()
1089 free(p_opt->routing_engine_names); in subn_opt_destroy()
1090 free(p_opt->log_file); in subn_opt_destroy()
1091 free(p_opt->partition_config_file); in subn_opt_destroy()
1092 free(p_opt->qos_policy_file); in subn_opt_destroy()
1093 free(p_opt->dump_files_dir); in subn_opt_destroy()
[all …]
H A Dosm_opensm.c386 IN const osm_subn_opt_t * p_opt) in osm_opensm_init() argument
393 if (p_opt->daemon) in osm_opensm_init()
396 status = osm_log_init_v2(&p_osm->log, p_opt->force_log_flush, in osm_opensm_init()
397 p_opt->log_flags, p_opt->log_file, in osm_opensm_init()
398 p_opt->log_max_size, p_opt->accum_log_file); in osm_opensm_init()
401 p_osm->log.log_prefix = p_opt->log_prefix; in osm_opensm_init()
425 if (p_opt->single_thread) { in osm_opensm_init()
443 if (!p_opt->single_thread) { in osm_opensm_init()
455 status = osm_subn_init(&p_osm->subn, p_osm, p_opt); in osm_opensm_init()
460 osm_vendor_new(&p_osm->log, p_opt->transaction_timeout); in osm_opensm_init()
[all …]
H A Dosm_congestion_control.c71 osm_subn_opt_t *p_opt = &p_cc->subn->opt; in cc_mad_post() local
98 p_cc_mad->cc_key = p_opt->cc_key; in cc_mad_post()
128 osm_subn_opt_t *p_opt = &p_sm->p_subn->opt; in cc_setup_mad_data() local
133 p_cc->sw_cong_setting.control_map = p_opt->cc_sw_cong_setting_control_map; in cc_setup_mad_data()
136 p_opt->cc_sw_cong_setting_victim_mask, in cc_setup_mad_data()
140 p_opt->cc_sw_cong_setting_credit_mask, in cc_setup_mad_data()
144 p_cc->sw_cong_setting.threshold_resv = (p_opt->cc_sw_cong_setting_threshold << 4); in cc_setup_mad_data()
146 p_cc->sw_cong_setting.packet_size = p_opt->cc_sw_cong_setting_packet_size; in cc_setup_mad_data()
150 cl_hton16(p_opt->cc_sw_cong_setting_credit_starvation_threshold << 12); in cc_setup_mad_data()
153 cl_hton16(p_opt->cc_sw_cong_setting_credit_starvation_return_delay.shift << 14 in cc_setup_mad_data()
[all …]
H A Dosm_console_io.c97 int is_console_enabled(osm_subn_opt_t * p_opt) in is_console_enabled() argument
100 if (p_opt) in is_console_enabled()
101 return is_local(p_opt->console) || is_loopback(p_opt->console) in is_console_enabled()
102 || is_remote(p_opt->console); in is_console_enabled()
H A Dmain.c564 int osm_manager_loop(osm_subn_opt_t * p_opt, osm_opensm_t * p_osm) in osm_manager_loop() argument
568 if (is_console_enabled(p_opt)) { in osm_manager_loop()
569 if (!osm_console_init(p_opt, &p_osm->console, &p_osm->log)) in osm_manager_loop()
594 if (is_console_enabled(p_opt)) in osm_manager_loop()
H A Dosm_perfmgr.c1935 const osm_subn_opt_t * p_opt) in osm_perfmgr_init() argument
1952 p_opt->perfmgr ? PERFMGR_STATE_ENABLED : PERFMGR_STATE_DISABLE; in osm_perfmgr_init()
1957 pm->sweep_time_s = p_opt->perfmgr_sweep_time_s; in osm_perfmgr_init()
1958 pm->max_outstanding_queries = p_opt->perfmgr_max_outstanding_queries; in osm_perfmgr_init()
1959 pm->ignore_cas = p_opt->perfmgr_ignore_cas; in osm_perfmgr_init()
1986 pm->rm_nodes = p_opt->perfmgr_rm_nodes; in osm_perfmgr_init()
1987 pm->query_cpi = p_opt->perfmgr_query_cpi; in osm_perfmgr_init()
1988 pm->xmit_wait_log = p_opt->perfmgr_xmit_wait_log; in osm_perfmgr_init()
1989 pm->xmit_wait_threshold = p_opt->perfmgr_xmit_wait_threshold; in osm_perfmgr_init()
/freebsd/contrib/ofed/opensm/include/opensm/
H A Dosm_subnet.h1036 IN const osm_subn_opt_t * p_opt);
1513 void osm_subn_set_default_opt(IN osm_subn_opt_t * p_opt);
1539 int osm_subn_parse_conf_file(const char *conf_file, osm_subn_opt_t * p_opt);
1583 void osm_subn_output_conf(FILE *out, IN osm_subn_opt_t * p_opt);
1606 int osm_subn_write_conf_file(char *file_name, IN osm_subn_opt_t * p_opt);
1620 int osm_subn_verify_config(osm_subn_opt_t * p_opt);
H A Dosm_opensm.h423 IN const osm_subn_opt_t * p_opt);
453 IN const osm_subn_opt_t * p_opt);
H A Dosm_console_io.h86 int is_console_enabled(osm_subn_opt_t *p_opt);
H A Dosm_congestion_control.h124 const osm_subn_opt_t * p_opt);
H A Dosm_perfmgr.h290 const osm_subn_opt_t * p_opt);
/freebsd/sbin/gbde/
H A Dgbde.c
/freebsd/contrib/libarchive/unzip/
H A Dbsdunzip.c73 static int p_opt; /* extract to stdout, quiet */ variable
1002 if (!p_opt && !q_opt) in unzip()
1026 else if (p_opt || c_opt) in unzip()
1142 p_opt = 1; in getopts()