Lines Matching defs:dir
2111 * This helper is used for creating dir-type entries under '/proc' and
2245 struct dentry *child, *dir = file->f_path.dentry;
2251 child = d_hash_and_lookup(dir, &qname);
2254 child = d_alloc_parallel(dir, &qname, &wq);
2466 static struct dentry *proc_map_files_lookup(struct inode *dir,
2476 task = get_proc_task(dir);
2838 static struct dentry *proc_pident_lookup(struct inode *dir,
2843 struct task_struct *task = get_proc_task(dir);
3002 static struct dentry *proc_##LSM##_attr_dir_lookup(struct inode *dir, \
3005 return proc_pident_lookup(dir, dentry, \
3061 static struct dentry *proc_attr_dir_lookup(struct inode *dir,
3064 return proc_pident_lookup(dir, dentry,
3576 static struct dentry *proc_tgid_base_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
3578 return proc_pident_lookup(dir, dentry,
3910 static struct dentry *proc_tid_base_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
3912 return proc_pident_lookup(dir, dentry,
3949 static struct dentry *proc_task_lookup(struct inode *dir, struct dentry * dentry, unsigned int flags)
3952 struct task_struct *leader = get_proc_task(dir);