Lines Matching refs:head
219 static void requeue_rx_msgs(struct kcm_mux *mux, struct sk_buff_head *head)
224 while ((skb = skb_dequeue(head))) {
253 struct sk_buff *head)
273 psock->ready_rx_msg = head;
582 struct sk_buff *skb, *head;
605 head = skb_peek(&sk->sk_write_queue);
606 txm = kcm_tx_msg(head);
628 skb = head;
629 txm = kcm_tx_msg(head);
694 if (skb == head) {
706 kfree_skb(head);
710 } while ((head = skb_peek(&sk->sk_write_queue)));
712 if (!head) {
766 struct sk_buff *skb = NULL, *head = NULL;
788 head = kcm->seq_skb;
789 skb = kcm_tx_msg(head)->last_skb;
809 if (head == skb)
810 skb_shinfo(head)->frag_list = tskb;
828 head = alloc_skb(0, sk->sk_allocation);
829 while (!head) {
836 skb = head;
851 if (head != skb) {
852 head->len += size;
853 head->data_len += size;
854 head->truesize += size;
861 __skb_queue_tail(&sk->sk_write_queue, head);
881 kcm->seq_skb = head;
882 kcm_tx_msg(head)->last_skb = skb;
907 struct sk_buff *skb = NULL, *head = NULL;
924 head = kcm->seq_skb;
925 skb = kcm_tx_msg(head)->last_skb;
939 /* New message, alloc head skb */
940 head = alloc_skb(0, sk->sk_allocation);
941 while (!head) {
947 head = alloc_skb(0, sk->sk_allocation);
950 skb = head;
976 if (head == skb)
977 skb_shinfo(head)->frag_list = tskb;
1012 if (head != skb) {
1013 head->len += copy;
1014 head->data_len += copy;
1029 if (head) {
1031 __skb_queue_tail(&sk->sk_write_queue, head);
1053 if (head) {
1054 kcm->seq_skb = head;
1055 kcm_tx_msg(head)->last_skb = skb;
1073 if (head != kcm->seq_skb)
1074 kfree_skb(head);
1076 kfree_skb(head);
1300 struct list_head *head;
1313 head = &mux->kcm_socks;
1317 head = &tkcm->kcm_sock_list;
1321 list_add(&kcm->kcm_sock_list, head);
1341 struct list_head *head;
1412 head = &mux->psocks;
1416 head = &tpsock->psock_list;
1420 list_add(&psock->psock_list, head);