Lines Matching defs:child_dentry
22 struct hmdfs_lookup_ret *lookup_remote_dentry(struct dentry *child_dentry,
30 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb);
32 cache_item = hmdfs_find_cache_item(dev_id, child_dentry->d_parent);
41 dentry = hmdfs_find_dentry(child_dentry, &ctx);
401 struct dentry *child_dentry,
411 int file_name_len = child_dentry->d_name.len;
413 struct hmdfs_dentry_info *gdi = hmdfs_d(child_dentry);
420 strncpy(file_name, child_dentry->d_name.name, file_name_len);
432 relative_path = hmdfs_get_dentry_relative_path(child_dentry->d_parent);
439 lookup_result = hmdfs_lookup_by_con(con, child_dentry, &qstr, flags,
444 else if (in_share_dir(child_dentry))
449 child_dentry);
450 ret = d_splice_alias(inode, child_dentry);
452 child_dentry = ret;
467 struct dentry *child_dentry,
473 struct hmdfs_sb_info *sbi = hmdfs_sb(child_dentry->d_sb);
475 trace_hmdfs_lookup_remote(parent_inode, child_dentry, flags);
476 if (child_dentry->d_name.len > NAME_MAX) {
482 err = init_hmdfs_dentry_info(sbi, child_dentry,
488 gdi = hmdfs_d(child_dentry);
489 gdi->device_id = hmdfs_d(child_dentry->d_parent)->device_id;
494 ret = hmdfs_lookup_remote_dentry(parent_inode, child_dentry, flags);
504 child_dentry = ret;
509 hmdfs_set_time(child_dentry, jiffies);
510 trace_hmdfs_lookup_remote_end(parent_inode, child_dentry, err);