• Home
  • Raw
  • Download

Lines Matching refs:sk_state

94 	BT_DBG("sock %p state %d", sk, sk->sk_state);  in sco_sock_timeout()
109 BT_DBG("sock %p state %d timeout %ld", sk, sk->sk_state, timeout); in sco_sock_set_timer()
119 BT_DBG("sock %p state %d", sk, sk->sk_state); in sco_sock_clear_timer()
172 sk->sk_state = BT_CLOSED; in sco_chan_del()
274 sk->sk_state = BT_CONNECTED; in sco_connect()
276 sk->sk_state = BT_CONNECT; in sco_connect()
312 if (sk->sk_state != BT_CONNECTED) in sco_recv_frame()
328 if (sk->sk_state != BT_LISTEN) in __sco_get_sock_listen_by_addr()
348 if (sk->sk_state != BT_LISTEN) in sco_get_sock_listen()
385 parent->sk_state = BT_CLOSED; in sco_sock_cleanup_listen()
397 BT_DBG("sk %p state %d", sk, sk->sk_state); in sco_sock_kill()
407 BT_DBG("sk %p state %d socket %p", sk, sk->sk_state, sk->sk_socket); in __sco_sock_close()
409 switch (sk->sk_state) { in __sco_sock_close()
417 sk->sk_state = BT_DISCONN; in __sco_sock_close()
494 sk->sk_state = BT_OPEN; in sco_sock_alloc()
539 if (sk->sk_state != BT_OPEN) { in sco_sock_bind()
551 sk->sk_state = BT_BOUND; in sco_sock_bind()
572 if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND) { in sco_sock_connect()
616 if (sk->sk_state != BT_BOUND) { in sco_sock_listen()
636 sk->sk_state = BT_LISTEN; in sco_sock_listen()
663 if (sk->sk_state != BT_LISTEN) { in sco_sock_accept()
741 if (sk->sk_state == BT_CONNECTED) in sco_sock_sendmsg()
810 if (sk->sk_state == BT_CONNECT2 && in sco_sock_recvmsg()
813 sk->sk_state = BT_CONFIG; in sco_sock_recvmsg()
839 if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { in sco_sock_setsockopt()
856 if (sk->sk_state != BT_OPEN && sk->sk_state != BT_BOUND && in sco_sock_setsockopt()
857 sk->sk_state != BT_CONNECT2) { in sco_sock_setsockopt()
918 if (sk->sk_state != BT_CONNECTED && in sco_sock_getsockopt_old()
919 !(sk->sk_state == BT_CONNECT2 && in sco_sock_getsockopt_old()
936 if (sk->sk_state != BT_CONNECTED && in sco_sock_getsockopt_old()
937 !(sk->sk_state == BT_CONNECT2 && in sco_sock_getsockopt_old()
984 if (sk->sk_state != BT_BOUND && sk->sk_state != BT_LISTEN) { in sco_sock_getsockopt()
1005 if (sk->sk_state != BT_CONNECTED) { in sco_sock_getsockopt()
1025 if (sk->sk_state != BT_CONNECTED) { in sco_sock_getsockopt()
1107 sk->sk_state = BT_CONNECTED; in sco_conn_ready()
1143 sk->sk_state = BT_CONNECT2; in sco_conn_ready()
1145 sk->sk_state = BT_CONNECTED; in sco_conn_ready()
1167 if (sk->sk_state != BT_LISTEN) in sco_connect_ind()
1243 &sco_pi(sk)->dst, sk->sk_state); in sco_debugfs_show()