Lines Matching refs:head
636 * @head: a list of to be freed forw_packets
644 static void batadv_forw_packet_list_free(struct hlist_head *head)
649 hlist_for_each_entry_safe(forw_packet, safe_tmp_node, head,
662 * @head: the shelve to queue it on (e.g. forw_{bat,bcast}_list)
676 spinlock_t *lock, struct hlist_head *head,
694 hlist_add_head(&forw_packet->list, head);
978 struct hlist_head head = HLIST_HEAD_INIT;
990 batadv_forw_packet_list_steal(&bat_priv->forw_bcast_list, &head,
996 batadv_forw_packet_list_steal(&bat_priv->forw_bat_list, &head,
1001 batadv_forw_packet_list_free(&head);