Home
last modified time | relevance | path

Searched refs:con (Results 1 – 25 of 127) sorted by relevance

123456

/freebsd-14.2/sys/netgraph/bluetooth/l2cap/
H A Dng_l2cap_misc.c165 con->state, con->flags); in ng_l2cap_con_ref()
213 con->state, con->flags); in ng_l2cap_discon_timeout()
235 con->state, con->flags); in ng_l2cap_discon_untimeout()
268 if (f->con == con) in ng_l2cap_free_con()
287 con->state, con->flags); in ng_l2cap_free_con()
291 bzero(con, sizeof(*con)); in ng_l2cap_free_con()
355 ch->con = con; in ng_l2cap_new_chan()
468 cmd->con = con; in ng_l2cap_new_cmd()
489 KASSERT((cmd->con == con), in ng_l2cap_cmd_by_ident()
512 con->state, con->flags); in ng_l2cap_lp_timeout()
[all …]
H A Dng_l2cap_llpi.c77 if (con != NULL) { in ng_l2cap_lp_con_req()
82 con->con_handle); in ng_l2cap_lp_con_req()
98 if (con == NULL) in ng_l2cap_lp_con_req()
158 if (con == NULL) { in ng_l2cap_lp_con_cfm()
249 if (con == NULL) in ng_l2cap_lp_con_ind()
721 con->rx_pkt->m_pkthdr.len, con->rx_pkt_len); in ng_l2cap_lp_receive()
775 con->rx_pkt->m_pkthdr.len, con->rx_pkt_len); in ng_l2cap_lp_receive()
824 while (con->pending < con->l2cap->num_pkts && con->tx_pkt != NULL) { in ng_l2cap_lp_deliver()
826 con->tx_pkt = con->tx_pkt->m_nextpkt; in ng_l2cap_lp_deliver()
897 con->flags); in ng_l2cap_process_lp_timeout()
[all …]
H A Dng_l2cap_evnt.c272 con->rx_pkt = m; in ng_l2cap_process_signal_cmd()
354 con->rx_pkt = m; in ng_l2cap_process_lesignal_cmd()
476 con->rx_pkt = NULL; in ng_l2cap_process_con_req()
541 con->rx_pkt = NULL; in ng_l2cap_process_con_rsp()
549 con->con_handle); in ng_l2cap_process_con_rsp()
655 con->rx_pkt = NULL; in ng_l2cap_process_cfg_req()
788 con->rx_pkt = NULL; in ng_l2cap_process_cfg_rsp()
805 con->con_handle); in ng_l2cap_process_cfg_rsp()
1046 con->con_handle); in ng_l2cap_process_discon_rsp()
1096 con->rx_pkt = ng_l2cap_prepend(con->rx_pkt, sizeof(*hdr)); in ng_l2cap_process_echo_req()
[all …]
H A Dng_l2cap_cmds.c65 ng_l2cap_con_wakeup(ng_l2cap_con_p con) in ng_l2cap_con_wakeup() argument
73 KASSERT((cmd->con == con), in ng_l2cap_con_wakeup()
108 (void) ng_l2cap_lp_send(con, in ng_l2cap_con_wakeup()
244 ng_l2cap_p l2cap = con->l2cap; in ng_l2cap_con_fail()
253 con->flags |= NG_L2CAP_CON_DYING; in ng_l2cap_con_fail()
257 cmd = TAILQ_FIRST(&con->cmd_list); in ng_l2cap_con_fail()
263 KASSERT((cmd->con == con), in ng_l2cap_con_fail()
327 if (ch->con == con) in ng_l2cap_con_fail()
331 ng_l2cap_free_con(con); in ng_l2cap_con_fail()
343 ng_l2cap_con_p con = NULL; in ng_l2cap_process_command_timeout() local
[all …]
H A Dng_l2cap_ulpi.c86 if (con == NULL) { in ng_l2cap_l2ca_con_req()
114 cmd = ng_l2cap_new_cmd(ch->con, ch, ng_l2cap_get_ident(con), in ng_l2cap_l2ca_con_req()
276 con = ch->con; in ng_l2cap_l2ca_con_rsp_req()
537 cmd = ng_l2cap_new_cmd(ch->con, ch, ng_l2cap_get_ident(ch->con), in ng_l2cap_l2ca_cfg_req()
1084 con->rx_pkt = NULL; in ng_l2cap_l2ca_receive()
1168 con->rx_pkt = NULL; in ng_l2cap_l2ca_clt_receive()
1291 cmd = ng_l2cap_new_cmd(ch->con, ch, ng_l2cap_get_ident(ch->con), in ng_l2cap_l2ca_discon_req()
1505 if (con == NULL) { in ng_l2cap_l2ca_ping_req()
1522 cmd = ng_l2cap_new_cmd(con, NULL, ng_l2cap_get_ident(con), in ng_l2cap_l2ca_ping_req()
1627 if (con == NULL) { in ng_l2cap_l2ca_get_info_req()
[all …]
H A Dng_l2cap_main.c305 if (con == NULL) in ng_l2cap_lower_rcvmsg()
315 if (con->pending < 0) { in ng_l2cap_lower_rcvmsg()
320 con->con_handle, con->pending, in ng_l2cap_lower_rcvmsg()
323 con->pending = 0; in ng_l2cap_lower_rcvmsg()
326 ng_l2cap_lp_deliver(con); in ng_l2cap_lower_rcvmsg()
576 e2->state = con->state; in ng_l2cap_default_rcvmsg()
578 e2->flags = con->flags; in ng_l2cap_default_rcvmsg()
579 if (con->tx_pkt != NULL) in ng_l2cap_default_rcvmsg()
581 if (con->rx_pkt != NULL) in ng_l2cap_default_rcvmsg()
733 ng_l2cap_con_p con = NULL; in ng_l2cap_cleanup() local
[all …]
H A Dng_l2cap_misc.h65 #define ng_l2cap_link_cmd(con, cmd) \ argument
67 TAILQ_INSERT_TAIL(&(con)->cmd_list, (cmd), next); \
68 ng_l2cap_con_ref((con)); \
73 TAILQ_REMOVE(&((cmd)->con->cmd_list), (cmd), next); \
74 ng_l2cap_con_unref((cmd)->con); \
/freebsd-14.2/sys/netgraph/bluetooth/hci/
H A Dng_hci_misc.c263 con = malloc(sizeof(*con), M_NETGRAPH_HCI, in ng_hci_new_con()
265 if (con != NULL) { in ng_hci_new_con()
266 con->unit = unit; in ng_hci_new_con()
301 return (con); in ng_hci_new_con()
319 NG_HCI_BUFF_ACL_FREE(con->unit->buffer, con->pending); in ng_hci_free_con()
321 NG_HCI_BUFF_SCO_FREE(con->unit->buffer, con->pending); in ng_hci_free_con()
325 bzero(con, sizeof(*con)); in ng_hci_free_con()
342 return (con); in ng_hci_con_by_handle()
359 return (con); in ng_hci_con_by_bdaddr()
415 ng_callout(&con->con_timo, con->unit->node, NULL, in ng_hci_con_timeout()
[all …]
H A Dng_hci_evnt.c278 winner = con; in send_data_packets()
515 if (con == NULL) { in le_connection_complete()
528 bcopy(&ep->address, &con->bdaddr, sizeof(con->bdaddr)); in le_connection_complete()
717 if (con == NULL) { in con_compl()
727 bcopy(&ep->bdaddr, &con->bdaddr, sizeof(con->bdaddr)); in con_compl()
862 if (con == NULL) { in con_req()
865 bcopy(&ep->bdaddr, &con->bdaddr, sizeof(con->bdaddr)); in con_req()
970 ng_hci_lp_enc_change(con, con->encryption_mode); in encryption_change()
1062 con->state, h); in qos_setup_compl()
1101 if (con != NULL) in role_change()
[all …]
H A Dng_hci_ulpi.c164 if (con != NULL) { in ng_hci_lp_acl_con_req()
229 if (con == NULL) { in ng_hci_lp_acl_con_req()
234 bcopy(&ep->bdaddr, &con->bdaddr, sizeof(con->bdaddr)); in ng_hci_lp_acl_con_req()
531 if (con != NULL) { in ng_hci_lp_le_con_req()
596 if (con == NULL) { in ng_hci_lp_le_con_req()
601 bcopy(&ep->bdaddr, &con->bdaddr, sizeof(con->bdaddr)); in ng_hci_lp_le_con_req()
698 if (con == NULL) { in ng_hci_lp_discon_req()
973 if (con == NULL) { in ng_hci_lp_con_rsp()
1184 if (con == NULL) { in ng_hci_lp_qos_req()
1381 if (con == NULL) { in ng_hci_process_con_timeout()
[all …]
H A Dng_hci_main.c793 ng_hci_unit_con_p con = NULL; in ng_hci_acl_rcvdata() local
843 if (con == NULL) { in ng_hci_acl_rcvdata()
856 con_handle, con->link_type); in ng_hci_acl_rcvdata()
866 con->state, con_handle); in ng_hci_acl_rcvdata()
872 if (NG_BT_ITEMQ_FULL(&con->conq)) { in ng_hci_acl_rcvdata()
878 NG_BT_ITEMQ_DROP(&con->conq); in ng_hci_acl_rcvdata()
910 ng_hci_unit_con_p con = NULL; in ng_hci_sco_rcvdata() local
962 if (con == NULL) { in ng_hci_sco_rcvdata()
975 con_handle, con->link_type); in ng_hci_sco_rcvdata()
985 con->state, con_handle); in ng_hci_sco_rcvdata()
[all …]
/freebsd-14.2/contrib/wpa/wpa_supplicant/dbus/
H A Ddbus_common.c37 dbus_connection_dispatch(con); in dispatch_data()
53 DBusConnection *con = eloop_ctx; in dispatch_initial_dbus_messages() local
54 dispatch_data(con); in dispatch_initial_dbus_messages()
61 dbus_connection_ref(priv->con); in process_watch()
73 dispatch_data(priv->con); in process_watch()
77 dbus_connection_unref(priv->con); in process_watch()
211 dbus_connection_ref(priv->con); in process_wakeup_main()
286 if (priv->con) { in wpas_dbus_init_common()
314 priv->con, NULL); in wpas_dbus_init_common_finish()
322 if (priv->con) { in wpas_dbus_deinit_common()
[all …]
H A Ddbus_new_helpers.c482 obj_desc->connection = iface->con; in wpa_dbus_ctrl_iface_init()
535 DBusConnection *con; in wpa_dbus_register_object_per_iface() local
546 con = ctrl_iface->con; in wpa_dbus_register_object_per_iface()
547 obj_desc->connection = con; in wpa_dbus_register_object_per_iface()
584 DBusConnection *con = ctrl_iface->con; in wpa_dbus_unregister_object_per_iface() local
687 dbus_connection_send(con, msg, NULL); in do_send_prop_changed_signal()
721 dbus_connection_send(con, msg, NULL); in do_send_deprecated_prop_changed_signal()
757 DBusConnection *con = eloop_ctx; in flush_object_timeout_handler() local
774 wpa_dbus_flush_object_changed_properties(con, path); in recursive_flush_changed_properties()
895 iface->con, obj_desc)) { in wpa_dbus_mark_property_changed()
[all …]
/freebsd-14.2/usr.sbin/ngctl/
H A Dconnect.c61 struct ngm_connect con; in ConnectCmd() local
72 snprintf(con.path, sizeof(con.path), "%s", av[1]); in ConnectCmd()
73 snprintf(con.ourhook, sizeof(con.ourhook), "%s", av[2]); in ConnectCmd()
74 snprintf(con.peerhook, sizeof(con.peerhook), "%s", av[3]); in ConnectCmd()
82 NGM_CONNECT, &con, sizeof(con)) < 0) { in ConnectCmd()
/freebsd-14.2/crypto/openssl/apps/
H A Ds_server.c2338 SSL *con = NULL; in sv_body() local
2361 if (con == NULL) { in sv_body()
2559 if (SSL_is_dtls(con) && DTLSv1_get_timeout(con, &timeout)) in sv_body()
2566 if ((SSL_is_dtls(con)) && DTLSv1_handle_timeout(con) > 0) in sv_body()
2817 if (con != NULL) { in sv_body()
2820 SSL_free(con); in sv_body()
3043 SSL *con; in www_body() local
3092 SSL_free(con); in www_body()
3098 SSL_free(con); in www_body()
3499 SSL *con; in rev_body() local
[all …]
H A Ds_client.c786 SSL *con = NULL; in s_client_main() local
1945 con = SSL_new(ctx); in s_client_main()
1946 if (con == NULL) in s_client_main()
2138 SSL_set_bio(con, sbio, sbio); in s_client_main()
2139 SSL_set_connect_state(con); in s_client_main()
2726 if (SSL_is_dtls(con) && DTLSv1_get_timeout(con, &timeout)) in s_client_main()
2731 if (!SSL_is_init_finished(con) && SSL_total_renegotiations(con) == 0 in s_client_main()
2836 if (SSL_is_dtls(con) && DTLSv1_handle_timeout(con) > 0) in s_client_main()
3057 do_ssl_shutdown(con); in s_client_main()
3085 if (con != NULL) { in s_client_main()
[all …]
/freebsd-14.2/crypto/openssl/test/
H A Dservername_test.c100 SSL *con = NULL; in client_setup_sni_before_state() local
115 con = SSL_new(ctx); in client_setup_sni_before_state()
116 if (!TEST_ptr(con)) in client_setup_sni_before_state()
130 SSL_set_bio(con, rbio, wbio); in client_setup_sni_before_state()
144 SSL_free(con); in client_setup_sni_before_state()
152 SSL *con = NULL; in client_setup_sni_after_state() local
167 con = SSL_new(ctx); in client_setup_sni_after_state()
168 if (!TEST_ptr(con)) in client_setup_sni_after_state()
179 SSL_set_bio(con, rbio, wbio); in client_setup_sni_after_state()
180 SSL_set_connect_state(con); in client_setup_sni_after_state()
[all …]
H A Dclienthellotest.c62 SSL *con = NULL; in test_client_hello() local
148 con = SSL_new(ctx); in test_client_hello()
149 if (!TEST_ptr(con)) in test_client_hello()
168 || !TEST_true(SSL_set_session(con, sess))) in test_client_hello()
180 SSL_set_bio(con, rbio, wbio); in test_client_hello()
181 SSL_set_connect_state(con); in test_client_hello()
184 if (!TEST_true(SSL_set_session_ticket_ext(con, dummytick, in test_client_hello()
189 if (!TEST_int_le(SSL_connect(con), 0)) { in test_client_hello()
247 SSL_free(con); in test_client_hello()
H A Dbad_dtls_test.c467 SSL *con = NULL; in test_bad_dtls() local
502 con = SSL_new(ctx); in test_bad_dtls()
503 if (!TEST_ptr(con) in test_bad_dtls()
514 SSL_set_bio(con, rbio, wbio); in test_bad_dtls()
530 SSL_set_connect_state(con); in test_bad_dtls()
533 ret = SSL_do_handshake(con); in test_bad_dtls()
540 ret = SSL_do_handshake(con); in test_bad_dtls()
547 ret = SSL_do_handshake(con); in test_bad_dtls()
550 || !TEST_true(send_finished(con, rbio))) in test_bad_dtls()
553 ret = SSL_do_handshake(con); in test_bad_dtls()
[all …]
/freebsd-14.2/usr.sbin/pmcstudy/
H A Dpmcstudy.c524 con = 20.0; in br_mispredict()
559 con = 4.0; in br_mispredictib()
606 con = 4.0; in br_mispredict_broad()
678 con = 5.0; in splitload()
703 con = 5.0; in splitload_sb()
1134 con = 7.0; in dtlb_missload()
1322 con = 4.0; in frontendstall()
1418 con = 4.0; in microassist()
1444 con = 4.0; in microassist_broad()
1475 con = 5.0; in aliasing()
[all …]
/freebsd-14.2/contrib/sendmail/src/
H A Dsfsasl.c422 SSL *con; member
428 SSL *con; member
506 so->con = ti->con;
745 rfd = SSL_get_rfd(so->con);
746 wfd = SSL_get_wfd(so->con);
870 rfd = SSL_get_rfd(so->con);
871 wfd = SSL_get_wfd(so->con);
947 sfdctls(fin, fout, con) in sfdctls() argument
950 SSL *con;
958 SM_ASSERT(con != NULL);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/
H A DPPCInstrMMA.td354 !con((ins acc:$ATi), !con(IOL, (ins u4imm:$XMSK, u4imm:$YMSK))),
361 !con((ins acc:$ATi), !con(IOL, (ins u4imm:$XMSK, u4imm:$YMSK))),
368 !con((ins acc:$ATi), !con(IOL, (ins u4imm:$XMSK, u4imm:$YMSK))),
375 !con((ins acc:$ATi), !con(IOL, (ins u4imm:$XMSK, u4imm:$YMSK))),
391 !con((ins wacc:$ATi), !con(IOL, (ins u4imm:$XMSK, u4imm:$YMSK))),
398 !con((ins wacc:$ATi), !con(IOL, (ins u4imm:$XMSK, u4imm:$YMSK))),
405 !con((ins wacc:$ATi), !con(IOL, (ins u4imm:$XMSK, u4imm:$YMSK))),
435 !con((ins acc:$ATi), !con(IOL, (ins u4imm:$XMSK, u2imm:$YMSK))),
442 !con((ins acc:$ATi), !con(IOL, (ins u4imm:$XMSK, u2imm:$YMSK))),
449 !con((ins acc:$ATi), !con(IOL, (ins u4imm:$XMSK, u2imm:$YMSK))),
[all …]
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A Darm_cde.td64 def "" : CDEIntrinsic<u32, !con(cp, argsReg, argsImm),
67 !con((CDEIRInt<NAME # "a"> $cp, $acc),
71 CDEIntrinsic<u64, !con(cp, argsReg, argsImm),
76 CDEIntrinsic<u64, !con(cp, (args u64:$acc), argsReg, argsImm),
94 def "" : CDEIntrinsic<u32, !con(cp, argsReg32, argsImm),
95 (bitcast !con((CDEIRInt<NAME, [f32]> $cp), cgArgs, (? $imm)),
98 (bitcast !con((CDEIRInt<NAME # "a", [f32]> $cp,
102 def d : CDEIntrinsic<u64, !con(cp, argsReg64, argsImm),
106 (bitcast !con((CDEIRInt<NAME # "a", [f64]> $cp,
194 !con((args imm_coproc:$cp, Vector:$inactive_or_acc),
[all …]
/freebsd-14.2/lib/libutil/
H A Dfparseln.c87 char esc, con, nl, com; in fparseln() local
101 con = str[1]; in fparseln()
134 if (s && con) { /* Check and eliminate continuations */ in fparseln()
137 if (*cp == con && !isescaped(ptr, cp, esc)) { in fparseln()
177 if (cp[1] == con) in fparseln()
181 if (cp[1] != com && cp[1] != con && cp[1] != esc) in fparseln()
/freebsd-14.2/contrib/blocklist/port/
H A Dfparseln.c91 char esc, con, nl, com; in fparseln() local
101 con = str[1]; in fparseln()
136 if (s && con) { /* Check and eliminate continuations */ in fparseln()
139 if (*cp == con && !isescaped(ptr, cp, esc)) { in fparseln()
182 if (cp[1] == con) in fparseln()
186 if (cp[1] != com && cp[1] != con && cp[1] != esc) in fparseln()

123456