Lines Matching refs:first
20 * @new_first: first entry in batch to be added
29 struct llist_node *first = READ_ONCE(head->first);
32 new_last->next = first;
33 } while (!try_cmpxchg(&head->first, &first, new_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);
62 } while (!try_cmpxchg(&head->first, &entry, next));
70 * @head: first item of the list to be reversed
73 * new first entry.