Lines Matching defs:child_dentry
32 struct hmdfs_lookup_cloud_ret *lookup_cloud_dentry(struct dentry *child_dentry,
41 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb);
43 err = get_cloud_cache_file(child_dentry->d_parent, sbi);
46 cache_item = hmdfs_find_cache_item(dev_id, child_dentry->d_parent);
55 dentry = hmdfs_find_dentry_cloud(child_dentry, &ctx);
278 struct dentry *child_dentry,
285 struct hmdfs_dentry_info *gdi = hmdfs_d(child_dentry);
287 lookup_result = hmdfs_lookup_by_cloud(child_dentry, flags);
289 if (in_share_dir(child_dentry))
299 child_dentry);
300 ret = d_splice_alias(inode, child_dentry);
302 child_dentry = ret;
313 struct dentry *child_dentry,
319 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb);
321 trace_hmdfs_lookup_remote(parent_inode, child_dentry, flags);
322 if (child_dentry->d_name.len > NAME_MAX) {
328 err = init_hmdfs_dentry_info(sbi, child_dentry,
334 gdi = hmdfs_d(child_dentry);
335 gdi->device_id = hmdfs_d(child_dentry->d_parent)->device_id;
337 ret = hmdfs_lookup_cloud_dentry(parent_inode, child_dentry, flags);
347 child_dentry = ret;
352 hmdfs_set_time(child_dentry, jiffies);
353 trace_hmdfs_lookup_remote_end(parent_inode, child_dentry, err);