Lines Matching refs:head
1828 struct list_head *head = list_head, *orig_head = list_head;
1840 if (!head->next || list_empty(head))
1842 head = head->next;
1847 while (head != orig_head) {
1848 void *obj = head;
1851 head = head->next;
1965 struct bpf_list_head *head,
1968 struct list_head *n = &node->list_head, *h = (void *)head;
1986 WRITE_ONCE(node->owner, head);
1991 __bpf_kfunc int bpf_list_push_front_impl(struct bpf_list_head *head,
1998 return __bpf_list_add(n, head, false, meta ? meta->record : NULL, off);
2001 __bpf_kfunc int bpf_list_push_back_impl(struct bpf_list_head *head,
2008 return __bpf_list_add(n, head, true, meta ? meta->record : NULL, off);
2011 static struct bpf_list_node *__bpf_list_del(struct bpf_list_head *head, bool tail)
2013 struct list_head *n, *h = (void *)head;
2026 if (WARN_ON_ONCE(READ_ONCE(node->owner) != head))
2034 __bpf_kfunc struct bpf_list_node *bpf_list_pop_front(struct bpf_list_head *head)
2036 return __bpf_list_del(head, false);
2039 __bpf_kfunc struct bpf_list_node *bpf_list_pop_back(struct bpf_list_head *head)
2041 return __bpf_list_del(head, true);
2365 * 1) The requested slice is in the head of the skb. In this case, the