| /components/dfs/dfs_v2/filesystems/procfs/ |
| A D | proc.h | 22 struct proc_dentry; 26 struct proc_dentry *(*lookup)(struct proc_dentry *parent, const char *name); 30 struct proc_dentry struct 35 struct proc_dentry *parent; argument 51 struct proc_dentry *proc_mkdir_data(const char *name, mode_t mode, struct proc_dentry *parent, 53 struct proc_dentry *proc_mkdir_mode(const char *name, mode_t mode, struct proc_dentry *parent); 54 struct proc_dentry *proc_mkdir(const char *name, struct proc_dentry *parent); 56 struct proc_dentry *proc_create_data(const char *name, mode_t mode, struct proc_dentry *parent, 58 struct proc_dentry *proc_create_single_data(const char *name, mode_t mode, struct proc_dentry *pare… 61 struct proc_dentry *proc_symlink(const char *name, struct proc_dentry *parent, const char *dest); [all …]
|
| A D | proc.c | 22 static struct proc_dentry _proc_root = { 153 struct proc_dentry *entry = (struct proc_dentry *)file->vnode->data; in proc_open() 182 struct proc_dentry *entry = (struct proc_dentry *)file->vnode->data; in proc_close() 200 static struct proc_dentry *proc_create(struct proc_dentry **parent, const char *name, mode_t mode) in proc_create() 238 struct proc_dentry *proc_acquire(struct proc_dentry *dentry) in proc_acquire() 280 static struct proc_dentry *proc_register(struct proc_dentry *parent, struct proc_dentry *child) in proc_register() 301 struct proc_dentry *proc_mkdir_data(const char *name, mode_t mode, struct proc_dentry *parent, in proc_mkdir_data() 331 struct proc_dentry *proc_mkdir_mode(const char *name, mode_t mode, struct proc_dentry *parent) in proc_mkdir_mode() 344 struct proc_dentry *proc_mkdir(const char *name, struct proc_dentry *parent) in proc_mkdir() 378 struct proc_dentry *proc_create_data(const char *name, mode_t mode, struct proc_dentry *parent, in proc_create_data() [all …]
|
| A D | procfs.c | 31 struct proc_dentry *entry = (struct proc_dentry *)file->vnode->data; in dfs_procfs_open() 56 struct proc_dentry *entry = (struct proc_dentry *)file->vnode->data; in dfs_procfs_close() 77 struct proc_dentry *entry = (struct proc_dentry *)file->vnode->data; in dfs_procfs_read() 92 struct proc_dentry *entry = (struct proc_dentry *)file->vnode->data; in dfs_procfs_write() 107 struct proc_dentry *entry = (struct proc_dentry *)file->vnode->data; in dfs_procfs_ioctl() 124 struct proc_dentry *entry = (struct proc_dentry *)file->vnode->data; in dfs_procfs_getdents() 128 struct proc_dentry *iter = RT_NULL, *tmp; in dfs_procfs_getdents() 211 struct proc_dentry *entry = (struct proc_dentry *)file->vnode->data; in dfs_procfs_poll() 226 struct proc_dentry *entry = (struct proc_dentry *)file->vnode->data; in dfs_procfs_flush() 255 struct proc_dentry *entry = dfs_proc_find(dentry->pathname); in dfs_procfs_readlink() [all …]
|
| A D | proc_pid.c | 54 struct proc_dentry *dentry = (struct proc_dentry *)seq->file->vnode->data; in stat_single_show() 178 struct proc_dentry *dentry = (struct proc_dentry *)seq->file->vnode->data; in cmdline_single_show() 205 struct proc_dentry *proc_pid_fd_lookup(struct proc_dentry *parent, const char *name) in proc_pid_fd_lookup() 207 struct proc_dentry *dentry = RT_NULL; in proc_pid_fd_lookup() 231 dentry = rt_calloc(1, sizeof(struct proc_dentry)); in proc_pid_fd_lookup() 266 struct proc_dentry *entry = (struct proc_dentry *)file->vnode->data; in proc_pid_fd_getdents() 336 int proc_pid_exe_readlink(struct proc_dentry *dentry, char *buf, int len) in proc_pid_exe_readlink() 350 int proc_pid_cwd_readlink(struct proc_dentry *dentry, char *buf, int len) in proc_pid_cwd_readlink() 376 struct proc_dentry *dentry; in proc_pid() 384 struct proc_dentry *ent; in proc_pid()
|
| A D | proc_self.c | 26 int proc_self_readlink(struct proc_dentry *dentry, char *buf, int len) in proc_self_readlink() 53 struct proc_dentry *ent; in proc_self_init()
|
| A D | proc_uptime.c | 33 struct proc_dentry *dentry = proc_create_single_data("uptime", 0, NULL, single_show, NULL); in proc_uptime_init()
|
| A D | proc_loadavg.c | 36 struct proc_dentry *dentry = proc_create_single_data("loadavg", 0, NULL, single_show, NULL); in proc_loadavg_init()
|
| A D | proc_cmdline.c | 48 struct proc_dentry *dentry = proc_create_single_data("cmdline", 0, NULL, single_show, NULL); in proc_cmdline_init()
|
| A D | proc_version.c | 40 struct proc_dentry *dentry = proc_create_single_data("version", 0, NULL, single_show, NULL); in proc_version_init()
|
| A D | proc_cpuinfo.c | 81 struct proc_dentry *dentry = proc_create_data("cpuinfo", 0, NULL, &file_ops, NULL); in proc_cpuinfo_init()
|
| A D | proc_filesystems.c | 76 struct proc_dentry *dentry = proc_create_data("filesystems", 0, NULL, NULL, NULL); in proc_filesystems_init()
|
| A D | proc_meminfo.c | 61 struct proc_dentry *dentry = proc_create_single_data("meminfo", 0, NULL, single_show, NULL); in proc_meminfo_init()
|
| A D | proc_tty.c | 70 struct proc_dentry *dentry; in proc_tty_init()
|
| A D | proc_mounts.c | 92 struct proc_dentry *dentry = proc_create_data("mounts", 0, NULL, NULL, NULL); in proc_mounts_init()
|
| A D | proc_net.c | 92 struct proc_dentry *dentry; in proc_net_init()
|
| A D | proc_stat.c | 109 struct proc_dentry *dentry = proc_create_data("stat", 0, NULL, &file_ops, NULL); in proc_stat_init()
|
| A D | proc_partitions.c | 206 struct proc_dentry *dentry = proc_create_data("partitions", 0, NULL, NULL, NULL); in proc_partitions_init()
|
| A D | proc_devices.c | 298 struct proc_dentry *dentry = proc_create_data("devices", 0, NULL, NULL, NULL); in proc_devices_init()
|
| /components/drivers/pci/ |
| A D | procfs.c | 24 static struct proc_dentry *pci_proc_dentry; 69 struct proc_dentry *dentry = file->vnode->data; in pci_read() 150 struct proc_dentry *dentry = file->vnode->data; in pci_write() 222 struct proc_dentry *dentry = file->vnode->data; in pci_lseek() 260 struct proc_dentry *dentry; in pci_procfs_attach() 342 struct proc_dentry *dentry; in pci_procfs_init()
|