Home
last modified time | relevance | path

Searched refs:direntry (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
Ddir.c38 renew_parental_timestamps(struct dentry *direntry) in renew_parental_timestamps() argument
43 cifs_set_time(direntry, jiffies); in renew_parental_timestamps()
44 direntry = direntry->d_parent; in renew_parental_timestamps()
45 } while (!IS_ROOT(direntry)); in renew_parental_timestamps()
81 build_path_from_dentry(struct dentry *direntry) in build_path_from_dentry() argument
83 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in build_path_from_dentry()
87 return build_path_from_dentry_optional_prefix(direntry, in build_path_from_dentry()
92 build_path_from_dentry_optional_prefix(struct dentry *direntry, bool prefix) in build_path_from_dentry_optional_prefix() argument
100 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in build_path_from_dentry_optional_prefix()
117 for (temp = direntry; !IS_ROOT(temp);) { in build_path_from_dentry_optional_prefix()
[all …]
Dlink.c513 struct dentry *direntry) in cifs_hardlink() argument
533 to_name = build_path_from_dentry(direntry); in cifs_hardlink()
555 d_drop(direntry); /* force new lookup from server of target */ in cifs_hardlink()
602 cifs_get_link(struct dentry *direntry, struct inode *inode, in cifs_get_link() argument
614 if (!direntry) in cifs_get_link()
627 full_path = build_path_from_dentry(direntry); in cifs_get_link()
668 cifs_symlink(struct inode *inode, struct dentry *direntry, const char *symname) in cifs_symlink() argument
687 full_path = build_path_from_dentry(direntry); in cifs_symlink()
721 d_instantiate(direntry, newinode); in cifs_symlink()
Dinode.c1853 int cifs_mkdir(struct inode *inode, struct dentry *direntry, umode_t mode) argument
1874 full_path = build_path_from_dentry(direntry);
1885 d_drop(direntry); /* for time being always refresh inode info */
1891 rc = cifs_posix_mkdir(inode, direntry, mode, full_path, cifs_sb,
1906 d_drop(direntry);
1911 rc = cifs_mkdir_qinfo(inode, direntry, mode, full_path, cifs_sb, tcon,
1925 int cifs_rmdir(struct inode *inode, struct dentry *direntry) argument
1940 full_path = build_path_from_dentry(direntry);
1971 spin_lock(&d_inode(direntry)->i_lock);
1972 i_size_write(d_inode(direntry), 0);
[all …]
Dxattr.c393 ssize_t cifs_listxattr(struct dentry *direntry, char *data, size_t buf_size) in cifs_listxattr() argument
397 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in cifs_listxattr()
412 full_path = build_path_from_dentry(direntry); in cifs_listxattr()
Dcifsfs.h135 extern int cifs_symlink(struct inode *inode, struct dentry *direntry,
Dcifsproto.h73 extern char *build_path_from_dentry_optional_prefix(struct dentry *direntry,
79 extern char *build_wildcard_path_from_dentry(struct dentry *direntry);
/kernel/linux/linux-5.10/fs/hmdfs/
Ddentry.c74 static int hmdfs_dev_d_revalidate(struct dentry *direntry, unsigned int flags) in hmdfs_dev_d_revalidate() argument
79 spin_lock(&direntry->d_lock); in hmdfs_dev_d_revalidate()
80 if (IS_ROOT(direntry)) { in hmdfs_dev_d_revalidate()
81 spin_unlock(&direntry->d_lock); in hmdfs_dev_d_revalidate()
84 spin_unlock(&direntry->d_lock); in hmdfs_dev_d_revalidate()
86 dinode = d_inode(direntry); in hmdfs_dev_d_revalidate()
101 static int hmdfs_d_revalidate(struct dentry *direntry, unsigned int flags) in hmdfs_d_revalidate() argument
118 dinode = d_inode(direntry); in hmdfs_d_revalidate()
124 parent_dentry = dget_parent(direntry); in hmdfs_d_revalidate()
126 ret = hmdfs_d_remote_revalidate(info->conn, direntry, in hmdfs_d_revalidate()
[all …]
/kernel/linux/linux-5.10/fs/
Dbad_inode.c100 static int bad_inode_setattr(struct dentry *direntry, struct iattr *attrs) in bad_inode_setattr() argument