摘要: 玩转内核链表list_head container_of 是 Linux 内核中一个常用的宏,用于从结构体的成员指针获取包含该成员的整个结构体的指针。 /** * container_of - cast a member of a structure out to the containing st 阅读全文
posted @ 2024-02-18 16:29 梦过无声 阅读(36) 评论(0) 推荐(0) 编辑