Lines Matching full:dlc
46 /* ---- DLC callbacks ----
71 BT_DBG("dlc %p state %ld err %d", d, d->state, err); in rfcomm_sk_state_change()
97 /* We have to drop DLC lock here, otherwise in rfcomm_sk_state_change()
155 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_destruct()
157 BT_DBG("sk %p dlc %p", sk, d); in rfcomm_sock_destruct()
163 rfcomm_pi(sk)->dlc = NULL; in rfcomm_sock_destruct()
165 /* Detach DLC if it's owned by this socket */ in rfcomm_sock_destruct()
207 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in __rfcomm_sock_close()
247 pi->dlc->defer_setup = test_bit(BT_SK_DEFER_SETUP, in rfcomm_sock_init()
255 pi->dlc->defer_setup = 0; in rfcomm_sock_init()
261 pi->dlc->sec_level = pi->sec_level; in rfcomm_sock_init()
262 pi->dlc->role_switch = pi->role_switch; in rfcomm_sock_init()
290 rfcomm_pi(sk)->dlc = d; in rfcomm_sock_alloc()
378 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_connect()
558 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_sendmsg()
598 struct rfcomm_dlc *d = rfcomm_pi(sk)->dlc; in rfcomm_sock_recvmsg()
613 rfcomm_dlc_unthrottle(rfcomm_pi(sk)->dlc); in rfcomm_sock_recvmsg()
774 !rfcomm_pi(sk)->dlc->defer_setup) { in rfcomm_sock_getsockopt_old()
779 l2cap_sk = rfcomm_pi(sk)->dlc->session->sock->sk; in rfcomm_sock_getsockopt_old()
969 /* Accept connection and return socket DLC */ in rfcomm_connect_ind()
970 *d = rfcomm_pi(sk)->dlc; in rfcomm_connect_ind()