Home
last modified time | relevance | path

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

/linux-6.12.1/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.12.1/fs/9p/
Dvfs_inode_dotl.c44 static kgid_t v9fs_get_fsgid_for_create(struct inode *dir_inode) in v9fs_get_fsgid_for_create() argument
46 BUG_ON(dir_inode == NULL); in v9fs_get_fsgid_for_create()
48 if (dir_inode->i_mode & S_ISGID) { in v9fs_get_fsgid_for_create()
50 return dir_inode->i_gid; in v9fs_get_fsgid_for_create()
/linux-6.12.1/fs/zonefs/
Dsuper.c1198 struct inode *dir_inode; in zonefs_get_zgroup_inodes() local
1205 dir_inode = zonefs_get_zgroup_inode(sb, ztype); in zonefs_get_zgroup_inodes()
1206 if (IS_ERR(dir_inode)) in zonefs_get_zgroup_inodes()
1207 return PTR_ERR(dir_inode); in zonefs_get_zgroup_inodes()
1209 sbi->s_zgroup[ztype].g_inode = dir_inode; in zonefs_get_zgroup_inodes()
/linux-6.12.1/fs/
Dnamei.c3503 struct inode *dir_inode = dir->d_inode; in lookup_open() local
3510 if (unlikely(IS_DEADDIR(dir_inode))) in lookup_open()
3565 if (dir_inode->i_op->atomic_open) { in lookup_open()
3573 struct dentry *res = dir_inode->i_op->lookup(dir_inode, dentry, in lookup_open()
3589 audit_inode_child(dir_inode, dentry, AUDIT_TYPE_CHILD_CREATE); in lookup_open()
3590 if (!dir_inode->i_op->create) { in lookup_open()
3595 error = dir_inode->i_op->create(idmap, dir_inode, dentry, in lookup_open()
/linux-6.12.1/fs/btrfs/
Dtree-log.c6797 struct inode *dir_inode; in btrfs_log_all_parents() local
6817 dir_inode = btrfs_iget_logging(inode_key.objectid, root); in btrfs_log_all_parents()
6841 if (IS_ERR(dir_inode)) { in btrfs_log_all_parents()
6842 ret = PTR_ERR(dir_inode); in btrfs_log_all_parents()
6846 if (!need_log_inode(trans, BTRFS_I(dir_inode))) { in btrfs_log_all_parents()
6847 btrfs_add_delayed_iput(BTRFS_I(dir_inode)); in btrfs_log_all_parents()
6852 ret = btrfs_log_inode(trans, BTRFS_I(dir_inode), in btrfs_log_all_parents()
6856 BTRFS_I(dir_inode), ctx); in btrfs_log_all_parents()
6857 btrfs_add_delayed_iput(BTRFS_I(dir_inode)); in btrfs_log_all_parents()
/linux-6.12.1/fs/bcachefs/
Dfsck.c184 struct bch_inode_unpacked dir_inode; in __remove_dirent() local
188 ret = lookup_first_inode(trans, pos.inode, &dir_inode); in __remove_dirent()
192 dir_hash_info = bch2_hash_info_init(c, &dir_inode); in __remove_dirent()