摘要: #define offset_of(type, member) ((unsigned int)&((type*)0)->member) #define container_of(ptr, type, member) ((type *)((char *)(ptr) - offset_of(type, 阅读全文
posted @ 2023-12-04 11:36 cc_record 阅读(81) 评论(0) 推荐(0) 编辑