
Linux内核基本数据结构
ryfjx6
这个作者很懒,什么都没留下…
展开
-
Linux内核中的链表
http://blog.youkuaiyun.com/king_208/article/details/5524175 内核中经常采用链表来管理对象,先看一下内核中对链表的定义 struct list_head { struct list_head *next, *prev; }; 一般将该数据结构嵌入到其他的数据结构中,从而使得内核转载 2011-11-23 15:38:27 · 281 阅读 · 0 评论 -
基本的数据结构学习笔记:kref
http://blog.youkuaiyun.com/king_208/article/details/5424548 本文简单介绍了设备驱动模型中最最简单的一个数据结构:kref,它作为内核中最基本的引用计数而存在。 首先直观地介绍该数据结构及操作它的一些方法,然后再介绍其具体的用法。参考:kref.h kref.c kref.txt 一、kref及操作kref的方法 struc转载 2011-11-23 16:05:19 · 302 阅读 · 0 评论