Lines Matching defs:child_dentry

56 void update_inode_attr(struct inode *inode, struct dentry *child_dentry)
59 struct hmdfs_dentry_info_merge *cdi = hmdfs_dm(child_dentry);
100 struct dentry *child_dentry,
113 fst_lo_d = hmdfs_get_fst_lo_d(child_dentry);
140 update_inode_attr(inode, child_dentry);
152 set_nlink(inode, get_num_comrades(child_dentry) + 2);
209 void assign_comrades_unlocked(struct dentry *child_dentry,
212 struct hmdfs_dentry_info_merge *cdi = hmdfs_dm(child_dentry);
554 struct dentry *child_dentry, unsigned int flags)
556 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb);
591 assign_comrades_unlocked(child_dentry, &head);
641 struct dentry *child_dentry, unsigned int flags)
643 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb);
661 ret = hmdfs_get_path_in_sb(child_dentry->d_sb, buf, LOOKUP_DIRECTORY,
666 ret = do_lookup_merge_root(path_dev, child_dentry, flags);
699 struct dentry *child_dentry,
703 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb);
718 child_dentry->d_fsdata = NULL;
720 if (child_dentry->d_name.len > NAME_MAX) {
725 err = init_hmdfs_dentry_info_merge(sbi, child_dentry);
730 hmdfs_dm(child_dentry)->dentry_type = HMDFS_LAYER_FIRST_MERGE;
731 err = lookup_merge_root(parent_inode, child_dentry, flags);
733 hmdfs_dm(child_dentry)->dentry_type = HMDFS_LAYER_OTHER_MERGE;
734 err = lookup_merge_normal(child_dentry, flags);
741 child_dentry, NULL);
752 child_dentry);
754 ret_dentry = d_splice_alias(child_inode, child_dentry);
756 clear_comrades(child_dentry);
761 child_dentry = ret_dentry;
839 int do_mkdir_merge(struct inode *parent_inode, struct dentry *child_dentry,
852 fill_inode_merge(sb, parent_inode, child_dentry, lo_d_child);
858 child_dentry);
860 d_add(child_dentry, child_inode);
867 int do_create_merge(struct inode *parent_inode, struct dentry *child_dentry,
880 fill_inode_merge(sb, parent_inode, child_dentry, lo_d_child);
886 child_dentry);
888 d_add(child_dentry, child_inode);