Lines Matching refs:rx_busy
1210 while (!list_empty(&pi->rx_busy)) { in l2cap_sock_recvmsg()
1211 struct l2cap_rx_busy *rx_busy = in l2cap_sock_recvmsg() local
1212 list_first_entry(&pi->rx_busy, in l2cap_sock_recvmsg()
1215 if (__sock_queue_rcv_skb(sk, rx_busy->skb) < 0) in l2cap_sock_recvmsg()
1217 list_del(&rx_busy->list); in l2cap_sock_recvmsg()
1218 kfree(rx_busy); in l2cap_sock_recvmsg()
1500 if (chan->mode == L2CAP_MODE_ERTM && !list_empty(&pi->rx_busy)) { in l2cap_sock_recv_cb()
1534 struct l2cap_rx_busy *rx_busy = in l2cap_sock_recv_cb() local
1535 kmalloc(sizeof(*rx_busy), GFP_KERNEL); in l2cap_sock_recv_cb()
1536 if (!rx_busy) { in l2cap_sock_recv_cb()
1540 rx_busy->skb = skb; in l2cap_sock_recv_cb()
1541 list_add_tail(&rx_busy->list, &pi->rx_busy); in l2cap_sock_recv_cb()
1767 struct l2cap_rx_busy *rx_busy, *next; in l2cap_sock_destruct() local
1776 list_for_each_entry_safe(rx_busy, next, &l2cap_pi(sk)->rx_busy, list) { in l2cap_sock_destruct()
1777 kfree_skb(rx_busy->skb); in l2cap_sock_destruct()
1778 list_del(&rx_busy->list); in l2cap_sock_destruct()
1779 kfree(rx_busy); in l2cap_sock_destruct()
1886 INIT_LIST_HEAD(&l2cap_pi(sk)->rx_busy); in l2cap_sock_alloc()