1. INIT_LIST_HEAD(struct list_head *list)

2. list_add_tail(struct list_head *new, struct list_head *head)
添加第一个成员new1

添加第二个成员new2

list_add_tail从head的next指针看,新成员被添加到链表末尾。
3. list_add(struct list_head *new, struct list_head *head)
添加第一个成员new1

添加第二个成员new2

list_add从head的next指针看,新成员被添加到链表开头。