Lines Matching refs:head
222 static void requeue_rx_msgs(struct kcm_mux *mux, struct sk_buff_head *head) in requeue_rx_msgs() argument
227 while ((skb = skb_dequeue(head))) { in requeue_rx_msgs()
256 struct sk_buff *head) in reserve_rx_kcm() argument
276 psock->ready_rx_msg = head; in reserve_rx_kcm()
588 struct sk_buff *head; in kcm_write_msgs() local
606 while ((head = skb_peek(&sk->sk_write_queue))) { in kcm_write_msgs()
610 struct kcm_tx_msg *txm = kcm_tx_msg(head); in kcm_write_msgs()
619 skb = head; in kcm_write_msgs()
679 if (skb == head) { in kcm_write_msgs()
695 kfree_skb(head); in kcm_write_msgs()
699 if (!head) { in kcm_write_msgs()
752 struct sk_buff *skb = NULL, *head = NULL; in kcm_sendmsg() local
770 head = kcm->seq_skb; in kcm_sendmsg()
771 skb = kcm_tx_msg(head)->last_skb; in kcm_sendmsg()
786 head = alloc_skb(0, sk->sk_allocation); in kcm_sendmsg()
787 while (!head) { in kcm_sendmsg()
793 head = alloc_skb(0, sk->sk_allocation); in kcm_sendmsg()
796 skb = head; in kcm_sendmsg()
822 if (head == skb) in kcm_sendmsg()
823 skb_shinfo(head)->frag_list = tskb; in kcm_sendmsg()
851 if (head != skb) in kcm_sendmsg()
852 head->truesize += copy; in kcm_sendmsg()
880 if (head != skb) { in kcm_sendmsg()
881 head->len += copy; in kcm_sendmsg()
882 head->data_len += copy; in kcm_sendmsg()
897 if (head) { in kcm_sendmsg()
899 __skb_queue_tail(&sk->sk_write_queue, head); in kcm_sendmsg()
921 if (head) { in kcm_sendmsg()
922 kcm->seq_skb = head; in kcm_sendmsg()
923 kcm_tx_msg(head)->last_skb = skb; in kcm_sendmsg()
942 if (head != kcm->seq_skb) in kcm_sendmsg()
943 kfree_skb(head); in kcm_sendmsg()
945 kfree_skb(head); in kcm_sendmsg()
1187 struct list_head *head; in init_kcm_sock() local
1200 head = &mux->kcm_socks; in init_kcm_sock()
1204 head = &tkcm->kcm_sock_list; in init_kcm_sock()
1208 list_add(&kcm->kcm_sock_list, head); in init_kcm_sock()
1229 struct list_head *head; in kcm_attach() local
1300 head = &mux->psocks; in kcm_attach()
1304 head = &tpsock->psock_list; in kcm_attach()
1308 list_add(&psock->psock_list, head); in kcm_attach()