Lines Matching defs:proc_dentry
37 struct dentry *proc_dentry;
142 struct dentry *proc_dentry, *new, *parent;
153 parent = HPPFS_I(ino)->proc_dentry;
155 proc_dentry = d_lookup(parent, &dentry->d_name);
156 if (proc_dentry == NULL) {
157 proc_dentry = d_alloc(parent, &dentry->d_name);
158 if (proc_dentry == NULL) {
163 proc_dentry, NULL);
165 dput(proc_dentry);
166 proc_dentry = new;
171 if (IS_ERR(proc_dentry))
172 return proc_dentry;
175 inode = get_inode(ino->i_sb, proc_dentry);
183 dput(proc_dentry);
438 struct dentry *proc_dentry;
451 proc_dentry = HPPFS_I(inode)->proc_dentry;
454 data->proc_file = dentry_open(dget(proc_dentry), mntget(proc_mnt),
501 struct dentry *proc_dentry;
509 proc_dentry = HPPFS_I(inode)->proc_dentry;
511 data->proc_file = dentry_open(dget(proc_dentry), mntget(proc_mnt),
621 hi->proc_dentry = NULL;
629 dput(HPPFS_I(ino)->proc_dentry);
648 struct dentry *proc_dentry = HPPFS_I(dentry->d_inode)->proc_dentry;
649 return proc_dentry->d_inode->i_op->readlink(proc_dentry, buffer,
655 struct dentry *proc_dentry = HPPFS_I(dentry->d_inode)->proc_dentry;
657 return proc_dentry->d_inode->i_op->follow_link(proc_dentry, nd);
663 struct dentry *proc_dentry = HPPFS_I(dentry->d_inode)->proc_dentry;
665 if (proc_dentry->d_inode->i_op->put_link)
666 proc_dentry->d_inode->i_op->put_link(proc_dentry, nd, cookie);
698 HPPFS_I(inode)->proc_dentry = dget(dentry);