Home
last modified time | relevance | path

Searched refs:dir_inode (Results 1 – 5 of 5) sorted by relevance

/fs/coda/
Ddir.c202 static int coda_link(struct dentry *source_de, struct inode *dir_inode, in coda_link() argument
210 if (is_root_inode(dir_inode) && coda_iscontrol(name, len)) in coda_link()
213 error = venus_link(dir_inode->i_sb, coda_i2f(inode), in coda_link()
214 coda_i2f(dir_inode), (const char *)name, len); in coda_link()
220 coda_dir_update_mtime(dir_inode); in coda_link()
228 static int coda_symlink(struct inode *dir_inode, struct dentry *de, in coda_symlink() argument
236 if (is_root_inode(dir_inode) && coda_iscontrol(name, len)) in coda_symlink()
248 error = venus_symlink(dir_inode->i_sb, coda_i2f(dir_inode), name, len, in coda_symlink()
253 coda_dir_update_mtime(dir_inode); in coda_symlink()
/fs/9p/
Dvfs_inode_dotl.c45 static kgid_t v9fs_get_fsgid_for_create(struct inode *dir_inode) in v9fs_get_fsgid_for_create() argument
47 BUG_ON(dir_inode == NULL); in v9fs_get_fsgid_for_create()
49 if (dir_inode->i_mode & S_ISGID) { in v9fs_get_fsgid_for_create()
51 return dir_inode->i_gid; in v9fs_get_fsgid_for_create()
/fs/incfs/
Dvfs.c40 static struct dentry *dir_lookup(struct inode *dir_inode,
1403 static struct dentry *dir_lookup(struct inode *dir_inode, struct dentry *dentry, in dir_lookup() argument
1406 struct mount_info *mi = get_mount_info(dir_inode->i_sb); in dir_lookup()
1410 struct inode_info *dir_info = get_incfs_node(dir_inode); in dir_lookup()
1422 dir_inode->i_sb); in dir_lookup()
1435 dir_inode->i_sb); in dir_lookup()
1489 inode = fetch_regular_inode(dir_inode->i_sb, backing_dentry); in dir_lookup()
/fs/
Dnamei.c3241 struct inode *dir_inode = dir->d_inode; in lookup_open() local
3248 if (unlikely(IS_DEADDIR(dir_inode))) in lookup_open()
3311 if (dir_inode->i_op->atomic_open) { in lookup_open()
3321 struct dentry *res = dir_inode->i_op->lookup(dir_inode, dentry, in lookup_open()
3337 audit_inode_child(dir_inode, dentry, AUDIT_TYPE_CHILD_CREATE); in lookup_open()
3338 if (!dir_inode->i_op->create) { in lookup_open()
3342 error = dir_inode->i_op->create(dir_inode, dentry, mode, in lookup_open()
3346 fsnotify_create(dir_inode, dentry); in lookup_open()
/fs/btrfs/
Dtree-log.c5831 struct inode *dir_inode; in btrfs_log_all_parents() local
5851 dir_inode = btrfs_iget(fs_info->sb, &inode_key, in btrfs_log_all_parents()
5876 if (IS_ERR(dir_inode)) { in btrfs_log_all_parents()
5877 ret = PTR_ERR(dir_inode); in btrfs_log_all_parents()
5883 ret = btrfs_log_inode(trans, root, BTRFS_I(dir_inode), in btrfs_log_all_parents()
5886 btrfs_must_commit_transaction(trans, BTRFS_I(dir_inode))) in btrfs_log_all_parents()
5890 BTRFS_I(dir_inode), ctx); in btrfs_log_all_parents()
5891 btrfs_add_delayed_iput(dir_inode); in btrfs_log_all_parents()