linux-4.4.1/proc_dir_entry
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
*参照元 [#ia6f7ed0]
#backlinks
*説明 [#r3208ea8]
-パス: [[linux-4.4.1/fs/proc/internal.h]]
-FIXME: これは何?
--説明
**参考 [#vb2a0e73]
*実装 [#d629174e]
/*
* This is not completely implemented yet. The idea is to
* create an in-memory tree (like the actual /proc files...
* tree) of these proc_dir_entries, so that we can dynam...
* add new files to /proc.
*
* parent/subdir are used for the directory structure (e...
* parent, but "subdir" is empty for all non-directory e...
* subdir_node is used to build the rb tree "subdir" of ...
*/
struct proc_dir_entry {
unsigned int low_ino;
umode_t mode;
-
--[[linux-4.4.1/umode_t]]
nlink_t nlink;
-
--[[linux-4.4.1/nlink_t]]
kuid_t uid;
kgid_t gid;
-
--[[linux-4.4.1/kuid_t]]
--[[linux-4.4.1/kgid_t]]
loff_t size;
-
--[[linux-4.4.1/loff_t]]
const struct inode_operations *proc_iops;
const struct file_operations *proc_fops;
-
--[[linux-4.4.1/inode_operations]]
--[[linux-4.4.1/file_operations]]
struct proc_dir_entry *parent;
-
--[[linux-4.4.1/proc_dir_entry]]
struct rb_root subdir;
struct rb_node subdir_node;
-
--[[linux-4.4.1/rb_root]]
--[[linux-4.4.1/rb_node]]
void *data;
atomic_t count; /* use count */
atomic_t in_use; /* number of callers int...
/* negative -> it's going away R...
-
--[[linux-4.4.1/atomic_t]]
struct completion *pde_unload_completion;
-
--[[linux-4.4.1/completion]]
struct list_head pde_openers; /* who did ->ope...
-
--[[linux-4.4.1/list_head]]
spinlock_t pde_unload_lock; /* proc_fops checks ...
-
--[[linux-4.4.1/spinlock_t]]
u8 namelen;
char name[];
};
*コメント [#k03670a5]
終了行:
*参照元 [#ia6f7ed0]
#backlinks
*説明 [#r3208ea8]
-パス: [[linux-4.4.1/fs/proc/internal.h]]
-FIXME: これは何?
--説明
**参考 [#vb2a0e73]
*実装 [#d629174e]
/*
* This is not completely implemented yet. The idea is to
* create an in-memory tree (like the actual /proc files...
* tree) of these proc_dir_entries, so that we can dynam...
* add new files to /proc.
*
* parent/subdir are used for the directory structure (e...
* parent, but "subdir" is empty for all non-directory e...
* subdir_node is used to build the rb tree "subdir" of ...
*/
struct proc_dir_entry {
unsigned int low_ino;
umode_t mode;
-
--[[linux-4.4.1/umode_t]]
nlink_t nlink;
-
--[[linux-4.4.1/nlink_t]]
kuid_t uid;
kgid_t gid;
-
--[[linux-4.4.1/kuid_t]]
--[[linux-4.4.1/kgid_t]]
loff_t size;
-
--[[linux-4.4.1/loff_t]]
const struct inode_operations *proc_iops;
const struct file_operations *proc_fops;
-
--[[linux-4.4.1/inode_operations]]
--[[linux-4.4.1/file_operations]]
struct proc_dir_entry *parent;
-
--[[linux-4.4.1/proc_dir_entry]]
struct rb_root subdir;
struct rb_node subdir_node;
-
--[[linux-4.4.1/rb_root]]
--[[linux-4.4.1/rb_node]]
void *data;
atomic_t count; /* use count */
atomic_t in_use; /* number of callers int...
/* negative -> it's going away R...
-
--[[linux-4.4.1/atomic_t]]
struct completion *pde_unload_completion;
-
--[[linux-4.4.1/completion]]
struct list_head pde_openers; /* who did ->ope...
-
--[[linux-4.4.1/list_head]]
spinlock_t pde_unload_lock; /* proc_fops checks ...
-
--[[linux-4.4.1/spinlock_t]]
u8 namelen;
char name[];
};
*コメント [#k03670a5]
ページ名: