目录
dl_list_first() and dl_list_last()
****************************************************************************************************
dl_list_entry()
通过 offsetof 计算member距离type结构体的偏移量
item则为member所在的地址
所以dl_list_entry() 功能:根据member获取member所在的结构体首地址
![](https://img-blog.csdnimg.cn/img_convert/fdbbf0b4154c8090ababf2b8aee02055.png)