• Home
  • Raw
  • Download

Lines Matching defs:chan

206 int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm)  in l2cap_add_psm()
251 int l2cap_add_scid(struct l2cap_chan *chan, __u16 scid) in l2cap_add_scid()
283 static void l2cap_state_change(struct l2cap_chan *chan, int state) in l2cap_state_change()
292 static inline void l2cap_state_change_and_error(struct l2cap_chan *chan, in l2cap_state_change_and_error()
299 static inline void l2cap_chan_set_err(struct l2cap_chan *chan, int err) in l2cap_chan_set_err()
304 static void __set_retrans_timer(struct l2cap_chan *chan) in __set_retrans_timer()
313 static void __set_monitor_timer(struct l2cap_chan *chan) in __set_monitor_timer()
431 struct l2cap_chan *chan = container_of(work, struct l2cap_chan, in l2cap_chan_timeout() local
464 struct l2cap_chan *chan; in l2cap_chan_create() local
501 struct l2cap_chan *chan = container_of(kref, struct l2cap_chan, kref); in l2cap_chan_destroy() local
537 void l2cap_chan_set_defaults(struct l2cap_chan *chan) in l2cap_chan_set_defaults()
558 static void l2cap_le_flowctl_init(struct l2cap_chan *chan, u16 tx_credits) in l2cap_le_flowctl_init()
572 static void l2cap_ecred_init(struct l2cap_chan *chan, u16 tx_credits) in l2cap_ecred_init()
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()
642 void l2cap_chan_del(struct l2cap_chan *chan, int err) in l2cap_chan_del()
716 struct l2cap_chan *chan, *l; in __l2cap_chan_list_id() local
727 struct l2cap_chan *chan; in __l2cap_chan_list() local
752 struct l2cap_chan *chan; in l2cap_conn_update_id_addr() local
766 static void l2cap_chan_le_connect_reject(struct l2cap_chan *chan) in l2cap_chan_le_connect_reject()
789 static void l2cap_chan_ecred_connect_reject(struct l2cap_chan *chan) in l2cap_chan_ecred_connect_reject()
796 static void l2cap_chan_connect_reject(struct l2cap_chan *chan) in l2cap_chan_connect_reject()
817 void l2cap_chan_close(struct l2cap_chan *chan, int reason) in l2cap_chan_close()
868 static inline u8 l2cap_get_auth_type(struct l2cap_chan *chan) in l2cap_get_auth_type()
921 int l2cap_chan_check_security(struct l2cap_chan *chan, bool initiator) in l2cap_chan_check_security()
982 static bool __chan_is_moving(struct l2cap_chan *chan) in __chan_is_moving()
988 static void l2cap_do_send(struct l2cap_chan *chan, struct sk_buff *skb) in l2cap_do_send()
1068 static inline void __unpack_control(struct l2cap_chan *chan, in __unpack_control()
1120 static inline void __pack_control(struct l2cap_chan *chan, in __pack_control()
1133 static inline unsigned int __ertm_hdr_size(struct l2cap_chan *chan) in __ertm_hdr_size()
1141 static struct sk_buff *l2cap_create_sframe_pdu(struct l2cap_chan *chan, in l2cap_create_sframe_pdu()
1174 static void l2cap_send_sframe(struct l2cap_chan *chan, in l2cap_send_sframe()
1215 static void l2cap_send_rr_or_rnr(struct l2cap_chan *chan, bool poll) in l2cap_send_rr_or_rnr()
1234 static inline int __l2cap_no_conn_pending(struct l2cap_chan *chan) in __l2cap_no_conn_pending()
1242 static bool __amp_capable(struct l2cap_chan *chan) in __amp_capable()
1270 static bool l2cap_check_efs(struct l2cap_chan *chan) in l2cap_check_efs()
1276 void l2cap_send_conn_req(struct l2cap_chan *chan) in l2cap_send_conn_req()
1291 static void l2cap_send_create_chan_req(struct l2cap_chan *chan, u8 amp_id) in l2cap_send_create_chan_req()
1304 static void l2cap_move_setup(struct l2cap_chan *chan) in l2cap_move_setup()
1339 static void l2cap_move_done(struct l2cap_chan *chan) in l2cap_move_done()
1361 static void l2cap_chan_ready(struct l2cap_chan *chan) in l2cap_chan_ready()
1387 static void l2cap_le_connect(struct l2cap_chan *chan) in l2cap_le_connect()
1417 struct l2cap_chan *chan; member
1422 static void l2cap_ecred_defer_connect(struct l2cap_chan *chan, void *data) in l2cap_ecred_defer_connect()
1454 static void l2cap_ecred_connect(struct l2cap_chan *chan) in l2cap_ecred_connect()
1488 static void l2cap_le_start(struct l2cap_chan *chan) in l2cap_le_start()
1508 static void l2cap_start_connection(struct l2cap_chan *chan) in l2cap_start_connection()
1553 static void l2cap_do_start(struct l2cap_chan *chan) in l2cap_do_start()
1596 static void l2cap_send_disconn_req(struct l2cap_chan *chan, int err) in l2cap_send_disconn_req()
1626 struct l2cap_chan *chan, *tmp; in l2cap_conn_start() local
1739 struct l2cap_chan *chan; in l2cap_conn_ready() local
1781 struct l2cap_chan *chan; in l2cap_conn_unreliable() local
1888 struct l2cap_chan *chan, *l; in l2cap_conn_del() local
2020 struct l2cap_chan *chan = container_of(work, struct l2cap_chan, in l2cap_monitor_timeout() local
2041 struct l2cap_chan *chan = container_of(work, struct l2cap_chan, in l2cap_retrans_timeout() local
2059 static void l2cap_streaming_send(struct l2cap_chan *chan, in l2cap_streaming_send()
2098 static int l2cap_ertm_send(struct l2cap_chan *chan) in l2cap_ertm_send()
2168 static void l2cap_ertm_resend(struct l2cap_chan *chan) in l2cap_ertm_resend()
2249 static void l2cap_retransmit(struct l2cap_chan *chan, in l2cap_retransmit()
2258 static void l2cap_retransmit_all(struct l2cap_chan *chan, in l2cap_retransmit_all()
2292 static void l2cap_send_ack(struct l2cap_chan *chan) in l2cap_send_ack()
2342 static inline int l2cap_skbuff_fromiovec(struct l2cap_chan *chan, in l2cap_skbuff_fromiovec()
2386 static struct sk_buff *l2cap_create_connless_pdu(struct l2cap_chan *chan, in l2cap_create_connless_pdu()
2418 static struct sk_buff *l2cap_create_basic_pdu(struct l2cap_chan *chan, in l2cap_create_basic_pdu()
2448 static struct sk_buff *l2cap_create_iframe_pdu(struct l2cap_chan *chan, in l2cap_create_iframe_pdu()
2502 static int l2cap_segment_sdu(struct l2cap_chan *chan, in l2cap_segment_sdu()
2569 static struct sk_buff *l2cap_create_le_flowctl_pdu(struct l2cap_chan *chan, in l2cap_create_le_flowctl_pdu()
2612 static int l2cap_segment_le_sdu(struct l2cap_chan *chan, in l2cap_segment_le_sdu()
2648 static void l2cap_le_flowctl_send(struct l2cap_chan *chan) in l2cap_le_flowctl_send()
2664 int l2cap_chan_send(struct l2cap_chan *chan, struct msghdr *msg, size_t len) in l2cap_chan_send()
2768 static void l2cap_send_srej(struct l2cap_chan *chan, u16 txseq) in l2cap_send_srej()
2791 static void l2cap_send_srej_tail(struct l2cap_chan *chan) in l2cap_send_srej_tail()
2807 static void l2cap_send_srej_list(struct l2cap_chan *chan, u16 txseq) in l2cap_send_srej_list()
2833 static void l2cap_process_reqseq(struct l2cap_chan *chan, u16 reqseq) in l2cap_process_reqseq()
2865 static void l2cap_abort_rx_srej_sent(struct l2cap_chan *chan) in l2cap_abort_rx_srej_sent()
2875 static void l2cap_tx_state_xmit(struct l2cap_chan *chan, in l2cap_tx_state_xmit()
2947 static void l2cap_tx_state_wait_f(struct l2cap_chan *chan, in l2cap_tx_state_wait_f()
3024 static void l2cap_tx(struct l2cap_chan *chan, struct l2cap_ctrl *control, in l2cap_tx()
3043 static void l2cap_pass_to_tx(struct l2cap_chan *chan, in l2cap_pass_to_tx()
3050 static void l2cap_pass_to_tx_fbit(struct l2cap_chan *chan, in l2cap_pass_to_tx_fbit()
3061 struct l2cap_chan *chan; in l2cap_raw_recv() local
3219 static void l2cap_add_opt_efs(void **ptr, struct l2cap_chan *chan, size_t size) in l2cap_add_opt_efs()
3252 struct l2cap_chan *chan = container_of(work, struct l2cap_chan, in l2cap_ack_timeout() local
3270 int l2cap_ertm_init(struct l2cap_chan *chan) in l2cap_ertm_init()
3336 static void __l2cap_set_ertm_timeouts(struct l2cap_chan *chan, in __l2cap_set_ertm_timeouts()
3374 static inline void l2cap_txwin_setup(struct l2cap_chan *chan) in l2cap_txwin_setup()
3389 static void l2cap_mtu_auto(struct l2cap_chan *chan) in l2cap_mtu_auto()
3432 static int l2cap_build_conf_req(struct l2cap_chan *chan, void *data, size_t data_size) in l2cap_build_conf_req()
3558 static int l2cap_parse_conf_req(struct l2cap_chan *chan, void *data, size_t data_size) in l2cap_parse_conf_req()
3784 static int l2cap_parse_conf_rsp(struct l2cap_chan *chan, void *rsp, int len, in l2cap_parse_conf_rsp()
3902 static int l2cap_build_conf_rsp(struct l2cap_chan *chan, void *data, in l2cap_build_conf_rsp()
3917 void __l2cap_le_connect_rsp_defer(struct l2cap_chan *chan) in __l2cap_le_connect_rsp_defer()
3934 static void l2cap_ecred_list_defer(struct l2cap_chan *chan, void *data) in l2cap_ecred_list_defer()
3963 static void l2cap_ecred_rsp_defer(struct l2cap_chan *chan, void *data) in l2cap_ecred_rsp_defer()
3980 void __l2cap_ecred_conn_rsp_defer(struct l2cap_chan *chan) in __l2cap_ecred_conn_rsp_defer()
4016 void __l2cap_connect_rsp_defer(struct l2cap_chan *chan) in __l2cap_connect_rsp_defer()
4045 static void l2cap_conf_rfc_get(struct l2cap_chan *chan, void *rsp, int len) in l2cap_conf_rfc_get()
4132 struct l2cap_chan *chan = NULL, *pchan; in l2cap_connect() local
4294 struct l2cap_chan *chan; in l2cap_connect_create_rsp() local
4377 static inline void set_default_fcs(struct l2cap_chan *chan) in set_default_fcs()
4388 static void l2cap_send_efs_conf_rsp(struct l2cap_chan *chan, void *data, in l2cap_send_efs_conf_rsp()
4423 struct l2cap_chan *chan; in l2cap_config_req() local
4534 struct l2cap_chan *chan; in l2cap_config_rsp() local
4649 struct l2cap_chan *chan; in l2cap_disconnect_req() local
4691 struct l2cap_chan *chan; in l2cap_disconnect_rsp() local
4846 struct l2cap_chan *chan; in l2cap_create_channel_req() local
4917 static void l2cap_send_move_chan_req(struct l2cap_chan *chan, u8 dest_amp_id) in l2cap_send_move_chan_req()
4936 static void l2cap_send_move_chan_rsp(struct l2cap_chan *chan, u16 result) in l2cap_send_move_chan_rsp()
4949 static void l2cap_send_move_chan_cfm(struct l2cap_chan *chan, u16 result) in l2cap_send_move_chan_cfm()
4990 static void __release_logical_link(struct l2cap_chan *chan) in __release_logical_link()
4998 static void l2cap_logical_fail(struct l2cap_chan *chan) in l2cap_logical_fail()
5029 static void l2cap_logical_finish_create(struct l2cap_chan *chan, in l2cap_logical_finish_create()
5052 static void l2cap_logical_finish_move(struct l2cap_chan *chan, in l2cap_logical_finish_move()
5087 void l2cap_logical_cfm(struct l2cap_chan *chan, struct hci_chan *hchan, in l2cap_logical_cfm()
5107 void l2cap_move_start(struct l2cap_chan *chan) in l2cap_move_start()
5126 static void l2cap_do_create(struct l2cap_chan *chan, int result, in l2cap_do_create()
5178 static void l2cap_do_move_initiate(struct l2cap_chan *chan, u8 local_amp_id, in l2cap_do_move_initiate()
5188 static void l2cap_do_move_respond(struct l2cap_chan *chan, int result) in l2cap_do_move_respond()
5213 static void l2cap_do_move_cancel(struct l2cap_chan *chan, int result) in l2cap_do_move_cancel()
5233 void __l2cap_physical_cfm(struct l2cap_chan *chan, int result) in __l2cap_physical_cfm()
5270 struct l2cap_chan *chan; in l2cap_move_channel_req() local
5364 struct l2cap_chan *chan; in l2cap_move_continue() local
5456 struct l2cap_chan *chan; in l2cap_move_fail() local
5511 struct l2cap_chan *chan; in l2cap_move_channel_confirm() local
5554 struct l2cap_chan *chan; in l2cap_move_channel_confirm_rsp() local
5648 struct l2cap_chan *chan; in l2cap_le_connect_rsp() local
5814 struct l2cap_chan *chan, *pchan; in l2cap_le_connect_req() local
5952 struct l2cap_chan *chan; in l2cap_le_credits() local
6003 struct l2cap_chan *chan, *pchan; in l2cap_ecred_conn_req() local
6157 struct l2cap_chan *chan, *tmp; in l2cap_ecred_conn_rsp() local
6271 struct l2cap_chan *chan; in l2cap_ecred_reconf_req() local
6339 struct l2cap_chan *chan, *tmp; in l2cap_ecred_reconf_rsp() local
6368 struct l2cap_chan *chan; in l2cap_le_command_rej() local
6553 static int l2cap_check_fcs(struct l2cap_chan *chan, struct sk_buff *skb) in l2cap_check_fcs()
6574 static void l2cap_send_i_or_rr_or_rnr(struct l2cap_chan *chan) in l2cap_send_i_or_rr_or_rnr()
6627 static int l2cap_reassemble_sdu(struct l2cap_chan *chan, struct sk_buff *skb, in l2cap_reassemble_sdu()
6712 static int l2cap_resegment(struct l2cap_chan *chan) in l2cap_resegment()
6718 void l2cap_chan_busy(struct l2cap_chan *chan, int busy) in l2cap_chan_busy()
6729 static int l2cap_rx_queued_iframes(struct l2cap_chan *chan) in l2cap_rx_queued_iframes()
6763 static void l2cap_handle_srej(struct l2cap_chan *chan, in l2cap_handle_srej()
6821 static void l2cap_handle_rej(struct l2cap_chan *chan, in l2cap_handle_rej()
6858 static u8 l2cap_classify_txseq(struct l2cap_chan *chan, u16 txseq) in l2cap_classify_txseq()
6944 static int l2cap_rx_state_recv(struct l2cap_chan *chan, in l2cap_rx_state_recv()
7096 static int l2cap_rx_state_srej_sent(struct l2cap_chan *chan, in l2cap_rx_state_srej_sent()
7239 static int l2cap_finish_move(struct l2cap_chan *chan) in l2cap_finish_move()
7253 static int l2cap_rx_state_wait_p(struct l2cap_chan *chan, in l2cap_rx_state_wait_p()
7291 static int l2cap_rx_state_wait_f(struct l2cap_chan *chan, in l2cap_rx_state_wait_f()
7329 static bool __valid_reqseq(struct l2cap_chan *chan, u16 reqseq) in __valid_reqseq()
7338 static int l2cap_rx(struct l2cap_chan *chan, struct l2cap_ctrl *control, in l2cap_rx()
7375 static int l2cap_stream_rx(struct l2cap_chan *chan, struct l2cap_ctrl *control, in l2cap_stream_rx()
7427 static int l2cap_data_rcv(struct l2cap_chan *chan, struct sk_buff *skb) in l2cap_data_rcv()
7520 static void l2cap_chan_le_send_credits(struct l2cap_chan *chan) in l2cap_chan_le_send_credits()
7545 static int l2cap_ecred_recv(struct l2cap_chan *chan, struct sk_buff *skb) in l2cap_ecred_recv()
7560 static int l2cap_ecred_data_rcv(struct l2cap_chan *chan, struct sk_buff *skb) in l2cap_ecred_data_rcv()
7667 struct l2cap_chan *chan; in l2cap_data_channel() local
7745 struct l2cap_chan *chan; in l2cap_conless_channel() local
7924 struct l2cap_chan *chan; member
7929 static void l2cap_chan_by_pid(struct l2cap_chan *chan, void *data) in l2cap_chan_by_pid()
7950 int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid, in l2cap_chan_connect()
8137 static void l2cap_ecred_reconfigure(struct l2cap_chan *chan) in l2cap_ecred_reconfigure()
8155 int l2cap_chan_reconfigure(struct l2cap_chan *chan, __u16 mtu) in l2cap_chan_reconfigure()
8270 struct l2cap_chan *chan, *next; in l2cap_connect_cfm() local
8318 static inline void l2cap_check_encryption(struct l2cap_chan *chan, u8 encrypt) in l2cap_check_encryption()
8338 struct l2cap_chan *chan; in l2cap_security_cfm() local