Home
last modified time | relevance | path

Searched defs:conn (Results 1 – 25 of 72) sorted by relevance

123

/net/bluetooth/
Dhci_conn.c48 struct hci_conn *conn; member
71 static void hci_connect_le_scan_cleanup(struct hci_conn *conn, u8 status) in hci_connect_le_scan_cleanup()
141 static void hci_conn_cleanup(struct hci_conn *conn) in hci_conn_cleanup()
181 static void hci_acl_create_connection(struct hci_conn *conn) in hci_acl_create_connection()
239 int hci_disconnect(struct hci_conn *conn, __u8 reason) in hci_disconnect()
261 static void hci_add_sco(struct hci_conn *conn, __u16 handle) in hci_add_sco()
279 static bool find_next_esco_param(struct hci_conn *conn, in find_next_esco_param()
345 struct hci_conn *conn = conn_handle->conn; in hci_enhanced_setup_sync() local
464 static bool hci_setup_sync_conn(struct hci_conn *conn, __u16 handle) in hci_setup_sync_conn()
516 bool hci_setup_sync(struct hci_conn *conn, __u16 handle) in hci_setup_sync()
[all …]
Dl2cap_core.c90 static struct l2cap_chan *__l2cap_get_chan_by_dcid(struct l2cap_conn *conn, in __l2cap_get_chan_by_dcid()
102 static struct l2cap_chan *__l2cap_get_chan_by_scid(struct l2cap_conn *conn, in __l2cap_get_chan_by_scid()
117 static struct l2cap_chan *l2cap_get_chan_by_scid(struct l2cap_conn *conn, in l2cap_get_chan_by_scid()
138 static struct l2cap_chan *l2cap_get_chan_by_dcid(struct l2cap_conn *conn, in l2cap_get_chan_by_dcid()
156 static struct l2cap_chan *__l2cap_get_chan_by_ident(struct l2cap_conn *conn, in __l2cap_get_chan_by_ident()
246 static u16 l2cap_alloc_cid(struct l2cap_conn *conn) in l2cap_alloc_cid()
413 struct l2cap_conn *conn = chan->conn; in l2cap_chan_timeout() local
590 void __l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan) in __l2cap_chan_add()
642 void l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan) in l2cap_chan_add()
651 struct l2cap_conn *conn = chan->conn; in l2cap_chan_del() local
[all …]
Dhci_sysfs.c15 struct hci_conn *conn = to_hci_conn(dev); in bt_link_release() local
34 void hci_conn_init_sysfs(struct hci_conn *conn) in hci_conn_init_sysfs()
47 void hci_conn_add_sysfs(struct hci_conn *conn) in hci_conn_add_sysfs()
62 void hci_conn_del_sysfs(struct hci_conn *conn) in hci_conn_del_sysfs()
Dsmp.c98 struct l2cap_conn *conn; member
590 static void smp_send_cmd(struct l2cap_conn *conn, u8 code, u16 len, void *data) in smp_send_cmd()
648 static void build_pairing_cmd(struct l2cap_conn *conn, in build_pairing_cmd()
724 static u8 check_enc_key_size(struct l2cap_conn *conn, __u8 max_key_size) in check_enc_key_size()
743 static void smp_chan_destroy(struct l2cap_conn *conn) in smp_chan_destroy()
797 static void smp_failure(struct l2cap_conn *conn, u8 reason) in smp_failure()
851 static int tk_request(struct l2cap_conn *conn, u8 remote_oob, u8 auth, in tk_request()
951 struct l2cap_conn *conn = smp->conn; in smp_confirm() local
978 struct l2cap_conn *conn = smp->conn; in smp_random() local
1038 static void smp_notify_keys(struct l2cap_conn *conn) in smp_notify_keys()
[all …]
Dhci_event.c172 struct hci_conn *conn; in hci_cc_role_discovery() local
194 struct hci_conn *conn; in hci_cc_read_link_policy() local
216 struct hci_conn *conn; in hci_cc_write_link_policy() local
724 struct hci_conn *conn; in hci_cc_read_enc_key_size() local
796 struct hci_conn *conn; in hci_cc_read_auth_payload_timeout() local
818 struct hci_conn *conn; in hci_cc_write_auth_payload_timeout() local
1068 struct hci_conn *conn; in hci_cc_read_clock() local
1152 struct hci_conn *conn; in hci_cc_pin_code_reply() local
1556 struct hci_conn *conn; in hci_cc_le_set_adv_enable() local
1599 struct hci_conn *conn; in hci_cc_le_set_ext_adv_enable() local
[all …]
Dsco.c72 struct sco_conn *conn; member
81 struct sco_conn *conn = container_of(work, struct sco_conn, in sco_sock_timeout() local
129 struct sco_conn *conn = hcon->sco_data; in sco_conn_add() local
162 struct sco_conn *conn; in sco_chan_del() local
187 struct sco_conn *conn = hcon->sco_data; in sco_conn_del() local
217 static void __sco_chan_add(struct sco_conn *conn, struct sock *sk, in __sco_chan_add()
229 static int sco_chan_add(struct sco_conn *conn, struct sock *sk, in sco_chan_add()
246 struct sco_conn *conn; in sco_connect() local
313 struct sco_conn *conn = sco_pi(sk)->conn; in sco_send_frame() local
327 static void sco_recv_frame(struct sco_conn *conn, struct sk_buff *skb) in sco_recv_frame()
[all …]
Diso.c73 struct iso_conn *conn; member
95 struct iso_conn *conn = container_of(work, struct iso_conn, in iso_sock_timeout() local
139 struct iso_conn *conn = hcon->iso_data; in iso_conn_add() local
166 struct iso_conn *conn; in iso_chan_del() local
209 struct iso_conn *conn = hcon->iso_data; in iso_conn_del() local
259 static int __iso_chan_add(struct iso_conn *conn, struct sock *sk, in __iso_chan_add()
281 static int iso_chan_add(struct iso_conn *conn, struct sock *sk, in iso_chan_add()
303 struct iso_conn *conn; in iso_connect_bis() local
394 struct iso_conn *conn; in iso_connect_cis() local
492 struct iso_conn *conn = iso_pi(sk)->conn; in iso_send_frame() local
[all …]
/net/rxrpc/
Dconn_object.c26 void rxrpc_poke_conn(struct rxrpc_connection *conn, enum rxrpc_conn_trace why) in rxrpc_poke_conn()
46 struct rxrpc_connection *conn = in rxrpc_connection_timer() local
58 struct rxrpc_connection *conn; in rxrpc_alloc_connection() local
98 struct rxrpc_connection *conn; in rxrpc_find_client_connection_rcu() local
148 void __rxrpc_disconnect_call(struct rxrpc_connection *conn, in __rxrpc_disconnect_call()
190 struct rxrpc_connection *conn = call->conn; in rxrpc_disconnect_call() local
220 void rxrpc_queue_conn(struct rxrpc_connection *conn, enum rxrpc_conn_trace why) in rxrpc_queue_conn()
230 void rxrpc_see_connection(struct rxrpc_connection *conn, in rxrpc_see_connection()
243 struct rxrpc_connection *rxrpc_get_connection(struct rxrpc_connection *conn, in rxrpc_get_connection()
257 rxrpc_get_connection_maybe(struct rxrpc_connection *conn, in rxrpc_get_connection_maybe()
[all …]
Dconn_event.c22 static bool rxrpc_set_conn_aborted(struct rxrpc_connection *conn, struct sk_buff *skb, in rxrpc_set_conn_aborted()
49 int rxrpc_abort_conn(struct rxrpc_connection *conn, struct sk_buff *skb, in rxrpc_abort_conn()
66 static bool rxrpc_input_conn_abort(struct rxrpc_connection *conn, in rxrpc_input_conn_abort()
76 void rxrpc_conn_retransmit_call(struct rxrpc_connection *conn, in rxrpc_conn_retransmit_call()
196 static void rxrpc_abort_calls(struct rxrpc_connection *conn) in rxrpc_abort_calls()
230 static int rxrpc_process_event(struct rxrpc_connection *conn, in rxrpc_process_event()
281 static void rxrpc_secure_connection(struct rxrpc_connection *conn) in rxrpc_secure_connection()
291 void rxrpc_process_delayed_final_acks(struct rxrpc_connection *conn, bool force) in rxrpc_process_delayed_final_acks()
331 static void rxrpc_do_process_connection(struct rxrpc_connection *conn) in rxrpc_do_process_connection()
359 struct rxrpc_connection *conn = in rxrpc_process_connection() local
[all …]
Dconn_client.c46 struct rxrpc_connection *conn) in rxrpc_put_client_connection_id()
56 struct rxrpc_connection *conn; in rxrpc_destroy_client_conn_ids() local
147 struct rxrpc_connection *conn; in rxrpc_alloc_client_connection() local
199 static bool rxrpc_may_reuse_conn(struct rxrpc_connection *conn) in rxrpc_may_reuse_conn()
334 struct rxrpc_connection *conn, *old; in rxrpc_add_conn_to_bundle() local
403 static void rxrpc_activate_one_channel(struct rxrpc_connection *conn, in rxrpc_activate_one_channel()
450 static void rxrpc_unidle_conn(struct rxrpc_connection *conn) in rxrpc_unidle_conn()
463 struct rxrpc_connection *conn; in rxrpc_activate_channels() local
524 struct rxrpc_connection *conn = call->conn; in rxrpc_expose_client_call() local
563 struct rxrpc_connection *conn; in rxrpc_disconnect_client_call() local
[all …]
Dconn_service.c24 struct rxrpc_connection *conn = NULL; in rxrpc_find_service_conn_rcu() local
65 struct rxrpc_connection *conn) in rxrpc_publish_service_conn()
123 struct rxrpc_connection *conn = rxrpc_alloc_connection(rxnet, gfp); in rxrpc_prealloc_service_connection() local
149 struct rxrpc_connection *conn, in rxrpc_new_incoming_connection()
187 void rxrpc_unpublish_service_conn(struct rxrpc_connection *conn) in rxrpc_unpublish_service_conn()
Dinsecure.c11 static int none_init_connection_security(struct rxrpc_connection *conn, in none_init_connection_security()
45 static int none_respond_to_challenge(struct rxrpc_connection *conn, in none_respond_to_challenge()
52 static int none_verify_response(struct rxrpc_connection *conn, in none_verify_response()
59 static void none_clear(struct rxrpc_connection *conn) in none_clear()
Drxkad.c100 static int rxkad_init_connection_security(struct rxrpc_connection *conn, in rxkad_init_connection_security()
183 static int rxkad_prime_packet_security(struct rxrpc_connection *conn, in rxkad_prime_packet_security()
624 static int rxkad_issue_challenge(struct rxrpc_connection *conn) in rxkad_issue_challenge()
687 static int rxkad_send_response(struct rxrpc_connection *conn, in rxkad_send_response()
759 static int rxkad_encrypt_response(struct rxrpc_connection *conn, in rxkad_encrypt_response()
787 static int rxkad_respond_to_challenge(struct rxrpc_connection *conn, in rxkad_respond_to_challenge()
859 static int rxkad_decrypt_ticket(struct rxrpc_connection *conn, in rxkad_decrypt_ticket()
987 static void rxkad_decrypt_response(struct rxrpc_connection *conn, in rxkad_decrypt_response()
1021 static int rxkad_verify_response(struct rxrpc_connection *conn, in rxkad_verify_response()
1202 static void rxkad_clear(struct rxrpc_connection *conn) in rxkad_clear()
/net/smc/
Dsmc_cdc.c30 struct smc_connection *conn = cdcpend->conn; in smc_cdc_tx_handler() local
72 int smc_cdc_get_free_slot(struct smc_connection *conn, in smc_cdc_get_free_slot()
93 static inline void smc_cdc_add_pending_send(struct smc_connection *conn, in smc_cdc_add_pending_send()
111 int smc_cdc_msg_send(struct smc_connection *conn, in smc_cdc_msg_send()
142 int smcr_cdc_msg_send_validation(struct smc_connection *conn, in smcr_cdc_msg_send_validation()
173 static int smcr_cdc_get_slot_and_msg_send(struct smc_connection *conn) in smcr_cdc_get_slot_and_msg_send()
208 int smc_cdc_get_slot_and_msg_send(struct smc_connection *conn) in smc_cdc_get_slot_and_msg_send()
227 void smc_cdc_wait_pend_tx_wr(struct smc_connection *conn) in smc_cdc_wait_pend_tx_wr()
236 int smcd_cdc_msg_send(struct smc_connection *conn) in smcd_cdc_msg_send()
282 struct smc_connection *conn = &smc->conn; in smc_cdc_handle_urg_data_arrival() local
[all …]
Dsmc_tx.c80 struct smc_connection *conn = &smc->conn; in smc_tx_wait() local
147 struct smc_connection *conn = &smc->conn; in smc_should_autocork() local
161 struct smc_connection *conn = &smc->conn; in smc_tx_should_cork() local
185 struct smc_connection *conn = &smc->conn; in smc_tx_sendmsg() local
303 int smcd_tx_ism_write(struct smc_connection *conn, void *data, size_t len, in smcd_tx_ism_write()
317 static int smc_tx_rdma_write(struct smc_connection *conn, int peer_rmbe_offset, in smc_tx_rdma_write()
340 static inline void smc_tx_advance_cursors(struct smc_connection *conn, in smc_tx_advance_cursors()
356 static int smcr_tx_rdma_writes(struct smc_connection *conn, size_t len, in smcr_tx_rdma_writes()
421 static int smcd_tx_rdma_writes(struct smc_connection *conn, size_t len, in smcd_tx_rdma_writes()
463 static int smc_tx_rdma_writes(struct smc_connection *conn, in smc_tx_rdma_writes()
[all …]
Dsmc_close.c88 static int smc_close_wr(struct smc_connection *conn) in smc_close_wr()
95 static int smc_close_final(struct smc_connection *conn) in smc_close_final()
107 int smc_close_abort(struct smc_connection *conn) in smc_close_abort()
187 static inline bool smc_close_sent_any_close(struct smc_connection *conn) in smc_close_sent_any_close()
197 struct smc_connection *conn = &smc->conn; in smc_close_active() local
358 struct smc_connection *conn = container_of(work, in smc_close_passive_work() local
449 struct smc_connection *conn = &smc->conn; in smc_close_shutdown_write() local
Dsmc_cdc.h77 static inline bool smc_cdc_rxed_any_close(struct smc_connection *conn) in smc_cdc_rxed_any_close()
84 struct smc_connection *conn) in smc_cdc_rxed_any_close_or_senddone()
103 struct smc_connection *conn) in smc_curs_copy()
118 struct smc_connection *conn) in smc_curs_copy_net()
133 struct smc_connection *conn) in smcd_curs_copy()
198 struct smc_connection *conn) in smc_host_cursor_to_cdc()
207 struct smc_connection *conn, in smc_host_msg_to_cdc()
224 struct smc_connection *conn) in smc_cdc_cursor_to_host()
243 struct smc_connection *conn) in smcr_cdc_msg_to_host()
257 struct smc_connection *conn) in smcd_cdc_msg_to_host()
[all …]
Dsmc_rx.c62 struct smc_connection *conn = &smc->conn; in smc_rx_update_consumer() local
102 struct smc_connection *conn = &smc->conn; in smc_rx_update_cons() local
119 struct smc_connection *conn; in smc_rx_pipe_buf_release() local
241 static int smc_rx_data_available_and_no_splice_pend(struct smc_connection *conn) in smc_rx_data_available_and_no_splice_pend()
256 int (*fcrit)(struct smc_connection *conn)) in smc_rx_wait()
259 struct smc_connection *conn = &smc->conn; in smc_rx_wait() local
284 struct smc_connection *conn = &smc->conn; in smc_rx_recv_urg() local
327 struct smc_connection *conn = &smc->conn; in smc_rx_recvmsg_data_available() local
349 struct smc_connection *conn = &smc->conn; in smc_rx_recvmsg() local
/net/rds/
Dib_cm.c49 static void rds_ib_set_protocol(struct rds_connection *conn, unsigned int version) in rds_ib_set_protocol()
57 static void rds_ib_set_flow_control(struct rds_connection *conn, u32 credits) in rds_ib_set_flow_control()
74 void rds_ib_cm_connect_complete(struct rds_connection *conn, struct rdma_cm_event *event) in rds_ib_cm_connect_complete()
163 static void rds_ib_cm_fill_conn_param(struct rds_connection *conn, in rds_ib_cm_fill_conn_param()
249 struct rds_connection *conn = context; in rds_ib_cq_comp_handler_recv() local
285 struct rds_connection *conn = ic->conn; in rds_ib_tasklet_fn_send() local
325 struct rds_connection *conn = ic->conn; in rds_ib_tasklet_fn_recv() local
356 struct rds_connection *conn = data; in rds_ib_qp_event_handler() local
377 struct rds_connection *conn = context; in rds_ib_cq_comp_handler_send() local
502 static int rds_ib_setup_qp(struct rds_connection *conn) in rds_ib_setup_qp()
[all …]
Dconnection.c89 struct rds_connection *conn, *ret = NULL; in rds_conn_lookup() local
115 struct rds_connection *conn = cp->cp_conn; in rds_conn_path_reset() local
130 static void __rds_conn_path_init(struct rds_connection *conn, in __rds_conn_path_init()
168 struct rds_connection *conn, *parent = NULL; in __rds_conn_create() local
369 struct rds_connection *conn = cp->cp_conn; in rds_conn_shutdown() local
481 void rds_conn_destroy(struct rds_connection *conn) in rds_conn_destroy()
541 struct rds_connection *conn; in rds_conn_message_info_cmn() local
660 struct rds_connection *conn; in rds_for_each_conn_info() local
698 struct rds_connection *conn; in rds_walk_conn_path_info() local
742 struct rds_connection *conn = cp->cp_conn; in rds_conn_info_visitor() local
[all …]
Dib_send.c246 struct rds_connection *conn = ic->conn; in rds_ib_send_cqe_handler() local
379 struct rds_connection *conn = ic->i_cm_id->context; in rds_ib_send_grab_credits() local
408 void rds_ib_send_add_credits(struct rds_connection *conn, unsigned int credits) in rds_ib_send_add_credits()
429 void rds_ib_advertise_credits(struct rds_connection *conn, unsigned int posted) in rds_ib_advertise_credits()
484 int rds_ib_xmit(struct rds_connection *conn, struct rds_message *rm, in rds_ib_xmit()
766 int rds_ib_xmit_atomic(struct rds_connection *conn, struct rm_atomic_op *op) in rds_ib_xmit_atomic()
852 int rds_ib_xmit_rdma(struct rds_connection *conn, struct rm_rdma_op *op) in rds_ib_xmit_rdma()
1011 struct rds_connection *conn = cp->cp_conn; in rds_ib_xmit_path_complete() local
Dcong.c186 void rds_cong_add_conn(struct rds_connection *conn) in rds_cong_add_conn()
196 void rds_cong_remove_conn(struct rds_connection *conn) in rds_cong_remove_conn()
206 int rds_cong_get_maps(struct rds_connection *conn) in rds_cong_get_maps()
219 struct rds_connection *conn; in rds_cong_queue_updates() local
418 struct rds_message *rds_cong_update_alloc(struct rds_connection *conn) in rds_cong_update_alloc()
Dloop.c53 static bool rds_loop_is_unloading(struct rds_connection *conn) in rds_loop_is_unloading()
75 static int rds_loop_xmit(struct rds_connection *conn, struct rds_message *rm, in rds_loop_xmit()
126 struct rds_connection *conn; member
135 static int rds_loop_conn_alloc(struct rds_connection *conn, gfp_t gfp) in rds_loop_conn_alloc()
Dib_recv.c308 static int rds_ib_recv_refill_one(struct rds_connection *conn, in rds_ib_recv_refill_one()
359 static int acquire_refill(struct rds_connection *conn) in acquire_refill()
364 static void release_refill(struct rds_connection *conn) in release_refill()
383 void rds_ib_recv_refill(struct rds_connection *conn, int prefill, gfp_t gfp) in rds_ib_recv_refill()
784 static void rds_ib_cong_recv(struct rds_connection *conn, in rds_ib_cong_recv()
849 static void rds_ib_process_recv(struct rds_connection *conn, in rds_ib_process_recv()
988 struct rds_connection *conn = ic->conn; in rds_ib_recv_cqe_handler() local
1044 struct rds_connection *conn = cp->cp_conn; in rds_ib_recv_path() local
Dthreads.c100 void rds_connect_complete(struct rds_connection *conn) in rds_connect_complete()
127 struct rds_connection *conn = cp->cp_conn; in rds_queue_reconnect() local
167 struct rds_connection *conn = cp->cp_conn; in rds_connect_worker() local

123