Lines Matching refs:rfcomm_sk_list
39 static struct bt_sock_list rfcomm_sk_list = { variable
40 .lock = __RW_LOCK_UNLOCKED(rfcomm_sk_list.lock)
110 sk_for_each(sk, &rfcomm_sk_list.head) { in __rfcomm_get_listen_sock_by_addr()
131 read_lock(&rfcomm_sk_list.lock); in rfcomm_get_sock_by_channel()
133 sk_for_each(sk, &rfcomm_sk_list.head) { in rfcomm_get_sock_by_channel()
148 read_unlock(&rfcomm_sk_list.lock); in rfcomm_get_sock_by_channel()
200 bt_sock_unlink(&rfcomm_sk_list, sk); in rfcomm_sock_kill()
299 bt_sock_link(&rfcomm_sk_list, sk); in rfcomm_sock_alloc()
355 write_lock(&rfcomm_sk_list.lock); in rfcomm_sock_bind()
367 write_unlock(&rfcomm_sk_list.lock); in rfcomm_sock_bind()
447 write_lock(&rfcomm_sk_list.lock); in rfcomm_sock_listen()
456 write_unlock(&rfcomm_sk_list.lock); in rfcomm_sock_listen()
985 read_lock(&rfcomm_sk_list.lock); in rfcomm_sock_debugfs_show()
987 sk_for_each(sk, &rfcomm_sk_list.head) { in rfcomm_sock_debugfs_show()
993 read_unlock(&rfcomm_sk_list.lock); in rfcomm_sock_debugfs_show()
1048 err = bt_procfs_init(&init_net, "rfcomm", &rfcomm_sk_list, NULL); in rfcomm_init_sockets()