klist.h#ifndef _KLIST_H_#define _KLIST_H_struct list_head { struct list_head *next, *prev;};#define LIST_HEAD_INIT(name) { &(name), &(name) }#define LIST_HEAD(name) struct list_head name = LIST_HEAD_INIT(name)#define container_of(ptr, type, member) ({ ......
本文摘自 :https://www.cnblogs.com/


