Lines Matching defs:dentry
42 static const char *proc_ns_get_link(struct dentry *dentry,
51 if (!dentry)
71 static int proc_ns_readlink(struct dentry *dentry, char __user *buffer, int buflen)
73 struct inode *inode = d_inode(dentry);
98 static struct dentry *proc_ns_instantiate(struct dentry *dentry,
105 inode = proc_pid_make_inode(dentry->d_sb, task, S_IFLNK | S_IRWXUGO);
114 d_set_d_op(dentry, &pid_dentry_operations);
115 return d_splice_alias(inode, dentry);
151 static struct dentry *proc_ns_dir_lookup(struct inode *dir,
152 struct dentry *dentry, unsigned int flags)
156 unsigned int len = dentry->d_name.len;
157 struct dentry *res = ERR_PTR(-ENOENT);
166 if (!memcmp(dentry->d_name.name, (*entry)->name, len))
172 res = proc_ns_instantiate(dentry, task, *entry);