Home
last modified time | relevance | path

Searched refs:proc_dentry (Results 1 – 19 of 19) sorted by relevance

/components/dfs/dfs_v2/filesystems/procfs/
A Dproc.h22 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 Dproc.c22 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 Dprocfs.c31 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 Dproc_pid.c54 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 Dproc_self.c26 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 Dproc_uptime.c33 struct proc_dentry *dentry = proc_create_single_data("uptime", 0, NULL, single_show, NULL); in proc_uptime_init()
A Dproc_loadavg.c36 struct proc_dentry *dentry = proc_create_single_data("loadavg", 0, NULL, single_show, NULL); in proc_loadavg_init()
A Dproc_cmdline.c48 struct proc_dentry *dentry = proc_create_single_data("cmdline", 0, NULL, single_show, NULL); in proc_cmdline_init()
A Dproc_version.c40 struct proc_dentry *dentry = proc_create_single_data("version", 0, NULL, single_show, NULL); in proc_version_init()
A Dproc_cpuinfo.c81 struct proc_dentry *dentry = proc_create_data("cpuinfo", 0, NULL, &file_ops, NULL); in proc_cpuinfo_init()
A Dproc_filesystems.c76 struct proc_dentry *dentry = proc_create_data("filesystems", 0, NULL, NULL, NULL); in proc_filesystems_init()
A Dproc_meminfo.c61 struct proc_dentry *dentry = proc_create_single_data("meminfo", 0, NULL, single_show, NULL); in proc_meminfo_init()
A Dproc_tty.c70 struct proc_dentry *dentry; in proc_tty_init()
A Dproc_mounts.c92 struct proc_dentry *dentry = proc_create_data("mounts", 0, NULL, NULL, NULL); in proc_mounts_init()
A Dproc_net.c92 struct proc_dentry *dentry; in proc_net_init()
A Dproc_stat.c109 struct proc_dentry *dentry = proc_create_data("stat", 0, NULL, &file_ops, NULL); in proc_stat_init()
A Dproc_partitions.c206 struct proc_dentry *dentry = proc_create_data("partitions", 0, NULL, NULL, NULL); in proc_partitions_init()
A Dproc_devices.c298 struct proc_dentry *dentry = proc_create_data("devices", 0, NULL, NULL, NULL); in proc_devices_init()
/components/drivers/pci/
A Dprocfs.c24 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()

Completed in 18 milliseconds