/linux-6.6.21/net/dccp/ |
D | qpolicy.c | 17 skb_queue_tail(&sk->sk_write_queue, skb); in qpolicy_simple_push() 23 sk->sk_write_queue.qlen >= dccp_sk(sk)->dccps_tx_qlen; in qpolicy_simple_full() 28 return skb_peek(&sk->sk_write_queue); in qpolicy_simple_top() 40 skb_queue_walk(&sk->sk_write_queue, skb) in qpolicy_prio_best_skb() 50 skb_queue_walk(&sk->sk_write_queue, skb) in qpolicy_prio_worst_skb() 108 skb_unlink(skb, &sk->sk_write_queue); in dccp_qpolicy_drop() 125 skb_unlink(skb, &sk->sk_write_queue); in dccp_qpolicy_pop()
|
D | output.c | 317 while (*time_budget > 0 && (skb = skb_peek(&sk->sk_write_queue))) { in dccp_flush_write_queue() 343 skb_dequeue(&sk->sk_write_queue); in dccp_flush_write_queue()
|
D | proto.c | 224 __skb_queue_purge(&sk->sk_write_queue); in dccp_destroy_sock() 283 __skb_queue_purge(&sk->sk_write_queue); in dccp_disconnect() 1050 __skb_queue_purge(&sk->sk_write_queue); in dccp_close()
|
D | input.c | 181 if (sk->sk_write_queue.qlen > 0 || !(sk->sk_shutdown & SEND_SHUTDOWN)) in dccp_deliver_input_to_ccids()
|
/linux-6.6.21/net/x25/ |
D | x25_out.c | 100 skb_queue_tail(&sk->sk_write_queue, skbn); in x25_output() 106 skb_queue_tail(&sk->sk_write_queue, skb); in x25_output() 159 if (!skb_peek(&sk->sk_write_queue)) in x25_kick() 177 skb = skb_dequeue(&sk->sk_write_queue); in x25_kick() 181 skb_queue_head(&sk->sk_write_queue, skb); in x25_kick() 200 (skb = skb_dequeue(&sk->sk_write_queue)) != NULL); in x25_kick()
|
D | x25_subr.c | 38 skb_queue_purge(&sk->sk_write_queue); in x25_clear_queues() 79 skb_queue_head(&sk->sk_write_queue, skb); in x25_requeue_frames() 81 skb_append(skb_prev, skb, &sk->sk_write_queue); in x25_requeue_frames()
|
/linux-6.6.21/net/rose/ |
D | rose_out.c | 57 if (!skb_peek(&sk->sk_write_queue)) in rose_kick() 73 skb = skb_dequeue(&sk->sk_write_queue); in rose_kick() 77 skb_queue_head(&sk->sk_write_queue, skb); in rose_kick() 96 (skb = skb_dequeue(&sk->sk_write_queue)) != NULL); in rose_kick()
|
D | rose_subr.c | 34 skb_queue_purge(&sk->sk_write_queue); in rose_clear_queues() 71 skb_queue_head(&sk->sk_write_queue, skb); in rose_requeue_frames() 73 skb_append(skb_prev, skb, &sk->sk_write_queue); in rose_requeue_frames()
|
D | af_rose.c | 1247 skb_queue_tail(&sk->sk_write_queue, skbn); /* Throw it on the queue */ in rose_sendmsg() 1253 skb_queue_tail(&sk->sk_write_queue, skb); /* Throw it on the queue */ in rose_sendmsg() 1256 skb_queue_tail(&sk->sk_write_queue, skb); /* Shove it onto the queue */ in rose_sendmsg()
|
/linux-6.6.21/net/nfc/ |
D | rawsock.c | 41 spin_lock_bh(&sk->sk_write_queue.lock); in rawsock_write_queue_purge() 42 __skb_queue_purge(&sk->sk_write_queue); in rawsock_write_queue_purge() 44 spin_unlock_bh(&sk->sk_write_queue.lock); in rawsock_write_queue_purge() 159 spin_lock_bh(&sk->sk_write_queue.lock); in rawsock_data_exchange_complete() 160 if (!skb_queue_empty(&sk->sk_write_queue)) in rawsock_data_exchange_complete() 164 spin_unlock_bh(&sk->sk_write_queue.lock); in rawsock_data_exchange_complete() 192 skb = skb_dequeue(&sk->sk_write_queue); in rawsock_tx_work() 230 spin_lock_bh(&sk->sk_write_queue.lock); in rawsock_sendmsg() 231 __skb_queue_tail(&sk->sk_write_queue, skb); in rawsock_sendmsg() 236 spin_unlock_bh(&sk->sk_write_queue.lock); in rawsock_sendmsg()
|
/linux-6.6.21/net/netrom/ |
D | nr_out.c | 64 skb_queue_tail(&sk->sk_write_queue, skbn); /* Throw it on the queue */ in nr_output() 69 skb_queue_tail(&sk->sk_write_queue, skb); /* Throw it on the queue */ in nr_output() 134 if (!skb_peek(&sk->sk_write_queue)) in nr_kick() 153 skb = skb_dequeue(&sk->sk_write_queue); in nr_kick() 157 skb_queue_head(&sk->sk_write_queue, skb); in nr_kick() 176 (skb = skb_dequeue(&sk->sk_write_queue)) != NULL); in nr_kick()
|
D | nr_subr.c | 35 skb_queue_purge(&sk->sk_write_queue); in nr_clear_queues() 74 skb_queue_head(&sk->sk_write_queue, skb); in nr_requeue_frames() 76 skb_append(skb_prev, skb, &sk->sk_write_queue); in nr_requeue_frames()
|
/linux-6.6.21/net/bluetooth/bnep/ |
D | netdev.c | 104 skb_queue_tail(&sk->sk_write_queue, skb); in bnep_net_set_mc_list() 192 skb_queue_tail(&sk->sk_write_queue, skb); in bnep_net_xmit() 195 if (skb_queue_len(&sk->sk_write_queue) >= BNEP_TX_QUEUE_LEN) { in bnep_net_xmit()
|
/linux-6.6.21/net/llc/ |
D | llc_conn.c | 181 skb_queue_tail(&sk->sk_write_queue, skb); in llc_conn_send_pdu() 232 skb_queue_tail(&sk->sk_write_queue, skb); in llc_conn_resend_i_pdu_as_cmd() 273 skb_queue_tail(&sk->sk_write_queue, skb); in llc_conn_resend_i_pdu_as_rsp() 332 while ((skb = skb_dequeue(&sk->sk_write_queue)) != NULL) { in llc_conn_send_pdus() 983 skb_queue_len(&sk->sk_write_queue)); in llc_sk_free() 986 skb_queue_purge(&sk->sk_write_queue); in llc_sk_free() 1015 skb_queue_purge(&sk->sk_write_queue); in llc_sk_reset()
|
/linux-6.6.21/net/kcm/ |
D | kcmsock.c | 598 if (skb_queue_empty(&sk->sk_write_queue)) in kcm_write_msgs() 601 kcm_tx_msg(skb_peek(&sk->sk_write_queue))->started_tx = false; in kcm_write_msgs() 605 while ((head = skb_peek(&sk->sk_write_queue))) { in kcm_write_msgs() 692 skb_dequeue(&sk->sk_write_queue); in kcm_write_msgs() 699 WARN_ON(!skb_queue_empty(&sk->sk_write_queue)); in kcm_write_msgs() 893 bool not_busy = skb_queue_empty(&sk->sk_write_queue); in kcm_sendmsg() 897 __skb_queue_tail(&sk->sk_write_queue, head); in kcm_sendmsg() 949 if (unlikely(skb_queue_len(&sk->sk_write_queue) == 0 && err == -EAGAIN)) in kcm_sendmsg() 961 if (skb_queue_empty_lockless(&sk->sk_write_queue)) in kcm_splice_eof() 1691 __skb_queue_purge(&sk->sk_write_queue); in kcm_release()
|
D | kcmproc.c | 121 kcm->sk.sk_write_queue.qlen, in kcm_format_sock() 151 psock->sk->sk_write_queue.qlen, in kcm_format_psock()
|
/linux-6.6.21/net/core/ |
D | stream.c | 208 WARN_ON_ONCE(!skb_queue_empty(&sk->sk_write_queue)); in sk_stream_kill_queues()
|
/linux-6.6.21/include/net/ |
D | tcp.h | 1909 return skb_peek_tail(&sk->sk_write_queue); in tcp_write_queue_tail() 1913 skb_queue_walk_from_safe(&(sk)->sk_write_queue, skb, tmp) 1917 return skb_peek(&sk->sk_write_queue); in tcp_send_head() 1923 return skb_queue_is_last(&sk->sk_write_queue, skb); in tcp_skb_is_last() 1952 __skb_queue_tail(&sk->sk_write_queue, skb); in tcp_add_write_queue_tail() 1955 if (sk->sk_write_queue.next == skb) in tcp_add_write_queue_tail() 1964 __skb_queue_before(&sk->sk_write_queue, skb, new); in tcp_insert_write_queue_before() 1970 __skb_unlink(skb, &sk->sk_write_queue); in tcp_unlink_write_queue()
|
D | udp.h | 134 skb_queue_walk(&sk->sk_write_queue, skb) { in udp_csum_outgoing()
|
/linux-6.6.21/net/ipv6/ |
D | icmp.c | 278 skb = skb_peek(&sk->sk_write_queue); in icmpv6_push_pending_frames() 286 if (skb_queue_len(&sk->sk_write_queue) == 1) { in icmpv6_push_pending_frames() 296 skb_queue_walk(&sk->sk_write_queue, skb) { in icmpv6_push_pending_frames()
|
D | raw.c | 518 skb = skb_peek(&sk->sk_write_queue); in rawv6_push_pending_frames() 534 if (skb_queue_len(&sk->sk_write_queue) == 1) { in rawv6_push_pending_frames() 543 skb_queue_walk(&sk->sk_write_queue, skb) { in rawv6_push_pending_frames()
|
/linux-6.6.21/net/tipc/ |
D | socket.c | 567 __skb_queue_purge(&sk->sk_write_queue); in __tipc_shutdown() 1277 struct sk_buff_head *txq = &tsk->sk.sk_write_queue; in tipc_sk_push_backlog() 1509 if (unlikely(syn && !tipc_msg_skb_clone(&pkts, &sk->sk_write_queue))) { in __tipc_sendmsg() 1562 struct sk_buff_head *txq = &sk->sk_write_queue; in __tipc_sendstream() 1682 __skb_queue_purge(&sk->sk_write_queue); in tipc_sk_finish_conn() 2238 if (skb_queue_empty(&sk->sk_write_queue)) in tipc_sk_filter_connect() 2257 if (!skb_queue_empty(&sk->sk_write_queue)) in tipc_sk_filter_connect() 2866 tipc_msg_skb_clone(&sk->sk_write_queue, list); in tipc_sk_retry_connect() 3667 skb_queue_len(&sk->sk_write_queue)) || in tipc_sk_fill_sock_diag() 4000 i += tipc_list_dump(&sk->sk_write_queue, false, buf + i); in tipc_sk_dump()
|
/linux-6.6.21/net/l2tp/ |
D | l2tp_ip6.c | 472 skb = skb_peek(&sk->sk_write_queue); in l2tp_ip6_push_pending_frames() 630 ulen = len + (skb_queue_empty(&sk->sk_write_queue) ? transhdrlen : 0); in l2tp_ip6_sendmsg()
|
D | l2tp_ip.c | 241 while ((skb = __skb_dequeue_tail(&sk->sk_write_queue)) != NULL) in l2tp_ip_destroy_sock()
|
/linux-6.6.21/net/ipv4/ |
D | ip_output.c | 1352 if (skb_queue_empty(&sk->sk_write_queue)) { in ip_append_data() 1360 return __ip_append_data(sk, fl4, &sk->sk_write_queue, &inet->cork.base, in ip_append_data() 1526 __ip_flush_pending_frames(sk, &sk->sk_write_queue, &inet_sk(sk)->cork.base); in ip_flush_pending_frames() 1639 nskb = skb_peek(&sk->sk_write_queue); in ip_send_unicast_reply()
|