Lines Matching refs:dentry
70 struct proc_dentry *dentry; in proc_tty_init() local
72 dentry = proc_mkdir("tty", NULL); in proc_tty_init()
73 if (!dentry) in proc_tty_init()
76 proc_release(dentry); in proc_tty_init()
78 dentry = proc_mkdir("tty/ldisc", NULL); in proc_tty_init()
79 proc_release(dentry); in proc_tty_init()
81 dentry = proc_mkdir_mode("tty/driver", S_IRUSR|S_IXUSR, NULL); in proc_tty_init()
82 proc_release(dentry); in proc_tty_init()
84 dentry = proc_create_data("tty/ldiscs", 0, NULL, NULL, NULL); in proc_tty_init()
85 if (dentry) in proc_tty_init()
87 dentry->seq_ops = &seq_ops; in proc_tty_init()
89 proc_release(dentry); in proc_tty_init()
91 dentry = proc_create_data("tty/drivers", 0, NULL, NULL, NULL); in proc_tty_init()
92 if (dentry) in proc_tty_init()
94 dentry->seq_ops = &seq_ops; in proc_tty_init()
96 proc_release(dentry); in proc_tty_init()