Lines Matching defs:child_dentry

24 				      struct dentry *child_dentry,
37 fst_lo_d = hmdfs_get_fst_lo_d(child_dentry);
64 update_inode_attr(inode, child_dentry);
76 set_nlink(inode, get_num_comrades(child_dentry) + 2);
206 struct dentry *child_dentry, unsigned int flags)
237 assign_comrades_unlocked(child_dentry, &head);
246 struct dentry *child_dentry, unsigned int flags)
248 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb);
266 ret = hmdfs_get_path_in_sb(child_dentry->d_sb, buf, LOOKUP_DIRECTORY,
271 ret = do_lookup_cloud_merge_root(path_dev, child_dentry, flags);
282 struct dentry *child_dentry,
286 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb);
301 child_dentry->d_fsdata = NULL;
303 if (child_dentry->d_name.len > NAME_MAX) {
308 err = init_hmdfs_dentry_info_merge(sbi, child_dentry);
313 hmdfs_dm(child_dentry)->dentry_type = HMDFS_LAYER_FIRST_MERGE_CLOUD;
314 err = lookup_cloud_merge_root(parent_inode, child_dentry, flags);
316 hmdfs_dm(child_dentry)->dentry_type = HMDFS_LAYER_OTHER_MERGE_CLOUD;
317 err = lookup_merge_normal(child_dentry, flags);
324 child_dentry, NULL);
335 child_dentry);
337 ret_dentry = d_splice_alias(child_inode, child_dentry);
339 clear_comrades(child_dentry);
344 child_dentry = ret_dentry;
362 int do_mkdir_cloud_merge(struct inode *parent_inode, struct dentry *child_dentry,
375 fill_inode_merge(sb, parent_inode, child_dentry, lo_d_child);
381 d_add(child_dentry, child_inode);
389 int do_create_cloud_merge(struct inode *parent_inode, struct dentry *child_dentry,
402 fill_inode_merge(sb, parent_inode, child_dentry, lo_d_child);
408 d_add(child_dentry, child_inode);