Lines Matching refs:dir
102 const struct inode *dir, in bpf_get_inode() argument
124 inode_init_owner(&nop_mnt_idmap, inode, dir, mode); in bpf_get_inode()
145 struct inode *dir) in bpf_dentry_finalize() argument
150 dir->i_mtime = inode_set_ctime_current(dir); in bpf_dentry_finalize()
153 static int bpf_mkdir(struct mnt_idmap *idmap, struct inode *dir, in bpf_mkdir() argument
158 inode = bpf_get_inode(dir->i_sb, dir, mode | S_IFDIR); in bpf_mkdir()
166 inc_nlink(dir); in bpf_mkdir()
168 bpf_dentry_finalize(dentry, inode, dir); in bpf_mkdir()
333 struct inode *dir = dentry->d_parent->d_inode; in bpf_mkobj_ops() local
334 struct inode *inode = bpf_get_inode(dir->i_sb, dir, mode); in bpf_mkobj_ops()
342 bpf_dentry_finalize(dentry, inode, dir); in bpf_mkobj_ops()
371 bpf_lookup(struct inode *dir, struct dentry *dentry, unsigned flags) in bpf_lookup() argument
376 if ((dir->i_mode & S_IALLUGO) && in bpf_lookup()
380 return simple_lookup(dir, dentry, flags); in bpf_lookup()
383 static int bpf_symlink(struct mnt_idmap *idmap, struct inode *dir, in bpf_symlink() argument
392 inode = bpf_get_inode(dir->i_sb, dir, S_IRWXUGO | S_IFLNK); in bpf_symlink()
401 bpf_dentry_finalize(dentry, inode, dir); in bpf_symlink()
440 struct inode *dir; in bpf_obj_do_pin() local
449 dir = d_inode(path.dentry); in bpf_obj_do_pin()
450 if (dir->i_op != &bpf_dir_iops) { in bpf_obj_do_pin()