Searched refs:l2cap_pi (Results 1 – 8 of 8) sorted by relevance
/kernel/linux/patches/linux-5.10/yangfan_patch/ |
D | net.patch | 29 - if (l2cap_pi(sk)->chan) { 30 - l2cap_pi(sk)->chan->data = NULL; 31 + if (l2cap_pi(sk)->chan) 32 l2cap_chan_put(l2cap_pi(sk)->chan); 35 if (l2cap_pi(sk)->rx_busy_skb) { 36 kfree_skb(l2cap_pi(sk)->rx_busy_skb);
|
/kernel/linux/linux-5.10/net/bluetooth/ |
D | l2cap_sock.c | 84 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_bind() 181 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_init_pid() 198 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_connect() 289 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_listen() 406 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_getname() 455 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_getsockopt_old() 574 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_getsockopt() 744 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_setsockopt_old() 900 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_setsockopt() 1149 struct l2cap_chan *chan = l2cap_pi(sk)->chan; in l2cap_sock_sendmsg() [all …]
|
/kernel/linux/linux-5.10/net/bluetooth/cmtp/ |
D | core.c | 350 s = __cmtp_get_session(&l2cap_pi(sock->sk)->chan->dst); in cmtp_add_connection() 356 bacpy(&session->bdaddr, &l2cap_pi(sock->sk)->chan->dst); in cmtp_add_connection() 358 session->mtu = min_t(uint, l2cap_pi(sock->sk)->chan->omtu, in cmtp_add_connection() 359 l2cap_pi(sock->sk)->chan->imtu); in cmtp_add_connection()
|
/kernel/linux/linux-5.10/net/bluetooth/hidp/ |
D | core.c | 786 &l2cap_pi(session->ctrl_sock->sk)->chan->src); in hidp_setup_hid() 792 &l2cap_pi(session->ctrl_sock->sk)->chan->dst); in hidp_setup_hid() 944 session->ctrl_mtu = min_t(uint, l2cap_pi(ctrl)->chan->omtu, in hidp_session_new() 945 l2cap_pi(ctrl)->chan->imtu); in hidp_session_new() 946 session->intr_mtu = min_t(uint, l2cap_pi(intr)->chan->omtu, in hidp_session_new() 947 l2cap_pi(intr)->chan->imtu); in hidp_session_new() 1322 ctrl_chan = l2cap_pi(ctrl_sock->sk)->chan; in hidp_verify_sockets() 1323 intr_chan = l2cap_pi(intr_sock->sk)->chan; in hidp_verify_sockets() 1364 chan = l2cap_pi(ctrl_sock->sk)->chan; in hidp_connection_add()
|
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/ |
D | core.c | 211 struct l2cap_conn *conn = l2cap_pi(sk)->chan->conn; in rfcomm_check_security() 731 chan = l2cap_pi(s->sock->sk)->chan; in rfcomm_session_get() 788 l2cap_pi(sk)->chan->imtu = 0; in rfcomm_session_create() 789 l2cap_pi(sk)->chan->sec_level = sec_level; in rfcomm_session_create() 791 l2cap_pi(sk)->chan->mode = L2CAP_MODE_ERTM; in rfcomm_session_create() 820 struct l2cap_chan *chan = l2cap_pi(s->sock->sk)->chan; in rfcomm_session_getaddr() 1319 struct l2cap_conn *conn = l2cap_pi(sk)->chan->conn; in rfcomm_dlc_accept() 1979 s->mtu = min(l2cap_pi(nsock->sk)->chan->omtu, in rfcomm_accept_connection() 1980 l2cap_pi(nsock->sk)->chan->imtu) - 5; in rfcomm_accept_connection() 1999 s->mtu = min(l2cap_pi(sk)->chan->omtu, l2cap_pi(sk)->chan->imtu) - 5; in rfcomm_check_connection() [all …]
|
D | sock.c | 786 conn = l2cap_pi(l2cap_sk)->chan->conn; in rfcomm_sock_getsockopt_old()
|
/kernel/linux/linux-5.10/net/bluetooth/bnep/ |
D | core.c | 544 struct l2cap_conn *conn = l2cap_pi(session->sock->sk)->chan->conn; in bnep_get_device() 572 baswap((void *) dst, &l2cap_pi(sock->sk)->chan->dst); in bnep_add_connection() 573 baswap((void *) src, &l2cap_pi(sock->sk)->chan->src); in bnep_add_connection()
|
/kernel/linux/linux-5.10/include/net/bluetooth/ |
D | l2cap.h | 723 #define l2cap_pi(sk) ((struct l2cap_pinfo *) sk) macro
|