Lines Matching refs:intr_sock
137 return hidp_send_message(session, session->intr_sock, in hidp_send_intr_message()
413 session->intr_sock->sk->sk_err = EUNATCH; in hidp_idle_timeout()
415 wake_up_interruptible(sk_sleep(session->intr_sock->sk)); in hidp_idle_timeout()
906 struct socket *intr_sock, in hidp_session_new() argument
915 intr = bt_sk(intr_sock->sk); in hidp_session_new()
934 session->intr_sock = intr_sock; in hidp_session_new()
956 get_file(session->intr_sock->file); in hidp_session_new()
982 fput(session->intr_sock->file); in session_free()
1181 struct sock *intr_sk = session->intr_sock->sk; in hidp_session_run()
1215 session->intr_sock); in hidp_session_run()
1260 add_wait_queue(sk_sleep(session->intr_sock->sk), &intr_wait); in hidp_session_thread()
1273 remove_wait_queue(sk_sleep(session->intr_sock->sk), &intr_wait); in hidp_session_thread()
1274 remove_wait_queue(sk_sleep(session->intr_sock->sk), &ctrl_wait); in hidp_session_thread()
1294 struct socket *intr_sock) in hidp_verify_sockets() argument
1300 if (!l2cap_is_socket(ctrl_sock) || !l2cap_is_socket(intr_sock)) in hidp_verify_sockets()
1304 intr_chan = l2cap_pi(intr_sock->sk)->chan; in hidp_verify_sockets()
1311 intr = bt_sk(intr_sock->sk); in hidp_verify_sockets()
1329 struct socket *intr_sock) in hidp_connection_add() argument
1338 ret = hidp_verify_sockets(ctrl_sock, intr_sock); in hidp_connection_add()
1356 intr_sock, req, conn); in hidp_connection_add()