proc 目录/文件项, @notethinking 直接叫 ProcEntry不香吗 ?
操作 /proc的 真正结构体
更多...
#include <proc_fs.h>
成员变量 | |
uint | uid |
uint | gid |
mode_t | mode |
模式(读|写...) 更多... | |
int | flags |
标签 更多... | |
const struct ProcFileOperations * | procFileOps |
驱动程序,每个 /proc 下目录的驱动程序都不一样 更多... | |
struct ProcFile * | pf |
proc文件指针 更多... | |
struct ProcDirEntry * | next |
struct ProcDirEntry * | parent |
struct ProcDirEntry * | subdir |
当前目录项的关系项 更多... | |
void * | data |
atomic_t | count |
spinlock_t | pdeUnloadLock |
int | nameLen |
struct ProcDirEntry * | pdirCurrent |
当前目录 更多... | |
char | name [NAME_MAX] |
enum VnodeType | type |
节点类型 更多... | |
struct ProcDirEntry* ProcDirEntry::next |
struct ProcDirEntry * ProcDirEntry::parent |
struct ProcDirEntry* ProcDirEntry::pdirCurrent |
const struct ProcFileOperations* ProcDirEntry::procFileOps |
struct ProcDirEntry * ProcDirEntry::subdir |