Lines Matching defs:dir
2120 * This helper is used for creating dir-type entries under '/proc' and
2252 struct dentry *child, *dir = file->f_path.dentry;
2258 child = d_hash_and_lookup(dir, &qname);
2261 child = d_alloc_parallel(dir, &qname, &wq);
2473 static struct dentry *proc_map_files_lookup(struct inode *dir,
2483 task = get_proc_task(dir);
2842 static struct dentry *proc_pident_lookup(struct inode *dir,
2847 struct task_struct *task = get_proc_task(dir);
3006 static struct dentry *proc_##LSM##_attr_dir_lookup(struct inode *dir, \
3009 return proc_pident_lookup(dir, dentry, \
3065 static struct dentry *proc_attr_dir_lookup(struct inode *dir,
3068 return proc_pident_lookup(dir, dentry,
3548 static struct dentry *proc_tgid_base_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
3550 return proc_pident_lookup(dir, dentry,
3877 static struct dentry *proc_tid_base_lookup(struct inode *dir, struct dentry *dentry, unsigned int flags)
3879 return proc_pident_lookup(dir, dentry,
3916 static struct dentry *proc_task_lookup(struct inode *dir, struct dentry * dentry, unsigned int flags)
3919 struct task_struct *leader = get_proc_task(dir);