include/net/bluetooth/bluetooth.h
456
struct l2cap_chan *chan;
include/net/bluetooth/l2cap.h
622
struct l2cap_chan *(*new_connection) (struct l2cap_chan *chan);
include/net/bluetooth/l2cap.h
623
int (*recv) (struct l2cap_chan * chan,
include/net/bluetooth/l2cap.h
625
void (*teardown) (struct l2cap_chan *chan, int err);
include/net/bluetooth/l2cap.h
626
void (*close) (struct l2cap_chan *chan);
include/net/bluetooth/l2cap.h
627
void (*state_change) (struct l2cap_chan *chan,
include/net/bluetooth/l2cap.h
629
void (*ready) (struct l2cap_chan *chan);
include/net/bluetooth/l2cap.h
630
void (*defer) (struct l2cap_chan *chan);
include/net/bluetooth/l2cap.h
631
void (*resume) (struct l2cap_chan *chan);
include/net/bluetooth/l2cap.h
632
void (*suspend) (struct l2cap_chan *chan);
include/net/bluetooth/l2cap.h
633
void (*set_shutdown) (struct l2cap_chan *chan);
include/net/bluetooth/l2cap.h
634
long (*get_sndtimeo) (struct l2cap_chan *chan);
include/net/bluetooth/l2cap.h
635
struct pid *(*get_peer_pid) (struct l2cap_chan *chan);
include/net/bluetooth/l2cap.h
636
struct sk_buff *(*alloc_skb) (struct l2cap_chan *chan,
include/net/bluetooth/l2cap.h
639
int (*filter) (struct l2cap_chan * chan,
include/net/bluetooth/l2cap.h
670
struct l2cap_chan *smp;
include/net/bluetooth/l2cap.h
703
struct l2cap_chan *chan;
include/net/bluetooth/l2cap.h
823
void l2cap_chan_hold(struct l2cap_chan *c);
include/net/bluetooth/l2cap.h
824
struct l2cap_chan *l2cap_chan_hold_unless_zero(struct l2cap_chan *c);
include/net/bluetooth/l2cap.h
825
void l2cap_chan_put(struct l2cap_chan *c);
include/net/bluetooth/l2cap.h
827
static inline void l2cap_chan_lock(struct l2cap_chan *chan)
include/net/bluetooth/l2cap.h
832
static inline void l2cap_chan_unlock(struct l2cap_chan *chan)
include/net/bluetooth/l2cap.h
837
static inline void l2cap_set_timer(struct l2cap_chan *chan,
include/net/bluetooth/l2cap.h
851
static inline bool l2cap_clear_timer(struct l2cap_chan *chan,
include/net/bluetooth/l2cap.h
873
static inline int __seq_offset(struct l2cap_chan *chan, __u16 seq1, __u16 seq2)
include/net/bluetooth/l2cap.h
881
static inline __u16 __next_seq(struct l2cap_chan *chan, __u16 seq)
include/net/bluetooth/l2cap.h
886
static inline struct l2cap_chan *l2cap_chan_no_new_connection(struct l2cap_chan *chan)
include/net/bluetooth/l2cap.h
891
static inline int l2cap_chan_no_recv(struct l2cap_chan *chan, struct sk_buff *skb)
include/net/bluetooth/l2cap.h
896
static inline struct sk_buff *l2cap_chan_no_alloc_skb(struct l2cap_chan *chan,
include/net/bluetooth/l2cap.h
903
static inline void l2cap_chan_no_teardown(struct l2cap_chan *chan, int err)
include/net/bluetooth/l2cap.h
907
static inline void l2cap_chan_no_close(struct l2cap_chan *chan)
include/net/bluetooth/l2cap.h
911
static inline void l2cap_chan_no_ready(struct l2cap_chan *chan)
include/net/bluetooth/l2cap.h
915
static inline void l2cap_chan_no_state_change(struct l2cap_chan *chan,
include/net/bluetooth/l2cap.h
920
static inline void l2cap_chan_no_defer(struct l2cap_chan *chan)
include/net/bluetooth/l2cap.h
924
static inline void l2cap_chan_no_suspend(struct l2cap_chan *chan)
include/net/bluetooth/l2cap.h
928
static inline void l2cap_chan_no_resume(struct l2cap_chan *chan)
include/net/bluetooth/l2cap.h
932
static inline void l2cap_chan_no_set_shutdown(struct l2cap_chan *chan)
include/net/bluetooth/l2cap.h
936
static inline long l2cap_chan_no_get_sndtimeo(struct l2cap_chan *chan)
include/net/bluetooth/l2cap.h
948
void __l2cap_le_connect_rsp_defer(struct l2cap_chan *chan);
include/net/bluetooth/l2cap.h
949
void __l2cap_ecred_conn_rsp_defer(struct l2cap_chan *chan);
include/net/bluetooth/l2cap.h
950
void __l2cap_connect_rsp_defer(struct l2cap_chan *chan);
include/net/bluetooth/l2cap.h
952
int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm);
include/net/bluetooth/l2cap.h
953
int l2cap_add_scid(struct l2cap_chan *chan, __u16 scid);
include/net/bluetooth/l2cap.h
955
struct l2cap_chan *l2cap_chan_create(void);
include/net/bluetooth/l2cap.h
956
void l2cap_chan_close(struct l2cap_chan *chan, int reason);
include/net/bluetooth/l2cap.h
957
int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid,
include/net/bluetooth/l2cap.h
959
int l2cap_chan_reconfigure(struct l2cap_chan *chan, __u16 mtu);
include/net/bluetooth/l2cap.h
960
int l2cap_chan_send(struct l2cap_chan *chan, struct msghdr *msg, size_t len,
include/net/bluetooth/l2cap.h
962
void l2cap_chan_busy(struct l2cap_chan *chan, int busy);
include/net/bluetooth/l2cap.h
963
void l2cap_chan_rx_avail(struct l2cap_chan *chan, ssize_t rx_avail);
include/net/bluetooth/l2cap.h
964
int l2cap_chan_check_security(struct l2cap_chan *chan, bool initiator);
include/net/bluetooth/l2cap.h
965
void l2cap_chan_set_defaults(struct l2cap_chan *chan);
include/net/bluetooth/l2cap.h
966
int l2cap_ertm_init(struct l2cap_chan *chan);
include/net/bluetooth/l2cap.h
967
void l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan);
include/net/bluetooth/l2cap.h
968
void __l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan);
include/net/bluetooth/l2cap.h
969
typedef void (*l2cap_chan_func_t)(struct l2cap_chan *chan, void *data);
include/net/bluetooth/l2cap.h
972
void l2cap_chan_del(struct l2cap_chan *chan, int err);
include/net/bluetooth/l2cap.h
973
void l2cap_send_conn_req(struct l2cap_chan *chan);
net/bluetooth/6lowpan.c
1041
struct l2cap_chan *chans[32];
net/bluetooth/6lowpan.c
115
__peer_lookup_chan(struct lowpan_btle_dev *dev, struct l2cap_chan *chan)
net/bluetooth/6lowpan.c
35
struct l2cap_chan *chan;
net/bluetooth/6lowpan.c
353
static int chan_recv_cb(struct l2cap_chan *chan, struct sk_buff *skb)
net/bluetooth/6lowpan.c
437
static int send_pkt(struct l2cap_chan *chan, struct sk_buff *skb,
net/bluetooth/6lowpan.c
53
static struct l2cap_chan *listen_chan;
net/bluetooth/6lowpan.c
625
static struct l2cap_chan *chan_create(void)
net/bluetooth/6lowpan.c
627
struct l2cap_chan *chan;
net/bluetooth/6lowpan.c
64
struct l2cap_chan *chan;
net/bluetooth/6lowpan.c
642
static struct l2cap_chan *add_peer_chan(struct l2cap_chan *chan,
net/bluetooth/6lowpan.c
671
static int setup_netdev(struct l2cap_chan *chan, struct lowpan_btle_dev **dev)
net/bluetooth/6lowpan.c
722
static inline void chan_ready_cb(struct l2cap_chan *chan)
net/bluetooth/6lowpan.c
746
static inline struct l2cap_chan *chan_new_conn_cb(struct l2cap_chan *pchan)
net/bluetooth/6lowpan.c
748
struct l2cap_chan *chan;
net/bluetooth/6lowpan.c
772
static void chan_close_cb(struct l2cap_chan *chan)
net/bluetooth/6lowpan.c
827
static void chan_state_change_cb(struct l2cap_chan *chan, int state, int err)
net/bluetooth/6lowpan.c
833
static struct sk_buff *chan_alloc_skb_cb(struct l2cap_chan *chan,
net/bluetooth/6lowpan.c
849
static void chan_suspend_cb(struct l2cap_chan *chan)
net/bluetooth/6lowpan.c
862
static void chan_resume_cb(struct l2cap_chan *chan)
net/bluetooth/6lowpan.c
875
static long chan_get_sndtimeo_cb(struct l2cap_chan *chan)
net/bluetooth/6lowpan.c
899
struct l2cap_chan *chan;
net/bluetooth/6lowpan.c
937
static struct l2cap_chan *bt_6lowpan_listen(void)
net/bluetooth/6lowpan.c
940
struct l2cap_chan *chan;
net/bluetooth/hidp/core.c
1326
struct l2cap_chan *ctrl_chan, *intr_chan;
net/bluetooth/hidp/core.c
1365
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
102
static struct l2cap_chan *__l2cap_get_chan_by_scid(struct l2cap_conn *conn,
net/bluetooth/l2cap_core.c
105
struct l2cap_chan *c;
net/bluetooth/l2cap_core.c
1070
static inline void __unpack_control(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
1122
static inline void __pack_control(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
1135
static inline unsigned int __ertm_hdr_size(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
1143
static struct sk_buff *l2cap_create_sframe_pdu(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
117
static struct l2cap_chan *l2cap_get_chan_by_scid(struct l2cap_conn *conn,
net/bluetooth/l2cap_core.c
1176
static void l2cap_send_sframe(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
120
struct l2cap_chan *c;
net/bluetooth/l2cap_core.c
1214
static void l2cap_send_rr_or_rnr(struct l2cap_chan *chan, bool poll)
net/bluetooth/l2cap_core.c
1233
static inline int __l2cap_no_conn_pending(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
1241
void l2cap_send_conn_req(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
1256
static void l2cap_chan_ready(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
1282
static void l2cap_le_connect(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
1313
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
1318
static void l2cap_ecred_defer_connect(struct l2cap_chan *chan, void *data)
net/bluetooth/l2cap_core.c
1350
static void l2cap_ecred_connect(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
136
static struct l2cap_chan *l2cap_get_chan_by_dcid(struct l2cap_conn *conn,
net/bluetooth/l2cap_core.c
1383
static void l2cap_le_start(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
139
struct l2cap_chan *c;
net/bluetooth/l2cap_core.c
1403
static void l2cap_start_connection(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
1431
struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
1452
static void l2cap_do_start(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
1495
static void l2cap_send_disconn_req(struct l2cap_chan *chan, int err)
net/bluetooth/l2cap_core.c
152
static struct l2cap_chan *__l2cap_get_chan_by_ident(struct l2cap_conn *conn,
net/bluetooth/l2cap_core.c
1520
struct l2cap_chan *chan, *tmp;
net/bluetooth/l2cap_core.c
155
struct l2cap_chan *c;
net/bluetooth/l2cap_core.c
1629
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
164
static struct l2cap_chan *__l2cap_global_chan_by_addr(__le16 psm, bdaddr_t *src,
net/bluetooth/l2cap_core.c
1666
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
167
struct l2cap_chan *c;
net/bluetooth/l2cap_core.c
1767
struct l2cap_chan *chan, *l;
net/bluetooth/l2cap_core.c
182
int l2cap_add_psm(struct l2cap_chan *chan, bdaddr_t *src, __le16 psm)
net/bluetooth/l2cap_core.c
1844
static struct l2cap_chan *l2cap_global_chan_by_psm(int state, __le16 psm,
net/bluetooth/l2cap_core.c
1849
struct l2cap_chan *c, *tmp, *c1 = NULL;
net/bluetooth/l2cap_core.c
1897
struct l2cap_chan *chan = container_of(work, struct l2cap_chan,
net/bluetooth/l2cap_core.c
1918
struct l2cap_chan *chan = container_of(work, struct l2cap_chan,
net/bluetooth/l2cap_core.c
1936
static void l2cap_streaming_send(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
1972
static int l2cap_ertm_send(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
2039
static void l2cap_ertm_resend(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
2117
static void l2cap_retransmit(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
2126
static void l2cap_retransmit_all(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
2160
static void l2cap_send_ack(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
2210
static inline int l2cap_skbuff_fromiovec(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
2254
static struct sk_buff *l2cap_create_connless_pdu(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
227
int l2cap_add_scid(struct l2cap_chan *chan, __u16 scid)
net/bluetooth/l2cap_core.c
2286
static struct sk_buff *l2cap_create_basic_pdu(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
2316
static struct sk_buff *l2cap_create_iframe_pdu(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
2370
static int l2cap_segment_sdu(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
2439
static struct sk_buff *l2cap_create_le_flowctl_pdu(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
2482
static int l2cap_segment_le_sdu(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
2518
static void l2cap_le_flowctl_send(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
2559
int l2cap_chan_send(struct l2cap_chan *chan, struct msghdr *msg, size_t len,
net/bluetooth/l2cap_core.c
259
static void l2cap_state_change(struct l2cap_chan *chan, int state)
net/bluetooth/l2cap_core.c
2673
static void l2cap_send_srej(struct l2cap_chan *chan, u16 txseq)
net/bluetooth/l2cap_core.c
268
static inline void l2cap_state_change_and_error(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
2696
static void l2cap_send_srej_tail(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
2712
static void l2cap_send_srej_list(struct l2cap_chan *chan, u16 txseq)
net/bluetooth/l2cap_core.c
2738
static void l2cap_process_reqseq(struct l2cap_chan *chan, u16 reqseq)
net/bluetooth/l2cap_core.c
275
static inline void l2cap_chan_set_err(struct l2cap_chan *chan, int err)
net/bluetooth/l2cap_core.c
2770
static void l2cap_abort_rx_srej_sent(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
2780
static void l2cap_tx_state_xmit(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
280
static void __set_retrans_timer(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
2852
static void l2cap_tx_state_wait_f(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
289
static void __set_monitor_timer(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
2929
static void l2cap_tx(struct l2cap_chan *chan, struct l2cap_ctrl *control,
net/bluetooth/l2cap_core.c
2948
static void l2cap_pass_to_tx(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
2955
static void l2cap_pass_to_tx_fbit(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
2966
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
3120
static void l2cap_add_opt_efs(void **ptr, struct l2cap_chan *chan, size_t size)
net/bluetooth/l2cap_core.c
3153
struct l2cap_chan *chan = container_of(work, struct l2cap_chan,
net/bluetooth/l2cap_core.c
3171
int l2cap_ertm_init(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
3230
static void __l2cap_set_ertm_timeouts(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
3237
static inline void l2cap_txwin_setup(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
3252
static void l2cap_mtu_auto(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
3295
static int l2cap_build_conf_req(struct l2cap_chan *chan, void *data, size_t data_size)
net/bluetooth/l2cap_core.c
3421
static int l2cap_parse_conf_req(struct l2cap_chan *chan, void *data, size_t data_size)
net/bluetooth/l2cap_core.c
3664
static int l2cap_parse_conf_rsp(struct l2cap_chan *chan, void *rsp, int len,
net/bluetooth/l2cap_core.c
3782
static int l2cap_build_conf_rsp(struct l2cap_chan *chan, void *data,
net/bluetooth/l2cap_core.c
3797
void __l2cap_le_connect_rsp_defer(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
3814
static void l2cap_ecred_list_defer(struct l2cap_chan *chan, void *data)
net/bluetooth/l2cap_core.c
3843
static void l2cap_ecred_rsp_defer(struct l2cap_chan *chan, void *data)
net/bluetooth/l2cap_core.c
3866
void __l2cap_ecred_conn_rsp_defer(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
3902
void __l2cap_connect_rsp_defer(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
3927
static void l2cap_conf_rfc_get(struct l2cap_chan *chan, void *rsp, int len)
net/bluetooth/l2cap_core.c
4013
struct l2cap_chan *chan = NULL, *pchan = NULL;
net/bluetooth/l2cap_core.c
407
struct l2cap_chan *chan = container_of(work, struct l2cap_chan,
net/bluetooth/l2cap_core.c
4155
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
4227
static inline void set_default_fcs(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
4238
static void l2cap_send_efs_conf_rsp(struct l2cap_chan *chan, void *data,
net/bluetooth/l2cap_core.c
4273
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
4383
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
441
struct l2cap_chan *l2cap_chan_create(void)
net/bluetooth/l2cap_core.c
443
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
4491
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
4529
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
4730
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
483
struct l2cap_chan *chan = container_of(kref, struct l2cap_chan, kref);
net/bluetooth/l2cap_core.c
4890
struct l2cap_chan *chan, *pchan;
net/bluetooth/l2cap_core.c
494
void l2cap_chan_hold(struct l2cap_chan *c)
net/bluetooth/l2cap_core.c
502
struct l2cap_chan *l2cap_chan_hold_unless_zero(struct l2cap_chan *c)
net/bluetooth/l2cap_core.c
5034
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
5082
struct l2cap_chan *chan, *pchan;
net/bluetooth/l2cap_core.c
512
void l2cap_chan_put(struct l2cap_chan *c)
net/bluetooth/l2cap_core.c
520
void l2cap_chan_set_defaults(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
5253
struct l2cap_chan *chan, *tmp;
net/bluetooth/l2cap_core.c
5363
struct l2cap_chan *chan[L2CAP_ECRED_MAX_CID] = {};
net/bluetooth/l2cap_core.c
541
static __u16 l2cap_le_rx_credits(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
5458
struct l2cap_chan *chan, *tmp;
net/bluetooth/l2cap_core.c
5487
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
563
static void l2cap_le_flowctl_init(struct l2cap_chan *chan, u16 tx_credits)
net/bluetooth/l2cap_core.c
5671
static int l2cap_check_fcs(struct l2cap_chan *chan, struct sk_buff *skb)
net/bluetooth/l2cap_core.c
5692
static void l2cap_send_i_or_rr_or_rnr(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
57
static int l2cap_build_conf_req(struct l2cap_chan *chan, void *data, size_t data_size);
net/bluetooth/l2cap_core.c
5745
static int l2cap_reassemble_sdu(struct l2cap_chan *chan, struct sk_buff *skb,
net/bluetooth/l2cap_core.c
576
static void l2cap_ecred_init(struct l2cap_chan *chan, u16 tx_credits)
net/bluetooth/l2cap_core.c
58
static void l2cap_send_disconn_req(struct l2cap_chan *chan, int err);
net/bluetooth/l2cap_core.c
5830
static int l2cap_resegment(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
5836
void l2cap_chan_busy(struct l2cap_chan *chan, int busy)
net/bluetooth/l2cap_core.c
5847
static int l2cap_rx_queued_iframes(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
587
void __l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
5881
static void l2cap_handle_srej(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
5939
static void l2cap_handle_rej(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
5976
static u8 l2cap_classify_txseq(struct l2cap_chan *chan, u16 txseq)
net/bluetooth/l2cap_core.c
60
static void l2cap_tx(struct l2cap_chan *chan, struct l2cap_ctrl *control,
net/bluetooth/l2cap_core.c
6062
static int l2cap_rx_state_recv(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
6214
static int l2cap_rx_state_srej_sent(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
6357
static int l2cap_finish_move(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
6367
static int l2cap_rx_state_wait_p(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
640
void l2cap_chan_add(struct l2cap_conn *conn, struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
6405
static int l2cap_rx_state_wait_f(struct l2cap_chan *chan,
net/bluetooth/l2cap_core.c
6439
static bool __valid_reqseq(struct l2cap_chan *chan, u16 reqseq)
net/bluetooth/l2cap_core.c
6448
static int l2cap_rx(struct l2cap_chan *chan, struct l2cap_ctrl *control,
net/bluetooth/l2cap_core.c
647
void l2cap_chan_del(struct l2cap_chan *chan, int err)
net/bluetooth/l2cap_core.c
6485
static int l2cap_stream_rx(struct l2cap_chan *chan, struct l2cap_ctrl *control,
net/bluetooth/l2cap_core.c
6537
static int l2cap_data_rcv(struct l2cap_chan *chan, struct sk_buff *skb)
net/bluetooth/l2cap_core.c
6630
static void l2cap_chan_le_send_credits(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
6657
void l2cap_chan_rx_avail(struct l2cap_chan *chan, ssize_t rx_avail)
net/bluetooth/l2cap_core.c
6670
static int l2cap_ecred_recv(struct l2cap_chan *chan, struct sk_buff *skb)
net/bluetooth/l2cap_core.c
6691
static int l2cap_ecred_data_rcv(struct l2cap_chan *chan, struct sk_buff *skb)
net/bluetooth/l2cap_core.c
6809
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
6876
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
7049
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
7054
static void l2cap_chan_by_pid(struct l2cap_chan *chan, void *data)
net/bluetooth/l2cap_core.c
7075
int l2cap_chan_connect(struct l2cap_chan *chan, __le16 psm, u16 cid,
net/bluetooth/l2cap_core.c
708
struct l2cap_chan *chan, *l;
net/bluetooth/l2cap_core.c
719
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
7260
static void l2cap_ecred_reconfigure(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
7275
int l2cap_chan_reconfigure(struct l2cap_chan *chan, __u16 mtu)
net/bluetooth/l2cap_core.c
7294
struct l2cap_chan *c;
net/bluetooth/l2cap_core.c
7324
static struct l2cap_chan *l2cap_global_fixed_chan(struct l2cap_chan *c,
net/bluetooth/l2cap_core.c
7360
struct l2cap_chan *pchan;
net/bluetooth/l2cap_core.c
7390
struct l2cap_chan *chan, *next;
net/bluetooth/l2cap_core.c
7438
static inline void l2cap_check_encryption(struct l2cap_chan *chan, u8 encrypt)
net/bluetooth/l2cap_core.c
744
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
7458
struct l2cap_chan *chan;
net/bluetooth/l2cap_core.c
758
static void l2cap_chan_le_connect_reject(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
7779
struct l2cap_chan *c;
net/bluetooth/l2cap_core.c
781
static void l2cap_chan_ecred_connect_reject(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
788
static void l2cap_chan_connect_reject(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
809
void l2cap_chan_close(struct l2cap_chan *chan, int reason)
net/bluetooth/l2cap_core.c
860
static inline u8 l2cap_get_auth_type(struct l2cap_chan *chan)
net/bluetooth/l2cap_core.c
90
static struct l2cap_chan *__l2cap_get_chan_by_dcid(struct l2cap_conn *conn,
net/bluetooth/l2cap_core.c
913
int l2cap_chan_check_security(struct l2cap_chan *chan, bool initiator)
net/bluetooth/l2cap_core.c
93
struct l2cap_chan *c;
net/bluetooth/l2cap_core.c
999
static void l2cap_do_send(struct l2cap_chan *chan, struct sk_buff *skb)
net/bluetooth/l2cap_sock.c
1133
struct l2cap_chan *chan = l2cap_pi(sk)->chan;
net/bluetooth/l2cap_sock.c
1170
static void l2cap_publish_rx_avail(struct l2cap_chan *chan)
net/bluetooth/l2cap_sock.c
1293
static int __l2cap_wait_ack(struct sock *sk, struct l2cap_chan *chan)
net/bluetooth/l2cap_sock.c
1341
struct l2cap_chan *chan;
net/bluetooth/l2cap_sock.c
1443
struct l2cap_chan *chan;
net/bluetooth/l2cap_sock.c
1480
struct l2cap_chan *chan = l2cap_pi(sk)->chan;
net/bluetooth/l2cap_sock.c
1497
static struct l2cap_chan *l2cap_sock_new_connection_cb(struct l2cap_chan *chan)
net/bluetooth/l2cap_sock.c
1528
static int l2cap_sock_recv_cb(struct l2cap_chan *chan, struct sk_buff *skb)
net/bluetooth/l2cap_sock.c
1591
static void l2cap_sock_close_cb(struct l2cap_chan *chan)
net/bluetooth/l2cap_sock.c
1601
static void l2cap_sock_teardown_cb(struct l2cap_chan *chan, int err)
net/bluetooth/l2cap_sock.c
1655
static void l2cap_sock_state_change_cb(struct l2cap_chan *chan, int state,
net/bluetooth/l2cap_sock.c
1666
static struct sk_buff *l2cap_sock_alloc_skb_cb(struct l2cap_chan *chan,
net/bluetooth/l2cap_sock.c
1696
static void l2cap_sock_ready_cb(struct l2cap_chan *chan)
net/bluetooth/l2cap_sock.c
1719
static void l2cap_sock_defer_cb(struct l2cap_chan *chan)
net/bluetooth/l2cap_sock.c
1732
static void l2cap_sock_resume_cb(struct l2cap_chan *chan)
net/bluetooth/l2cap_sock.c
1748
static void l2cap_sock_set_shutdown_cb(struct l2cap_chan *chan)
net/bluetooth/l2cap_sock.c
1757
static long l2cap_sock_get_sndtimeo_cb(struct l2cap_chan *chan)
net/bluetooth/l2cap_sock.c
1764
static struct pid *l2cap_sock_get_peer_pid_cb(struct l2cap_chan *chan)
net/bluetooth/l2cap_sock.c
1771
static void l2cap_sock_suspend_cb(struct l2cap_chan *chan)
net/bluetooth/l2cap_sock.c
1779
static int l2cap_sock_filter(struct l2cap_chan *chan, struct sk_buff *skb)
net/bluetooth/l2cap_sock.c
1847
struct l2cap_chan *chan = l2cap_pi(sk)->chan;
net/bluetooth/l2cap_sock.c
185
struct l2cap_chan *chan = l2cap_pi(sk)->chan;
net/bluetooth/l2cap_sock.c
1852
struct l2cap_chan *pchan = l2cap_pi(parent)->chan;
net/bluetooth/l2cap_sock.c
1923
struct l2cap_chan *chan;
net/bluetooth/l2cap_sock.c
275
struct l2cap_chan *chan = l2cap_pi(sk)->chan;
net/bluetooth/l2cap_sock.c
390
struct l2cap_chan *chan = l2cap_pi(sk)->chan;
net/bluetooth/l2cap_sock.c
417
static int l2cap_get_mode(struct l2cap_chan *chan)
net/bluetooth/l2cap_sock.c
439
struct l2cap_chan *chan = l2cap_pi(sk)->chan;
net/bluetooth/l2cap_sock.c
559
struct l2cap_chan *chan = l2cap_pi(sk)->chan;
net/bluetooth/l2cap_sock.c
709
static bool l2cap_valid_mtu(struct l2cap_chan *chan, u16 mtu)
net/bluetooth/l2cap_sock.c
729
struct l2cap_chan *chan = l2cap_pi(sk)->chan;
net/bluetooth/l2cap_sock.c
840
static int l2cap_set_mode(struct l2cap_chan *chan, u8 mode)
net/bluetooth/l2cap_sock.c
86
struct l2cap_chan *chan = l2cap_pi(sk)->chan;
net/bluetooth/l2cap_sock.c
883
struct l2cap_chan *chan = l2cap_pi(sk)->chan;
net/bluetooth/rfcomm/core.c
2194
struct l2cap_chan *chan = l2cap_pi(s->sock->sk)->chan;
net/bluetooth/rfcomm/core.c
733
struct l2cap_chan *chan;
net/bluetooth/rfcomm/core.c
824
struct l2cap_chan *chan = l2cap_pi(s->sock->sk)->chan;
net/bluetooth/smp.c
1036
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
1385
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
1632
struct l2cap_chan *chan;
net/bluetooth/smp.c
1739
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
1883
struct l2cap_chan *chan = hdev->smp_data;
net/bluetooth/smp.c
1932
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
2090
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
2136
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
2364
struct l2cap_chan *chan;
net/bluetooth/smp.c
2446
struct l2cap_chan *chan;
net/bluetooth/smp.c
2491
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
2520
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
2556
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
2586
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
2654
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
2729
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
2778
struct l2cap_chan *hchan = hdev->smp_data;
net/bluetooth/smp.c
2868
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
2940
static int smp_sig_channel(struct l2cap_chan *chan, struct sk_buff *skb)
net/bluetooth/smp.c
3070
static void smp_teardown_cb(struct l2cap_chan *chan, int err)
net/bluetooth/smp.c
3083
static void bredr_pairing(struct l2cap_chan *chan)
net/bluetooth/smp.c
3142
static void smp_resume_cb(struct l2cap_chan *chan)
net/bluetooth/smp.c
3166
static void smp_ready_cb(struct l2cap_chan *chan)
net/bluetooth/smp.c
3185
static int smp_recv_cb(struct l2cap_chan *chan, struct sk_buff *skb)
net/bluetooth/smp.c
3204
static struct sk_buff *smp_alloc_skb_cb(struct l2cap_chan *chan,
net/bluetooth/smp.c
3237
static inline struct l2cap_chan *smp_new_conn_cb(struct l2cap_chan *pchan)
net/bluetooth/smp.c
3239
struct l2cap_chan *chan;
net/bluetooth/smp.c
3285
static struct l2cap_chan *smp_add_cid(struct hci_dev *hdev, u16 cid)
net/bluetooth/smp.c
3287
struct l2cap_chan *chan;
net/bluetooth/smp.c
3362
static void smp_del_chan(struct l2cap_chan *chan)
net/bluetooth/smp.c
3385
struct l2cap_chan *chan;
net/bluetooth/smp.c
3393
struct l2cap_chan *chan;
net/bluetooth/smp.c
3407
struct l2cap_chan *chan;
net/bluetooth/smp.c
3457
struct l2cap_chan *chan;
net/bluetooth/smp.c
39
((struct smp_dev *)((struct l2cap_chan *)((hdev)->smp_data))->data)
net/bluetooth/smp.c
500
struct l2cap_chan *chan = hdev->smp_data;
net/bluetooth/smp.c
518
struct l2cap_chan *chan = hdev->smp_data;
net/bluetooth/smp.c
540
struct l2cap_chan *chan = hdev->smp_data;
net/bluetooth/smp.c
591
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
651
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
725
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
744
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
799
struct l2cap_chan *chan = conn->smp;
net/bluetooth/smp.c
854
struct l2cap_chan *chan = conn->smp;