Searched refs:sm (Results 51 - 75 of 435) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/ofed/opensm/opensm/
H A Dosm_mcast_mgr.c131 void osm_purge_mtree(osm_sm_t * sm, IN osm_mgrp_box_t * mbox) argument
133 OSM_LOG_ENTER(sm->p_log);
139 OSM_LOG_EXIT(sm->p_log);
187 static float mcast_mgr_compute_avg_hops(osm_sm_t * sm, cl_qmap_t * m, argument
198 OSM_LOG_ENTER(sm->p_log);
217 OSM_LOG_EXIT(sm->p_log);
221 static float mcast_mgr_compute_max_hops(osm_sm_t * sm, cl_qmap_t * m, argument
229 OSM_LOG_ENTER(sm->p_log);
249 OSM_LOG_EXIT(sm->p_log);
260 static osm_switch_t *mcast_mgr_find_optimal_switch(osm_sm_t * sm, argument
313 osm_mcast_mgr_find_root_switch(osm_sm_t * sm, cl_qlist_t *list) argument
331 mcast_mgr_set_mft_block(osm_sm_t * sm, IN osm_switch_t * p_sw, uint32_t block_num, uint32_t position) argument
400 mcast_mgr_subdivide(osm_sm_t * sm, uint16_t mlid_ho, osm_switch_t * p_sw, cl_qlist_t * p_list, cl_qlist_t * list_array, uint8_t array_size) argument
466 mcast_mgr_purge_list(osm_sm_t * sm, uint16_t mlid, cl_qlist_t * list) argument
489 mcast_mgr_branch(osm_sm_t * sm, uint16_t mlid_ho, osm_switch_t * p_sw, cl_qlist_t * p_list, uint8_t depth, uint8_t upstream_port, uint8_t * p_max_depth) argument
741 mcast_mgr_build_spanning_tree(osm_sm_t * sm, osm_mgrp_box_t * mbox) argument
861 mcast_mgr_clear(osm_sm_t * sm, uint16_t mlid) argument
1008 mcast_mgr_process_mlid(osm_sm_t * sm, uint16_t mlid) argument
1041 mcast_mgr_set_mfttop(IN osm_sm_t * sm, IN osm_switch_t * p_sw) argument
1106 mcast_mgr_set_mftables(osm_sm_t * sm) argument
1152 alloc_mfts(osm_sm_t * sm) argument
1181 osm_mcast_mgr_process(osm_sm_t * sm, boolean_t config_all) argument
[all...]
H A Dosm_guid_info_rcv.c68 osm_sm_t *sm = context; local
77 CL_ASSERT(sm);
79 OSM_LOG_ENTER(sm->p_log);
94 osm_dump_guid_info_v2(sm->p_log, node_guid, port_guid, block_num, p_gi,
98 OSM_LOG(sm->p_log, OSM_LOG_DEBUG,
104 CL_PLOCK_EXCL_ACQUIRE(sm->p_lock);
105 p_port = osm_get_port_by_guid(sm->p_subn, port_guid);
107 CL_PLOCK_RELEASE(sm->p_lock);
108 OSM_LOG(sm->p_log, OSM_LOG_ERROR, "ERR 4701: "
117 CL_PLOCK_RELEASE(sm
[all...]
H A Dosm_mcast_fwd_rcv.c63 osm_sm_t *sm = context; local
74 CL_ASSERT(sm);
76 OSM_LOG_ENTER(sm->p_log);
93 OSM_LOG(sm->p_log, OSM_LOG_DEBUG,
100 OSM_LOG(sm->p_log, OSM_LOG_DEBUG,
106 CL_PLOCK_EXCL_ACQUIRE(sm->p_lock);
107 p_sw = osm_get_switch_by_guid(sm->p_subn, node_guid);
110 OSM_LOG(sm->p_log, OSM_LOG_ERROR, "ERR 0801: "
118 OSM_LOG(sm->p_log, OSM_LOG_ERROR, "ERR 0802: "
127 CL_PLOCK_RELEASE(sm
[all...]
H A Dosm_pkey_rcv.c58 osm_sm_t *sm = context; local
71 CL_ASSERT(sm);
73 OSM_LOG_ENTER(sm->p_log);
88 OSM_LOG(sm->p_log, OSM_LOG_DEBUG,
94 cl_plock_excl_acquire(sm->p_lock);
95 p_port = osm_get_port_by_guid(sm->p_subn, port_guid);
97 OSM_LOG(sm->p_log, OSM_LOG_ERROR, "ERR 4806: "
124 OSM_LOG(sm->p_log, OSM_LOG_VERBOSE,
135 OSM_LOG(sm->p_log, OSM_LOG_ERROR, "ERR 4807: "
140 osm_dump_pkey_block_v2(sm
[all...]
H A Dosm_trap_rcv.c62 extern void osm_req_get_node_desc(IN osm_sm_t * sm, osm_physp_t *p_physp);
86 static osm_physp_t *get_physp_by_lid_and_num(IN osm_sm_t * sm, argument
89 osm_port_t *p_port = osm_get_port_by_lid(sm->p_subn, lid);
102 osm_sm_t *sm = context; local
107 OSM_LOG_ENTER(sm->p_log);
116 CL_PLOCK_ACQUIRE(sm->p_lock);
118 p_physp = get_physp_by_lid_and_num(sm, lid, port_num);
120 OSM_LOG(sm->p_log, OSM_LOG_VERBOSE,
126 OSM_LOG(sm->p_log, OSM_LOG_VERBOSE,
134 CL_PLOCK_RELEASE(sm
214 disable_port(osm_sm_t *sm, osm_physp_t *p) argument
320 shutup_noisy_port(osm_sm_t *sm, ib_net16_t lid, uint8_t port, unsigned num) argument
361 trap_rcv_process_request(IN osm_sm_t * sm, IN const osm_madw_t * p_madw) argument
674 osm_sm_t *sm = context; local
[all...]
H A Dosm_vl_arb_rcv.c67 osm_sm_t *sm = context; local
79 CL_ASSERT(sm);
81 OSM_LOG_ENTER(sm->p_log);
96 OSM_LOG(sm->p_log, OSM_LOG_DEBUG,
102 cl_plock_excl_acquire(sm->p_lock);
103 p_port = osm_get_port_by_guid(sm->p_subn, port_guid);
105 OSM_LOG(sm->p_log, OSM_LOG_ERROR, "ERR 3F06: "
130 OSM_LOG(sm->p_log, OSM_LOG_VERBOSE,
141 OSM_LOG(sm->p_log, OSM_LOG_ERROR,
147 OSM_LOG(sm
[all...]
/freebsd-11-stable/contrib/wpa/src/eap_server/
H A Deap_server_identity.c21 static void * eap_identity_init(struct eap_sm *sm) argument
34 static void * eap_identity_initPickUp(struct eap_sm *sm) argument
37 data = eap_identity_init(sm);
45 static void eap_identity_reset(struct eap_sm *sm, void *priv) argument
52 static struct wpabuf * eap_identity_buildReq(struct eap_sm *sm, void *priv, argument
60 if (sm->eapol_cb->get_eap_req_id_text) {
61 req_data = sm->eapol_cb->get_eap_req_id_text(sm->eapol_ctx,
82 static Boolean eap_identity_check(struct eap_sm *sm, void *priv, argument
99 static void eap_identity_process(struct eap_sm *sm, voi argument
143 eap_identity_isDone(struct eap_sm *sm, void *priv) argument
150 eap_identity_isSuccess(struct eap_sm *sm, void *priv) argument
[all...]
H A Deap_server_gtc.c21 static void * eap_gtc_init(struct eap_sm *sm) argument
31 if (sm->m && sm->m->vendor == EAP_VENDOR_IETF &&
32 sm->m->method == EAP_TYPE_FAST) {
43 static void eap_gtc_reset(struct eap_sm *sm, void *priv) argument
50 static struct wpabuf * eap_gtc_buildReq(struct eap_sm *sm, void *priv, u8 id) argument
77 static Boolean eap_gtc_check(struct eap_sm *sm, void *priv, argument
93 static void eap_gtc_process(struct eap_sm *sm, void *priv, argument
131 if (sm->identity && sm
187 eap_gtc_isDone(struct eap_sm *sm, void *priv) argument
194 eap_gtc_isSuccess(struct eap_sm *sm, void *priv) argument
[all...]
H A Deap_server_fast.c22 static void eap_fast_reset(struct eap_sm *sm, void *priv);
71 static int eap_fast_process_phase2_start(struct eap_sm *sm,
111 static EapType eap_fast_req_failure(struct eap_sm *sm, argument
272 static void eap_fast_derive_key_auth(struct eap_sm *sm, argument
281 sks = eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn,
302 static void eap_fast_derive_key_provisioning(struct eap_sm *sm, argument
307 eap_fast_derive_key(sm->ssl_ctx, data->ssl.conn,
333 static int eap_fast_get_phase2_key(struct eap_sm *sm, argument
351 if ((key = data->phase2_method->getKey(sm, data->phase2_priv,
378 static int eap_fast_update_icmk(struct eap_sm *sm, struc argument
411 eap_fast_init(struct eap_sm *sm) argument
506 eap_fast_reset(struct eap_sm *sm, void *priv) argument
523 eap_fast_build_start(struct eap_sm *sm, struct eap_fast_data *data, u8 id) argument
549 eap_fast_phase1_done(struct eap_sm *sm, struct eap_fast_data *data) argument
576 eap_fast_build_phase2_req(struct eap_sm *sm, struct eap_fast_data *data, u8 id) argument
596 eap_fast_build_crypto_binding( struct eap_sm *sm, struct eap_fast_data *data) argument
682 eap_fast_build_pac(struct eap_sm *sm, struct eap_fast_data *data) argument
816 eap_fast_encrypt_phase2(struct eap_sm *sm, struct eap_fast_data *data, struct wpabuf *plain, int piggyback) argument
855 eap_fast_buildReq(struct eap_sm *sm, void *priv, u8 id) argument
929 eap_fast_check(struct eap_sm *sm, void *priv, struct wpabuf *respData) argument
945 eap_fast_phase2_init(struct eap_sm *sm, struct eap_fast_data *data, EapType eap_type) argument
972 eap_fast_process_phase2_response(struct eap_sm *sm, struct eap_fast_data *data, u8 *in_data, size_t in_len) argument
1094 eap_fast_process_phase2_eap(struct eap_sm *sm, struct eap_fast_data *data, u8 *in_data, size_t in_len) argument
1251 eap_fast_process_phase2_tlvs(struct eap_sm *sm, struct eap_fast_data *data, struct wpabuf *in_data) argument
1381 eap_fast_process_phase2(struct eap_sm *sm, struct eap_fast_data *data, struct wpabuf *in_buf) argument
1426 eap_fast_process_version(struct eap_sm *sm, void *priv, int peer_version) argument
1451 eap_fast_process_phase1(struct eap_sm *sm, struct eap_fast_data *data) argument
1474 eap_fast_process_phase2_start(struct eap_sm *sm, struct eap_fast_data *data) argument
1509 eap_fast_process_msg(struct eap_sm *sm, void *priv, const struct wpabuf *respData) argument
1537 eap_fast_process(struct eap_sm *sm, void *priv, struct wpabuf *respData) argument
1548 eap_fast_isDone(struct eap_sm *sm, void *priv) argument
1555 eap_fast_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
1577 eap_fast_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
1599 eap_fast_isSuccess(struct eap_sm *sm, void *priv) argument
1606 eap_fast_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
H A Deap_server_ttls.c24 static void eap_ttls_reset(struct eap_sm *sm, void *priv);
79 static void eap_ttls_valid_session(struct eap_sm *sm, argument
84 if (!sm->tls_session_lifetime)
87 buf = wpabuf_alloc(1 + 1 + sm->identity_len);
91 if (sm->identity) {
94 if (sm->identity_len <= 255)
95 id_len = sm->identity_len;
99 wpabuf_put_data(buf, sm->identity, id_len);
331 static u8 * eap_ttls_implicit_challenge(struct eap_sm *sm, argument
334 return eap_server_tls_derive_key(sm,
339 eap_ttls_init(struct eap_sm *sm) argument
359 eap_ttls_reset(struct eap_sm *sm, void *priv) argument
372 eap_ttls_build_start(struct eap_sm *sm, struct eap_ttls_data *data, u8 id) argument
394 eap_ttls_build_phase2_eap_req( struct eap_sm *sm, struct eap_ttls_data *data, u8 id) argument
424 eap_ttls_build_phase2_mschapv2( struct eap_sm *sm, struct eap_ttls_data *data) argument
465 eap_ttls_buildReq(struct eap_sm *sm, void *priv, u8 id) argument
511 eap_ttls_check(struct eap_sm *sm, void *priv, struct wpabuf *respData) argument
527 eap_ttls_process_phase2_pap(struct eap_sm *sm, struct eap_ttls_data *data, const u8 *user_password, size_t user_password_len) argument
554 eap_ttls_process_phase2_chap(struct eap_sm *sm, struct eap_ttls_data *data, const u8 *challenge, size_t challenge_len, const u8 *password, size_t password_len) argument
617 eap_ttls_process_phase2_mschap(struct eap_sm *sm, struct eap_ttls_data *data, u8 *challenge, size_t challenge_len, u8 *response, size_t response_len) argument
692 eap_ttls_process_phase2_mschapv2(struct eap_sm *sm, struct eap_ttls_data *data, u8 *challenge, size_t challenge_len, u8 *response, size_t response_len) argument
828 eap_ttls_phase2_eap_init(struct eap_sm *sm, struct eap_ttls_data *data, EapType eap_type) argument
849 eap_ttls_process_phase2_eap_response(struct eap_sm *sm, struct eap_ttls_data *data, u8 *in_data, size_t in_len) argument
956 eap_ttls_process_phase2_eap(struct eap_sm *sm, struct eap_ttls_data *data, const u8 *eap, size_t eap_len) argument
1004 eap_ttls_process_phase2(struct eap_sm *sm, struct eap_ttls_data *data, struct wpabuf *in_buf) argument
1112 eap_ttls_start_tnc(struct eap_sm *sm, struct eap_ttls_data *data) argument
1131 eap_ttls_process_version(struct eap_sm *sm, void *priv, int peer_version) argument
1146 eap_ttls_process_msg(struct eap_sm *sm, void *priv, const struct wpabuf *respData) argument
1190 eap_ttls_process(struct eap_sm *sm, void *priv, struct wpabuf *respData) argument
1255 eap_ttls_isDone(struct eap_sm *sm, void *priv) argument
1262 eap_ttls_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
1285 eap_ttls_isSuccess(struct eap_sm *sm, void *priv) argument
1292 eap_ttls_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
1304 eap_ttls_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
/freebsd-11-stable/contrib/wpa/src/eap_peer/
H A Deap_tls.c18 static void eap_tls_deinit(struct eap_sm *sm, void *priv);
32 static void * eap_tls_init(struct eap_sm *sm) argument
35 struct eap_peer_config *config = eap_get_config(sm);
37 ((sm->init_phase2 ? config->private_key2 : config->private_key)
39 (sm->init_phase2 ? config->engine2 : config->engine) == 0)) {
48 data->ssl_ctx = sm->init_phase2 && sm->ssl_ctx2 ? sm->ssl_ctx2 :
49 sm->ssl_ctx;
51 if (eap_peer_tls_ssl_init(sm,
76 eap_unauth_tls_init(struct eap_sm *sm) argument
103 eap_wfa_unauth_tls_init(struct eap_sm *sm) argument
138 eap_tls_deinit(struct eap_sm *sm, void *priv) argument
151 eap_tls_failure(struct eap_sm *sm, struct eap_tls_data *data, struct eap_method_ret *ret, int res, struct wpabuf *resp, u8 id) argument
173 eap_tls_success(struct eap_sm *sm, struct eap_tls_data *data, struct eap_method_ret *ret) argument
232 eap_tls_process(struct eap_sm *sm, void *priv, struct eap_method_ret *ret, const struct wpabuf *reqData) argument
323 eap_tls_has_reauth_data(struct eap_sm *sm, void *priv) argument
330 eap_tls_deinit_for_reauth(struct eap_sm *sm, void *priv) argument
339 eap_tls_init_for_reauth(struct eap_sm *sm, void *priv) argument
353 eap_tls_get_status(struct eap_sm *sm, void *priv, char *buf, size_t buflen, int verbose) argument
361 eap_tls_isKeyAvailable(struct eap_sm *sm, void *priv) argument
368 eap_tls_getKey(struct eap_sm *sm, void *priv, size_t *len) argument
386 eap_tls_get_emsk(struct eap_sm *sm, void *priv, size_t *len) argument
404 eap_tls_get_session_id(struct eap_sm *sm, void *priv, size_t *len) argument
[all...]
H A Deap_otp.c15 static void * eap_otp_init(struct eap_sm *sm) argument
23 static void eap_otp_deinit(struct eap_sm *sm, void *priv) argument
28 static struct wpabuf * eap_otp_process(struct eap_sm *sm, void *priv, argument
45 password = eap_get_config_otp(sm, &password_len);
49 password = eap_get_config_password(sm, &password_len);
55 eap_sm_request_otp(sm, (const char *) pos, len);
76 eap_clear_config_otp(sm);
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DPrettyStackTrace.h31 PrettyStackTraceLoc(SourceManager &sm, SourceLocation L, const char *Msg) argument
32 : SM(sm), Loc(L), Message(Msg) {}
/freebsd-11-stable/contrib/sendmail/include/sm/
H A Dxtrap.h19 # include <sm/debug.h>
20 # include <sm/exc.h>
/freebsd-11-stable/contrib/sendmail/libsm/
H A Dinet6_ntop.c11 #include <sm/gen.h>
15 # include <sm/conf.h>
16 # include <sm/types.h>
17 # include <sm/io.h>
18 # include <sm/string.h>
H A Dput.c15 #include <sm/gen.h>
19 #include <sm/io.h>
20 #include <sm/assert.h>
21 #include <sm/errstring.h>
22 #include <sm/string.h>
29 ** Function version of the macro sm_io_putc (in <sm/io.h>).
H A Dstringf.c10 #include <sm/gen.h>
14 #include <sm/exc.h>
15 #include <sm/heap.h>
16 #include <sm/string.h>
17 #include <sm/varargs.h>
H A Dt-inet6_ntop.c10 #include <sm/gen.h>
13 #include <sm/conf.h>
15 #include <sm/io.h>
16 #include <sm/test.h>
17 #include <sm/string.h>
H A Dt-string.c10 #include <sm/gen.h>
13 #include <sm/exc.h>
14 #include <sm/io.h>
15 #include <sm/string.h>
16 #include <sm/test.h>
H A Dt-strrevcmp.c10 #include <sm/gen.h>
13 #include <sm/exc.h>
14 #include <sm/io.h>
15 #include <sm/string.h>
16 #include <sm/test.h>
H A Dfpos.c15 #include <sm/gen.h>
19 #include <sm/time.h>
20 #include <sm/heap.h>
21 #include <sm/signal.h>
22 #include <sm/clock.h>
23 #include <sm/io.h>
24 #include <sm/assert.h>
H A Dfpurge.c15 #include <sm/gen.h>
19 #include <sm/io.h>
20 #include <sm/assert.h>
H A Dfput.c15 #include <sm/gen.h>
19 #include <sm/io.h>
20 #include <sm/assert.h>
/freebsd-11-stable/contrib/wpa/src/wps/
H A Dwps_upnp_i.h81 struct upnp_wps_device_sm *sm; /* parent */ member in struct:subscription
153 struct subscription * subscription_start(struct upnp_wps_device_sm *sm,
155 struct subscription * subscription_renew(struct upnp_wps_device_sm *sm,
158 struct subscription * subscription_find(struct upnp_wps_device_sm *sm,
166 int advertisement_state_machine_start(struct upnp_wps_device_sm *sm);
167 void advertisement_state_machine_stop(struct upnp_wps_device_sm *sm,
169 void ssdp_listener_stop(struct upnp_wps_device_sm *sm);
170 int ssdp_listener_start(struct upnp_wps_device_sm *sm);
174 int ssdp_open_multicast(struct upnp_wps_device_sm *sm);
177 int web_listener_start(struct upnp_wps_device_sm *sm);
[all...]
H A Dwps_upnp.c306 static int local_network_addr(struct upnp_wps_device_sm *sm, argument
309 return (addr->sin_addr.s_addr & sm->netmask.s_addr) ==
310 (sm->ip_addr & sm->netmask.s_addr);
406 if (!local_network_addr(s->sm, addr)) {
475 * @sm: WPS UPnP state machine from upnp_wps_device_init()
478 * subscribed UPnP control points. sm->wlanevent must have been set with the
481 static void upnp_wps_device_send_event(struct upnp_wps_device_sm *sm) argument
494 if (dl_list_empty(&sm->subscriptions)) {
500 if (now.sec != sm
574 subscription_list_age(struct upnp_wps_device_sm *sm, time_t now) argument
591 subscription_find(struct upnp_wps_device_sm *sm, const u8 uuid[UUID_LEN]) argument
713 subscription_start(struct upnp_wps_device_sm *sm, const char *callback_urls) argument
779 subscription_renew(struct upnp_wps_device_sm *sm, const u8 uuid[UUID_LEN]) argument
808 upnp_wps_device_send_wlan_event(struct upnp_wps_device_sm *sm, const u8 from_mac_addr[ETH_ALEN], enum upnp_wps_wlanevent_type ev_type, const struct wpabuf *msg) argument
1016 upnp_wps_device_stop(struct upnp_wps_device_sm *sm) argument
1048 upnp_wps_device_start(struct upnp_wps_device_sm *sm, char *net_if) argument
1108 upnp_wps_get_iface(struct upnp_wps_device_sm *sm, void *priv) argument
1125 upnp_wps_device_deinit(struct upnp_wps_device_sm *sm, void *priv) argument
1181 struct upnp_wps_device_sm *sm; local
1238 upnp_wps_subscribers(struct upnp_wps_device_sm *sm) argument
1244 upnp_wps_set_ap_pin(struct upnp_wps_device_sm *sm, const char *ap_pin) argument
[all...]

Completed in 125 milliseconds

1234567891011>>