Lines Matching refs:head
221 static void requeue_rx_msgs(struct kcm_mux *mux, struct sk_buff_head *head)
226 while ((skb = skb_dequeue(head))) {
255 struct sk_buff *head)
275 psock->ready_rx_msg = head;
587 struct sk_buff *head;
605 while ((head = skb_peek(&sk->sk_write_queue))) {
609 struct kcm_tx_msg *txm = kcm_tx_msg(head);
618 skb = head;
677 if (skb == head) {
693 kfree_skb(head);
697 if (!head) {
750 struct sk_buff *skb = NULL, *head = NULL;
767 head = kcm->seq_skb;
768 skb = kcm_tx_msg(head)->last_skb;
782 /* New message, alloc head skb */
783 head = alloc_skb(0, sk->sk_allocation);
784 while (!head) {
790 head = alloc_skb(0, sk->sk_allocation);
793 skb = head;
819 if (head == skb)
820 skb_shinfo(head)->frag_list = tskb;
849 if (head != skb)
850 head->truesize += copy;
878 if (head != skb) {
879 head->len += copy;
880 head->data_len += copy;
895 if (head) {
897 __skb_queue_tail(&sk->sk_write_queue, head);
919 if (head) {
920 kcm->seq_skb = head;
921 kcm_tx_msg(head)->last_skb = skb;
939 if (head != kcm->seq_skb)
940 kfree_skb(head);
942 kfree_skb(head);
1178 struct list_head *head;
1191 head = &mux->kcm_socks;
1195 head = &tkcm->kcm_sock_list;
1199 list_add(&kcm->kcm_sock_list, head);
1219 struct list_head *head;
1290 head = &mux->psocks;
1294 head = &tpsock->psock_list;
1298 list_add(&psock->psock_list, head);