Lines Matching defs:first
20 * @new_first: first entry in batch to be added
29 struct llist_node *first;
32 new_last->next = first = READ_ONCE(head->first);
33 } while (cmpxchg(&head->first, first, new_first) != first);
35 return !first;
40 * llist_del_first - delete the first entry of lock-less list
43 * If list is empty, return NULL, otherwise, return the first entry
49 * llist_add) sequence in another user may change @head->first->next,
50 * but keep @head->first. If multiple consumers are needed, please
57 entry = smp_load_acquire(&head->first);
63 entry = cmpxchg(&head->first, old_entry, next);
74 * @head: first item of the list to be reversed
77 * new first entry.