git-2.22.0/list.h
/* Add new element at the head of the list. */
Add new element at the head of the list.
Add new element at the head of the list .
static inline void list_add(struct list_head *newp, struct list_head *head)
{
	head->next->prev = newp;
	newp->next = head->next;
	newp->prev = head;
	head->next = newp;
}
static inline void list_add ( struct list_head * newp , struct list_head * head ) { head -> next -> prev = newp ; newp -> next = head -> next ; newp -> prev = head ; head -> next = newp ; }
Add new element at the head of the list.
Add new element at the head of the list .