Lines Matching defs:child_dentry
32 struct hmdfs_lookup_cloud_ret *lookup_cloud_dentry(struct dentry *child_dentry,
40 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb);
42 get_cloud_cache_file(child_dentry->d_parent, sbi);
43 cache_item = hmdfs_find_cache_item(dev_id, child_dentry->d_parent);
52 dentry = hmdfs_find_dentry_cloud(child_dentry, &ctx);
275 struct dentry *child_dentry,
282 struct hmdfs_dentry_info *gdi = hmdfs_d(child_dentry);
284 lookup_result = hmdfs_lookup_by_cloud(child_dentry, flags);
286 if (in_share_dir(child_dentry))
296 child_dentry);
297 ret = d_splice_alias(inode, child_dentry);
299 child_dentry = ret;
309 struct dentry *child_dentry,
315 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb);
317 trace_hmdfs_lookup_remote(parent_inode, child_dentry, flags);
318 if (child_dentry->d_name.len > NAME_MAX) {
324 err = init_hmdfs_dentry_info(sbi, child_dentry,
330 gdi = hmdfs_d(child_dentry);
331 gdi->device_id = hmdfs_d(child_dentry->d_parent)->device_id;
333 ret = hmdfs_lookup_cloud_dentry(parent_inode, child_dentry, flags);
343 child_dentry = ret;
348 hmdfs_set_time(child_dentry, jiffies);
349 trace_hmdfs_lookup_remote_end(parent_inode, child_dentry, err);