Searched refs:direntry (Results 1 – 8 of 8) sorted by relevance
/fs/cifs/ |
D | dir.c | 35 renew_parental_timestamps(struct dentry *direntry) in renew_parental_timestamps() argument 40 direntry->d_time = jiffies; in renew_parental_timestamps() 41 direntry = direntry->d_parent; in renew_parental_timestamps() 42 } while (!IS_ROOT(direntry)); in renew_parental_timestamps() 47 build_path_from_dentry(struct dentry *direntry) in build_path_from_dentry() argument 57 if (direntry == NULL) in build_path_from_dentry() 62 cifs_sb = CIFS_SB(direntry->d_sb); in build_path_from_dentry() 71 for (temp = direntry; !IS_ROOT(temp);) { in build_path_from_dentry() 84 for (temp = direntry; !IS_ROOT(temp);) { in build_path_from_dentry() 128 strncpy(full_path + dfsplen, CIFS_SB(direntry->d_sb)->prepath, pplen); in build_path_from_dentry() [all …]
|
D | xattr.c | 43 int cifs_removexattr(struct dentry *direntry, const char *ea_name) in cifs_removexattr() argument 53 if (direntry == NULL) in cifs_removexattr() 55 if (direntry->d_inode == NULL) in cifs_removexattr() 57 sb = direntry->d_inode->i_sb; in cifs_removexattr() 65 full_path = build_path_from_dentry(direntry); in cifs_removexattr() 96 int cifs_setxattr(struct dentry *direntry, const char *ea_name, in cifs_setxattr() argument 107 if (direntry == NULL) in cifs_setxattr() 109 if (direntry->d_inode == NULL) in cifs_setxattr() 111 sb = direntry->d_inode->i_sb; in cifs_setxattr() 119 full_path = build_path_from_dentry(direntry); in cifs_setxattr() [all …]
|
D | link.c | 33 struct dentry *direntry) in cifs_hardlink() argument 52 toName = build_path_from_dentry(direntry); in cifs_hardlink() 73 d_drop(direntry); /* force new lookup from server of target */ in cifs_hardlink() 107 cifs_follow_link(struct dentry *direntry, struct nameidata *nd) in cifs_follow_link() argument 109 struct inode *inode = direntry->d_inode; in cifs_follow_link() 119 full_path = build_path_from_dentry(direntry); in cifs_follow_link() 170 cifs_symlink(struct inode *inode, struct dentry *direntry, const char *symname) in cifs_symlink() argument 184 full_path = build_path_from_dentry(direntry); in cifs_symlink() 215 direntry->d_op = &cifs_ci_dentry_ops; in cifs_symlink() 217 direntry->d_op = &cifs_dentry_ops; in cifs_symlink() [all …]
|
D | inode.c | 1092 int cifs_mkdir(struct inode *inode, struct dentry *direntry, int mode) argument 1108 full_path = build_path_from_dentry(direntry); 1136 d_drop(direntry); 1147 direntry->d_op = &cifs_ci_dentry_ops; 1149 direntry->d_op = &cifs_dentry_ops; 1159 d_instantiate(direntry, newinode); 1163 posix_fill_in_inode(direntry->d_inode, 1167 direntry, direntry->d_name.name, newinode)); 1183 d_drop(direntry); 1195 direntry->d_op = &cifs_ci_dentry_ops; [all …]
|
D | cifsfs.h | 78 extern int cifs_readdir(struct file *file, void *direntry, filldir_t filldir); 85 extern void *cifs_follow_link(struct dentry *direntry, struct nameidata *nd); 86 extern void cifs_put_link(struct dentry *direntry, 88 extern int cifs_readlink(struct dentry *direntry, char __user *buffer, 90 extern int cifs_symlink(struct inode *inode, struct dentry *direntry,
|
D | readdir.c | 900 filldir_t filldir, void *direntry, char *scratch_buf, int max_len) in cifs_filldir() argument 914 if ((direntry == NULL) || (file == NULL)) in cifs_filldir() 971 rc = filldir(direntry, qstring.name, qstring.len, file->f_pos, in cifs_filldir() 986 int cifs_readdir(struct file *file, void *direntry, filldir_t filldir) in cifs_readdir() argument 1008 if (filldir(direntry, ".", 1, file->f_pos, in cifs_readdir() 1016 if (filldir(direntry, "..", 2, file->f_pos, in cifs_readdir() 1086 filldir, direntry, tmp_buf, max_len); in cifs_readdir()
|
D | cifsproto.h | 46 extern char *build_wildcard_path_from_dentry(struct dentry *direntry);
|
/fs/ |
D | bad_inode.c | 251 static int bad_inode_setattr(struct dentry *direntry, struct iattr *attrs) in bad_inode_setattr() argument
|