Home
last modified time | relevance | path

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

/linux-6.1.9/fs/coda/
Ddir.c205 static int coda_link(struct dentry *source_de, struct inode *dir_inode, in coda_link() argument
213 if (is_root_inode(dir_inode) && coda_iscontrol(name, len)) in coda_link()
216 error = venus_link(dir_inode->i_sb, coda_i2f(inode), in coda_link()
217 coda_i2f(dir_inode), (const char *)name, len); in coda_link()
223 coda_dir_update_mtime(dir_inode); in coda_link()
232 struct inode *dir_inode, struct dentry *de, in coda_symlink() argument
240 if (is_root_inode(dir_inode) && coda_iscontrol(name, len)) in coda_symlink()
252 error = venus_symlink(dir_inode->i_sb, coda_i2f(dir_inode), name, len, in coda_symlink()
257 coda_dir_update_mtime(dir_inode); in coda_symlink()
/linux-6.1.9/fs/9p/
Dvfs_inode_dotl.c46 static kgid_t v9fs_get_fsgid_for_create(struct inode *dir_inode) in v9fs_get_fsgid_for_create() argument
48 BUG_ON(dir_inode == NULL); in v9fs_get_fsgid_for_create()
50 if (dir_inode->i_mode & S_ISGID) { in v9fs_get_fsgid_for_create()
52 return dir_inode->i_gid; in v9fs_get_fsgid_for_create()
/linux-6.1.9/fs/
Dnamei.c3324 struct inode *dir_inode = dir->d_inode; in lookup_open() local
3331 if (unlikely(IS_DEADDIR(dir_inode))) in lookup_open()
3383 if (dir_inode->i_op->atomic_open) { in lookup_open()
3391 struct dentry *res = dir_inode->i_op->lookup(dir_inode, dentry, in lookup_open()
3407 audit_inode_child(dir_inode, dentry, AUDIT_TYPE_CHILD_CREATE); in lookup_open()
3408 if (!dir_inode->i_op->create) { in lookup_open()
3413 error = dir_inode->i_op->create(mnt_userns, dir_inode, dentry, in lookup_open()
/linux-6.1.9/fs/btrfs/
Dtree-log.c6750 struct inode *dir_inode; in btrfs_log_all_parents() local
6770 dir_inode = btrfs_iget(fs_info->sb, inode_key.objectid, in btrfs_log_all_parents()
6795 if (IS_ERR(dir_inode)) { in btrfs_log_all_parents()
6796 ret = PTR_ERR(dir_inode); in btrfs_log_all_parents()
6800 if (!need_log_inode(trans, BTRFS_I(dir_inode))) { in btrfs_log_all_parents()
6801 btrfs_add_delayed_iput(dir_inode); in btrfs_log_all_parents()
6806 ret = btrfs_log_inode(trans, BTRFS_I(dir_inode), in btrfs_log_all_parents()
6810 BTRFS_I(dir_inode), ctx); in btrfs_log_all_parents()
6811 btrfs_add_delayed_iput(dir_inode); in btrfs_log_all_parents()