Home
last modified time | relevance | path

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

123

/net/bluetooth/
Dhci_conn.c63 static void hci_connect_le_scan_cleanup(struct hci_conn *conn) in hci_connect_le_scan_cleanup()
114 static void hci_conn_cleanup(struct hci_conn *conn) in hci_conn_cleanup()
139 struct hci_conn *conn = container_of(work, struct hci_conn, in le_scan_cleanup() local
166 static void hci_connect_le_scan_remove(struct hci_conn *conn) in hci_connect_le_scan_remove()
188 static void hci_acl_create_connection(struct hci_conn *conn) in hci_acl_create_connection()
231 int hci_disconnect(struct hci_conn *conn, __u8 reason) in hci_disconnect()
253 static void hci_add_sco(struct hci_conn *conn, __u16 handle) in hci_add_sco()
271 bool hci_setup_sync(struct hci_conn *conn, __u16 handle) in hci_setup_sync()
321 u8 hci_le_conn_update(struct hci_conn *conn, u16 min, u16 max, u16 latency, in hci_le_conn_update()
357 void hci_le_start_enc(struct hci_conn *conn, __le16 ediv, __le64 rand, in hci_le_start_enc()
[all …]
Dl2cap_core.c91 static struct l2cap_chan *__l2cap_get_chan_by_dcid(struct l2cap_conn *conn, in __l2cap_get_chan_by_dcid()
103 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()
134 static struct l2cap_chan *l2cap_get_chan_by_dcid(struct l2cap_conn *conn, in l2cap_get_chan_by_dcid()
148 static struct l2cap_chan *__l2cap_get_chan_by_ident(struct l2cap_conn *conn, in __l2cap_get_chan_by_ident()
160 static struct l2cap_chan *l2cap_get_chan_by_ident(struct l2cap_conn *conn, in l2cap_get_chan_by_ident()
244 static u16 l2cap_alloc_cid(struct l2cap_conn *conn) in l2cap_alloc_cid()
411 struct l2cap_conn *conn = chan->conn; in l2cap_chan_timeout() local
528 void __l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan) in __l2cap_chan_add()
580 void l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan) in l2cap_chan_add()
[all …]
Dhci_event.c104 struct hci_conn *conn; in hci_cc_role_discovery() local
123 struct hci_conn *conn; in hci_cc_read_link_policy() local
142 struct hci_conn *conn; in hci_cc_write_link_policy() local
792 struct hci_conn *conn; in hci_cc_read_clock() local
862 struct hci_conn *conn; in hci_cc_pin_code_reply() local
1063 struct hci_conn *conn; in hci_cc_le_set_adv_enable() local
1380 struct hci_conn *conn; in hci_cc_read_rssi() local
1400 struct hci_conn *conn; in hci_cc_read_tx_power() local
1460 struct hci_conn *conn; in hci_cs_create_conn() local
1533 struct hci_conn *conn; in hci_cs_auth_requested() local
[all …]
Dhci_sysfs.c13 struct hci_conn *conn = to_hci_conn(dev); in bt_link_release() local
32 void hci_conn_init_sysfs(struct hci_conn *conn) in hci_conn_init_sysfs()
45 void hci_conn_add_sysfs(struct hci_conn *conn) in hci_conn_add_sysfs()
61 void hci_conn_del_sysfs(struct hci_conn *conn) in hci_conn_del_sysfs()
Dsmp.c98 struct l2cap_conn *conn; member
605 static void smp_send_cmd(struct l2cap_conn *conn, u8 code, u16 len, void *data) in smp_send_cmd()
663 static void build_pairing_cmd(struct l2cap_conn *conn, in build_pairing_cmd()
739 static u8 check_enc_key_size(struct l2cap_conn *conn, __u8 max_key_size) in check_enc_key_size()
754 static void smp_chan_destroy(struct l2cap_conn *conn) in smp_chan_destroy()
808 static void smp_failure(struct l2cap_conn *conn, u8 reason) in smp_failure()
862 static int tk_request(struct l2cap_conn *conn, u8 remote_oob, u8 auth, in tk_request()
954 struct l2cap_conn *conn = smp->conn; in smp_confirm() local
981 struct l2cap_conn *conn = smp->conn; in smp_random() local
1041 static void smp_notify_keys(struct l2cap_conn *conn) in smp_notify_keys()
[all …]
Dsco.c69 struct sco_conn *conn; member
107 struct sco_conn *conn = hcon->sco_data; in sco_conn_add() local
135 struct sco_conn *conn; in sco_chan_del() local
160 struct sco_conn *conn = hcon->sco_data; in sco_conn_del() local
187 static void __sco_chan_add(struct sco_conn *conn, struct sock *sk, in __sco_chan_add()
199 static int sco_chan_add(struct sco_conn *conn, struct sock *sk, in sco_chan_add()
216 struct sco_conn *conn; in sco_connect() local
277 struct sco_conn *conn = sco_pi(sk)->conn; in sco_send_frame() local
301 static void sco_recv_frame(struct sco_conn *conn, struct sk_buff *skb) in sco_recv_frame()
728 static void sco_conn_defer_accept(struct hci_conn *conn, u16 setting) in sco_conn_defer_accept()
[all …]
/net/rxrpc/
Dconn_object.c33 struct rxrpc_connection *conn; in rxrpc_alloc_connection() local
68 struct rxrpc_connection *conn; in rxrpc_find_connection_rcu() local
158 void __rxrpc_disconnect_call(struct rxrpc_connection *conn, in __rxrpc_disconnect_call()
195 struct rxrpc_connection *conn = call->conn; in rxrpc_disconnect_call() local
217 void rxrpc_kill_connection(struct rxrpc_connection *conn) in rxrpc_kill_connection()
248 bool rxrpc_queue_conn(struct rxrpc_connection *conn) in rxrpc_queue_conn()
264 void rxrpc_see_connection(struct rxrpc_connection *conn) in rxrpc_see_connection()
277 void rxrpc_get_connection(struct rxrpc_connection *conn) in rxrpc_get_connection()
289 rxrpc_get_connection_maybe(struct rxrpc_connection *conn) in rxrpc_get_connection_maybe()
306 void rxrpc_put_service_conn(struct rxrpc_connection *conn) in rxrpc_put_service_conn()
[all …]
Dconn_client.c105 static int rxrpc_get_client_connection_id(struct rxrpc_connection *conn, in rxrpc_get_client_connection_id()
140 static void rxrpc_put_client_connection_id(struct rxrpc_connection *conn) in rxrpc_put_client_connection_id()
155 struct rxrpc_connection *conn; in rxrpc_destroy_client_conn_ids() local
175 struct rxrpc_connection *conn; in rxrpc_alloc_client_connection() local
238 static bool rxrpc_may_reuse_conn(struct rxrpc_connection *conn) in rxrpc_may_reuse_conn()
283 struct rxrpc_connection *conn, *candidate = NULL; in rxrpc_get_client_conn() local
450 struct rxrpc_connection *conn) in rxrpc_activate_conn()
476 struct rxrpc_connection *conn) in rxrpc_animate_client_conn()
533 static void rxrpc_deactivate_one_channel(struct rxrpc_connection *conn, in rxrpc_deactivate_one_channel()
547 static void rxrpc_activate_one_channel(struct rxrpc_connection *conn, in rxrpc_activate_one_channel()
[all …]
Dconn_service.c28 struct rxrpc_connection *conn = NULL; in rxrpc_find_service_conn_rcu() local
68 struct rxrpc_connection *conn) in rxrpc_publish_service_conn()
126 struct rxrpc_connection *conn = rxrpc_alloc_connection(gfp); in rxrpc_prealloc_service_connection() local
153 struct rxrpc_connection *conn, in rxrpc_new_incoming_connection()
189 void rxrpc_unpublish_service_conn(struct rxrpc_connection *conn) in rxrpc_unpublish_service_conn()
Dinsecure.c15 static int none_init_connection_security(struct rxrpc_connection *conn) in none_init_connection_security()
20 static int none_prime_packet_security(struct rxrpc_connection *conn) in none_prime_packet_security()
45 static int none_respond_to_challenge(struct rxrpc_connection *conn, in none_respond_to_challenge()
56 static int none_verify_response(struct rxrpc_connection *conn, in none_verify_response()
67 static void none_clear(struct rxrpc_connection *conn) in none_clear()
Dconn_event.c26 static void rxrpc_conn_retransmit_call(struct rxrpc_connection *conn, in rxrpc_conn_retransmit_call()
137 static void rxrpc_abort_calls(struct rxrpc_connection *conn, in rxrpc_abort_calls()
171 static int rxrpc_abort_connection(struct rxrpc_connection *conn, in rxrpc_abort_connection()
259 static int rxrpc_process_event(struct rxrpc_connection *conn, in rxrpc_process_event()
346 static void rxrpc_secure_connection(struct rxrpc_connection *conn) in rxrpc_secure_connection()
390 struct rxrpc_connection *conn = in rxrpc_process_connection() local
Drxkad.c55 static int rxkad_init_connection_security(struct rxrpc_connection *conn) in rxkad_init_connection_security()
104 static int rxkad_prime_packet_security(struct rxrpc_connection *conn) in rxkad_prime_packet_security()
614 static int rxkad_issue_challenge(struct rxrpc_connection *conn) in rxkad_issue_challenge()
678 static int rxkad_send_response(struct rxrpc_connection *conn, in rxkad_send_response()
747 static void rxkad_encrypt_response(struct rxrpc_connection *conn, in rxkad_encrypt_response()
770 static int rxkad_respond_to_challenge(struct rxrpc_connection *conn, in rxkad_respond_to_challenge()
855 static int rxkad_decrypt_ticket(struct rxrpc_connection *conn, in rxkad_decrypt_ticket()
1013 static void rxkad_decrypt_response(struct rxrpc_connection *conn, in rxkad_decrypt_response()
1049 static int rxkad_verify_response(struct rxrpc_connection *conn, in rxkad_verify_response()
1209 static void rxkad_clear(struct rxrpc_connection *conn) in rxkad_clear()
/net/rds/
Dib_cm.c46 static void rds_ib_set_protocol(struct rds_connection *conn, unsigned int version) in rds_ib_set_protocol()
54 static void rds_ib_set_flow_control(struct rds_connection *conn, u32 credits) in rds_ib_set_flow_control()
96 void rds_ib_cm_connect_complete(struct rds_connection *conn, struct rdma_cm_event *event) in rds_ib_cm_connect_complete()
174 static void rds_ib_cm_fill_conn_param(struct rds_connection *conn, in rds_ib_cm_fill_conn_param()
232 struct rds_connection *conn = context; in rds_ib_cq_comp_handler_recv() local
268 struct rds_connection *conn = ic->conn; in rds_ib_tasklet_fn_send() local
308 struct rds_connection *conn = ic->conn; in rds_ib_tasklet_fn_recv() local
339 struct rds_connection *conn = data; in rds_ib_qp_event_handler() local
361 struct rds_connection *conn = context; in rds_ib_cq_comp_handler_send() local
397 static int rds_ib_setup_qp(struct rds_connection *conn) in rds_ib_setup_qp()
[all …]
Dconnection.c78 struct rds_connection *conn, *ret = NULL; in rds_conn_lookup() local
100 struct rds_connection *conn = cp->cp_conn; in rds_conn_path_reset() local
115 static void __rds_conn_path_init(struct rds_connection *conn, in __rds_conn_path_init()
149 struct rds_connection *conn, *parent = NULL; in __rds_conn_create() local
309 struct rds_connection *conn = cp->cp_conn; in rds_conn_shutdown() local
418 void rds_conn_destroy(struct rds_connection *conn) in rds_conn_destroy()
466 struct rds_connection *conn; in rds_conn_message_info() local
539 struct rds_connection *conn; in rds_for_each_conn_info() local
577 struct rds_connection *conn; in rds_walk_conn_path_info() local
695 void rds_conn_drop(struct rds_connection *conn) in rds_conn_drop()
[all …]
Dib_send.c249 struct rds_connection *conn = ic->conn; in rds_ib_send_cqe_handler() local
382 struct rds_connection *conn = ic->i_cm_id->context; in rds_ib_send_grab_credits() local
411 void rds_ib_send_add_credits(struct rds_connection *conn, unsigned int credits) in rds_ib_send_add_credits()
432 void rds_ib_advertise_credits(struct rds_connection *conn, unsigned int posted) in rds_ib_advertise_credits()
487 int rds_ib_xmit(struct rds_connection *conn, struct rds_message *rm, in rds_ib_xmit()
757 int rds_ib_xmit_atomic(struct rds_connection *conn, struct rm_atomic_op *op) in rds_ib_xmit_atomic()
846 int rds_ib_xmit_rdma(struct rds_connection *conn, struct rm_rdma_op *op) in rds_ib_xmit_rdma()
989 struct rds_connection *conn = cp->cp_conn; in rds_ib_xmit_path_complete() local
Dcong.c183 void rds_cong_add_conn(struct rds_connection *conn) in rds_cong_add_conn()
193 void rds_cong_remove_conn(struct rds_connection *conn) in rds_cong_remove_conn()
203 int rds_cong_get_maps(struct rds_connection *conn) in rds_cong_get_maps()
216 struct rds_connection *conn; in rds_cong_queue_updates() local
411 struct rds_message *rds_cong_update_alloc(struct rds_connection *conn) in rds_cong_update_alloc()
Dthreads.c95 void rds_connect_complete(struct rds_connection *conn) in rds_connect_complete()
122 struct rds_connection *conn = cp->cp_conn; in rds_queue_reconnect() local
156 struct rds_connection *conn = cp->cp_conn; in rds_connect_worker() local
Dloop.c61 static int rds_loop_xmit(struct rds_connection *conn, struct rds_message *rm, in rds_loop_xmit()
112 struct rds_connection *conn; member
121 static int rds_loop_conn_alloc(struct rds_connection *conn, gfp_t gfp) in rds_loop_conn_alloc()
Dib_recv.c306 static int rds_ib_recv_refill_one(struct rds_connection *conn, in rds_ib_recv_refill_one()
357 static int acquire_refill(struct rds_connection *conn) in acquire_refill()
362 static void release_refill(struct rds_connection *conn) in release_refill()
382 void rds_ib_recv_refill(struct rds_connection *conn, int prefill, gfp_t gfp) in rds_ib_recv_refill()
771 static void rds_ib_cong_recv(struct rds_connection *conn, in rds_ib_cong_recv()
838 static void rds_ib_process_recv(struct rds_connection *conn, in rds_ib_process_recv()
971 struct rds_connection *conn = ic->conn; in rds_ib_recv_cqe_handler() local
1026 struct rds_connection *conn = cp->cp_conn; in rds_ib_recv_path() local
Dsend.c139 struct rds_connection *conn = cp->cp_conn; in rds_send_xmit() local
694 void rds_send_drop_acked(struct rds_connection *conn, u64 ack, in rds_send_drop_acked()
705 struct rds_connection *conn; in rds_send_drop_to() local
802 static int rds_send_queue_rm(struct rds_sock *rs, struct rds_connection *conn, in rds_send_queue_rm()
978 static int rds_send_mprds_hash(struct rds_sock *rs, struct rds_connection *conn) in rds_send_mprds_hash()
1035 struct rds_connection *conn; in rds_sendmsg() local
1296 rds_send_ping(struct rds_connection *conn, int cp_index) in rds_send_ping()
/net/smc/
Dsmc_cdc.h53 static inline bool smc_cdc_rxed_any_close(struct smc_connection *conn) in smc_cdc_rxed_any_close()
60 struct smc_connection *conn) in smc_cdc_rxed_any_close_or_senddone()
78 struct smc_connection *conn) in smc_curs_read()
94 struct smc_connection *conn) in smc_curs_read_net()
110 struct smc_connection *conn) in smc_curs_write()
124 struct smc_connection *conn) in smc_curs_write_net()
151 struct smc_connection *conn) in smc_host_cursor_to_cdc()
163 struct smc_connection *conn) in smc_host_msg_to_cdc()
177 struct smc_connection *conn) in smc_cdc_cursor_to_host()
196 struct smc_connection *conn) in smc_cdc_msg_to_host()
Dsmc_core.c41 static void smc_lgr_add_alert_token(struct smc_connection *conn) in smc_lgr_add_alert_token()
67 static void smc_lgr_register_conn(struct smc_connection *conn) in smc_lgr_register_conn()
87 static void __smc_lgr_unregister_conn(struct smc_connection *conn) in __smc_lgr_unregister_conn()
101 static void smc_lgr_unregister_conn(struct smc_connection *conn) in smc_lgr_unregister_conn()
221 static void smc_buf_unuse(struct smc_connection *conn) in smc_buf_unuse()
235 void smc_conn_free(struct smc_connection *conn) in smc_conn_free()
314 struct smc_connection *conn; in smc_lgr_terminate() local
401 struct smc_connection *conn = &smc->conn; in smc_conn_create() local
564 struct smc_connection *conn = &smc->conn; in __smc_buf_create() local
632 void smc_sndbuf_sync_sg_for_cpu(struct smc_connection *conn) in smc_sndbuf_sync_sg_for_cpu()
[all …]
Dsmc_close.c89 static int smc_close_wr(struct smc_connection *conn) in smc_close_wr()
96 static int smc_close_final(struct smc_connection *conn) in smc_close_final()
106 static int smc_close_abort(struct smc_connection *conn) in smc_close_abort()
168 static inline bool smc_close_sent_any_close(struct smc_connection *conn) in smc_close_sent_any_close()
178 struct smc_connection *conn = &smc->conn; in smc_close_active() local
326 struct smc_connection *conn = container_of(work, in smc_close_passive_work() local
416 struct smc_connection *conn = &smc->conn; in smc_close_shutdown_write() local
Dsmc_cdc.c25 struct smc_connection *conn; /* socket connection */ member
74 static inline void smc_cdc_add_pending_send(struct smc_connection *conn, in smc_cdc_add_pending_send()
92 int smc_cdc_msg_send(struct smc_connection *conn, in smc_cdc_msg_send()
116 int smc_cdc_get_slot_and_msg_send(struct smc_connection *conn) in smc_cdc_get_slot_and_msg_send()
133 struct smc_connection *conn = (struct smc_connection *)data; in smc_cdc_tx_filter() local
148 void smc_cdc_tx_dismiss_slots(struct smc_connection *conn) in smc_cdc_tx_dismiss_slots()
157 bool smc_cdc_tx_has_pending(struct smc_connection *conn) in smc_cdc_tx_has_pending()
177 struct smc_connection *conn = &smc->conn; in smc_cdc_msg_recv_action() local
Dsmc_tx.c71 struct smc_connection *conn = &smc->conn; in smc_tx_wait_memory() local
125 struct smc_connection *conn = &smc->conn; in smc_tx_sendmsg() local
228 static int smc_tx_rdma_write(struct smc_connection *conn, int peer_rmbe_offset, in smc_tx_rdma_write()
257 static inline void smc_tx_advance_cursors(struct smc_connection *conn, in smc_tx_advance_cursors()
275 static int smc_tx_rdma_writes(struct smc_connection *conn) in smc_tx_rdma_writes()
391 int smc_tx_sndbuf_nonempty(struct smc_connection *conn) in smc_tx_sndbuf_nonempty()
435 struct smc_connection *conn = container_of(to_delayed_work(work), in smc_tx_work() local
449 void smc_tx_consumer_update(struct smc_connection *conn) in smc_tx_consumer_update()

123