Home
last modified time | relevance | path

Searched defs:conn (Results 1 – 25 of 74) 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()
147 struct hci_conn *conn = container_of(work, struct hci_conn, in le_scan_cleanup() local
174 static void hci_connect_le_scan_remove(struct hci_conn *conn) in hci_connect_le_scan_remove()
196 static void hci_acl_create_connection(struct hci_conn *conn) in hci_acl_create_connection()
254 int hci_disconnect(struct hci_conn *conn, __u8 reason) in hci_disconnect()
276 static void hci_add_sco(struct hci_conn *conn, __u16 handle) in hci_add_sco()
294 static bool find_next_esco_param(struct hci_conn *conn, in find_next_esco_param()
308 bool hci_setup_sync(struct hci_conn *conn, __u16 handle) in hci_setup_sync()
360 u8 hci_le_conn_update(struct hci_conn *conn, u16 min, u16 max, u16 latency, in hci_le_conn_update()
[all …]
Dl2cap_core.c92 static struct l2cap_chan *__l2cap_get_chan_by_dcid(struct l2cap_conn *conn, in __l2cap_get_chan_by_dcid()
104 static struct l2cap_chan *__l2cap_get_chan_by_scid(struct l2cap_conn *conn, in __l2cap_get_chan_by_scid()
119 static struct l2cap_chan *l2cap_get_chan_by_scid(struct l2cap_conn *conn, in l2cap_get_chan_by_scid()
140 static struct l2cap_chan *l2cap_get_chan_by_dcid(struct l2cap_conn *conn, in l2cap_get_chan_by_dcid()
158 static struct l2cap_chan *__l2cap_get_chan_by_ident(struct l2cap_conn *conn, in __l2cap_get_chan_by_ident()
170 static struct l2cap_chan *l2cap_get_chan_by_ident(struct l2cap_conn *conn, in l2cap_get_chan_by_ident()
266 static u16 l2cap_alloc_cid(struct l2cap_conn *conn) in l2cap_alloc_cid()
433 struct l2cap_conn *conn = chan->conn; in l2cap_chan_timeout() local
583 void __l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan) in __l2cap_chan_add()
635 void l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan) in l2cap_chan_add()
[all …]
Dhci_event.c124 struct hci_conn *conn; in hci_cc_role_discovery() local
143 struct hci_conn *conn; in hci_cc_read_link_policy() local
162 struct hci_conn *conn; in hci_cc_write_link_policy() local
629 struct hci_conn *conn; in hci_cc_read_auth_payload_timeout() local
649 struct hci_conn *conn; in hci_cc_write_auth_payload_timeout() local
898 struct hci_conn *conn; in hci_cc_read_clock() local
999 struct hci_conn *conn; in hci_cc_pin_code_reply() local
1276 struct hci_conn *conn; in hci_cc_le_set_adv_enable() local
1317 struct hci_conn *conn; in hci_cc_le_set_ext_adv_enable() local
1855 struct hci_conn *conn; in hci_cc_read_rssi() 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()
60 void hci_conn_del_sysfs(struct hci_conn *conn) in hci_conn_del_sysfs()
Dsmp.c96 struct l2cap_conn *conn; member
588 static void smp_send_cmd(struct l2cap_conn *conn, u8 code, u16 len, void *data) in smp_send_cmd()
646 static void build_pairing_cmd(struct l2cap_conn *conn, in build_pairing_cmd()
722 static u8 check_enc_key_size(struct l2cap_conn *conn, __u8 max_key_size) in check_enc_key_size()
741 static void smp_chan_destroy(struct l2cap_conn *conn) in smp_chan_destroy()
795 static void smp_failure(struct l2cap_conn *conn, u8 reason) in smp_failure()
849 static int tk_request(struct l2cap_conn *conn, u8 remote_oob, u8 auth, in tk_request()
949 struct l2cap_conn *conn = smp->conn; in smp_confirm() local
976 struct l2cap_conn *conn = smp->conn; in smp_random() local
1035 static void smp_notify_keys(struct l2cap_conn *conn) in smp_notify_keys()
[all …]
Dsco.c72 struct sco_conn *conn; member
81 struct sco_conn *conn = container_of(work, struct sco_conn, in sco_sock_timeout() local
126 struct sco_conn *conn = hcon->sco_data; in sco_conn_add() local
155 struct sco_conn *conn; in sco_chan_del() local
180 struct sco_conn *conn = hcon->sco_data; in sco_conn_del() local
210 static void __sco_chan_add(struct sco_conn *conn, struct sock *sk, in __sco_chan_add()
222 static int sco_chan_add(struct sco_conn *conn, struct sock *sk, in sco_chan_add()
239 struct sco_conn *conn; in sco_connect() local
285 struct sco_conn *conn = sco_pi(sk)->conn; in sco_send_frame() local
299 static void sco_recv_frame(struct sco_conn *conn, struct sk_buff *skb) in sco_recv_frame()
[all …]
/net/rxrpc/
Dconn_object.c26 struct rxrpc_connection *conn = in rxrpc_connection_timer() local
37 struct rxrpc_connection *conn; in rxrpc_alloc_connection() local
74 struct rxrpc_connection *conn; in rxrpc_find_connection_rcu() local
163 void __rxrpc_disconnect_call(struct rxrpc_connection *conn, in __rxrpc_disconnect_call()
208 struct rxrpc_connection *conn = call->conn; in rxrpc_disconnect_call() local
232 void rxrpc_kill_connection(struct rxrpc_connection *conn) in rxrpc_kill_connection()
263 bool rxrpc_queue_conn(struct rxrpc_connection *conn) in rxrpc_queue_conn()
280 void rxrpc_see_connection(struct rxrpc_connection *conn) in rxrpc_see_connection()
293 struct rxrpc_connection *rxrpc_get_connection(struct rxrpc_connection *conn) in rxrpc_get_connection()
307 rxrpc_get_connection_maybe(struct rxrpc_connection *conn) in rxrpc_get_connection_maybe()
[all …]
Dconn_client.c51 static int rxrpc_get_client_connection_id(struct rxrpc_connection *conn, in rxrpc_get_client_connection_id()
86 static void rxrpc_put_client_connection_id(struct rxrpc_connection *conn) in rxrpc_put_client_connection_id()
101 struct rxrpc_connection *conn; in rxrpc_destroy_client_conn_ids() local
166 struct rxrpc_connection *conn; in rxrpc_alloc_client_connection() local
223 static bool rxrpc_may_reuse_conn(struct rxrpc_connection *conn) in rxrpc_may_reuse_conn()
513 static void rxrpc_activate_one_channel(struct rxrpc_connection *conn, in rxrpc_activate_one_channel()
571 static void rxrpc_unidle_conn(struct rxrpc_bundle *bundle, struct rxrpc_connection *conn) in rxrpc_unidle_conn()
595 struct rxrpc_connection *conn; in rxrpc_activate_channels_locked() local
762 struct rxrpc_connection *conn = call->conn; in rxrpc_expose_client_call() local
797 struct rxrpc_connection *conn; in rxrpc_disconnect_client_call() local
[all …]
Dconn_event.c22 static void rxrpc_conn_retransmit_call(struct rxrpc_connection *conn, in rxrpc_conn_retransmit_call()
159 static void rxrpc_abort_calls(struct rxrpc_connection *conn, in rxrpc_abort_calls()
197 static int rxrpc_abort_connection(struct rxrpc_connection *conn, in rxrpc_abort_connection()
291 static int rxrpc_process_event(struct rxrpc_connection *conn, in rxrpc_process_event()
377 static void rxrpc_secure_connection(struct rxrpc_connection *conn) in rxrpc_secure_connection()
404 void rxrpc_process_delayed_final_acks(struct rxrpc_connection *conn, bool force) in rxrpc_process_delayed_final_acks()
446 static void rxrpc_do_process_connection(struct rxrpc_connection *conn) in rxrpc_do_process_connection()
494 struct rxrpc_connection *conn = in rxrpc_process_connection() local
Dconn_service.c30 struct rxrpc_connection *conn = NULL; in rxrpc_find_service_conn_rcu() local
71 struct rxrpc_connection *conn) in rxrpc_publish_service_conn()
129 struct rxrpc_connection *conn = rxrpc_alloc_connection(gfp); in rxrpc_prealloc_service_connection() local
158 struct rxrpc_connection *conn, in rxrpc_new_incoming_connection()
196 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()
50 static int none_respond_to_challenge(struct rxrpc_connection *conn, in none_respond_to_challenge()
61 static int none_verify_response(struct rxrpc_connection *conn, in none_verify_response()
72 static void none_clear(struct rxrpc_connection *conn) in none_clear()
/net/smc/
Dsmc_cdc.c30 struct smc_connection *conn = cdcpend->conn; in smc_cdc_tx_handler() local
62 int smc_cdc_get_free_slot(struct smc_connection *conn, in smc_cdc_get_free_slot()
83 static inline void smc_cdc_add_pending_send(struct smc_connection *conn, in smc_cdc_add_pending_send()
101 int smc_cdc_msg_send(struct smc_connection *conn, in smc_cdc_msg_send()
132 int smcr_cdc_msg_send_validation(struct smc_connection *conn, in smcr_cdc_msg_send_validation()
163 static int smcr_cdc_get_slot_and_msg_send(struct smc_connection *conn) in smcr_cdc_get_slot_and_msg_send()
198 int smc_cdc_get_slot_and_msg_send(struct smc_connection *conn) in smc_cdc_get_slot_and_msg_send()
216 void smc_cdc_wait_pend_tx_wr(struct smc_connection *conn) in smc_cdc_wait_pend_tx_wr()
225 int smcd_cdc_msg_send(struct smc_connection *conn) in smcd_cdc_msg_send()
271 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
141 struct smc_connection *conn = &smc->conn; in smc_tx_sendmsg() local
263 int smcd_tx_ism_write(struct smc_connection *conn, void *data, size_t len, in smcd_tx_ism_write()
281 static int smc_tx_rdma_write(struct smc_connection *conn, int peer_rmbe_offset, in smc_tx_rdma_write()
304 static inline void smc_tx_advance_cursors(struct smc_connection *conn, in smc_tx_advance_cursors()
320 static int smcr_tx_rdma_writes(struct smc_connection *conn, size_t len, in smcr_tx_rdma_writes()
373 static int smcd_tx_rdma_writes(struct smc_connection *conn, size_t len, in smcd_tx_rdma_writes()
415 static int smc_tx_rdma_writes(struct smc_connection *conn, in smc_tx_rdma_writes()
499 static int smcr_tx_sndbuf_nonempty(struct smc_connection *conn) in smcr_tx_sndbuf_nonempty()
557 static int smcd_tx_sndbuf_nonempty(struct smc_connection *conn) in smcd_tx_sndbuf_nonempty()
[all …]
Dsmc_close.c85 static int smc_close_wr(struct smc_connection *conn) in smc_close_wr()
92 static int smc_close_final(struct smc_connection *conn) in smc_close_final()
104 int smc_close_abort(struct smc_connection *conn) in smc_close_abort()
184 static inline bool smc_close_sent_any_close(struct smc_connection *conn) in smc_close_sent_any_close()
194 struct smc_connection *conn = &smc->conn; in smc_close_active() local
352 struct smc_connection *conn = container_of(work, in smc_close_passive_work() local
443 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.c57 struct smc_connection *conn = &smc->conn; in smc_rx_update_consumer() local
97 struct smc_connection *conn = &smc->conn; in smc_rx_update_cons() local
114 struct smc_connection *conn; in smc_rx_pipe_buf_release() local
178 static int smc_rx_data_available_and_no_splice_pend(struct smc_connection *conn) in smc_rx_data_available_and_no_splice_pend()
193 int (*fcrit)(struct smc_connection *conn)) in smc_rx_wait()
196 struct smc_connection *conn = &smc->conn; in smc_rx_wait() local
221 struct smc_connection *conn = &smc->conn; in smc_rx_recv_urg() local
264 struct smc_connection *conn = &smc->conn; in smc_rx_recvmsg_data_available() local
286 struct smc_connection *conn = &smc->conn; in smc_rx_recvmsg() local
Dsmc_core.c100 static void smc_lgr_add_alert_token(struct smc_connection *conn) in smc_lgr_add_alert_token()
122 static int smcr_lgr_conn_assign_link(struct smc_connection *conn, bool first) in smcr_lgr_conn_assign_link()
165 static int smc_lgr_register_conn(struct smc_connection *conn, bool first) in smc_lgr_register_conn()
194 static void __smc_lgr_unregister_conn(struct smc_connection *conn) in __smc_lgr_unregister_conn()
209 static void smc_lgr_unregister_conn(struct smc_connection *conn) in smc_lgr_unregister_conn()
856 static int smc_write_space(struct smc_connection *conn) in smc_write_space()
873 struct smc_connection *conn = &smc->conn; in smc_switch_cursor() local
920 void smc_switch_link_and_count(struct smc_connection *conn, in smc_switch_link_and_count()
933 struct smc_connection *conn; in smc_switch_conns() local
1036 static void smc_buf_unuse(struct smc_connection *conn, in smc_buf_unuse()
[all …]
/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.c307 static int rds_ib_recv_refill_one(struct rds_connection *conn, in rds_ib_recv_refill_one()
358 static int acquire_refill(struct rds_connection *conn) in acquire_refill()
363 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()
783 static void rds_ib_cong_recv(struct rds_connection *conn, in rds_ib_cong_recv()
848 static void rds_ib_process_recv(struct rds_connection *conn, in rds_ib_process_recv()
987 struct rds_connection *conn = ic->conn; in rds_ib_recv_cqe_handler() local
1043 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
Dsend.c139 struct rds_connection *conn = cp->cp_conn; in rds_send_xmit() local
714 void rds_send_drop_acked(struct rds_connection *conn, u64 ack, in rds_send_drop_acked()
725 struct rds_connection *conn; in rds_send_drop_to() local
818 static int rds_send_queue_rm(struct rds_sock *rs, struct rds_connection *conn, in rds_send_queue_rm()
1046 struct rds_connection *conn, int nonblock) in rds_send_mprds_hash()
1109 struct rds_connection *conn; in rds_sendmsg() local
1501 rds_send_ping(struct rds_connection *conn, int cp_index) in rds_send_ping()

123