Home
last modified time | relevance | path

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

/linux-3.4.99/fs/cifs/
Ddir.c37 renew_parental_timestamps(struct dentry *direntry) in renew_parental_timestamps() argument
42 direntry->d_time = jiffies; in renew_parental_timestamps()
43 direntry = direntry->d_parent; in renew_parental_timestamps()
44 } while (!IS_ROOT(direntry)); in renew_parental_timestamps()
49 build_path_from_dentry(struct dentry *direntry) in build_path_from_dentry() argument
56 struct cifs_sb_info *cifs_sb = CIFS_SB(direntry->d_sb); in build_path_from_dentry()
69 for (temp = direntry; !IS_ROOT(temp);) { in build_path_from_dentry()
85 for (temp = direntry; !IS_ROOT(temp);) { in build_path_from_dentry()
139 cifs_create(struct inode *inode, struct dentry *direntry, umode_t mode, in cifs_create() argument
182 full_path = build_path_from_dentry(direntry); in cifs_create()
[all …]
Dxattr.c38 int cifs_removexattr(struct dentry *direntry, const char *ea_name) in cifs_removexattr() argument
49 if (direntry == NULL) in cifs_removexattr()
51 if (direntry->d_inode == NULL) in cifs_removexattr()
53 sb = direntry->d_inode->i_sb; in cifs_removexattr()
65 full_path = build_path_from_dentry(direntry); in cifs_removexattr()
97 int cifs_setxattr(struct dentry *direntry, const char *ea_name, in cifs_setxattr() argument
109 if (direntry == NULL) in cifs_setxattr()
111 if (direntry->d_inode == NULL) in cifs_setxattr()
113 sb = direntry->d_inode->i_sb; in cifs_setxattr()
125 full_path = build_path_from_dentry(direntry); in cifs_setxattr()
[all …]
Dcifsfs.h101 extern int cifs_readdir(struct file *file, void *direntry, filldir_t filldir);
114 extern void *cifs_follow_link(struct dentry *direntry, struct nameidata *nd);
115 extern void cifs_put_link(struct dentry *direntry,
117 extern int cifs_readlink(struct dentry *direntry, char __user *buffer,
119 extern int cifs_symlink(struct inode *inode, struct dentry *direntry,
Dlink.c390 struct dentry *direntry) in cifs_hardlink() argument
409 toName = build_path_from_dentry(direntry); in cifs_hardlink()
429 d_drop(direntry); /* force new lookup from server of target */ in cifs_hardlink()
464 cifs_follow_link(struct dentry *direntry, struct nameidata *nd) in cifs_follow_link() argument
466 struct inode *inode = direntry->d_inode; in cifs_follow_link()
504 full_path = build_path_from_dentry(direntry); in cifs_follow_link()
540 cifs_symlink(struct inode *inode, struct dentry *direntry, const char *symname) in cifs_symlink() argument
559 full_path = build_path_from_dentry(direntry); in cifs_symlink()
591 d_instantiate(direntry, newinode); in cifs_symlink()
601 void cifs_put_link(struct dentry *direntry, struct nameidata *nd, void *cookie) in cifs_put_link() argument
Dinode.c1278 int cifs_mkdir(struct inode *inode, struct dentry *direntry, umode_t mode) argument
1299 full_path = build_path_from_dentry(direntry);
1327 d_drop(direntry);
1345 d_instantiate(direntry, newinode);
1349 direntry, direntry->d_name.name, newinode);
1365 d_drop(direntry);
1375 d_instantiate(direntry, newinode);
1378 if ((direntry->d_inode) && (direntry->d_inode->i_nlink < 2))
1379 set_nlink(direntry->d_inode, 2);
1427 if (direntry->d_inode) {
[all …]
Dreaddir.c729 int cifs_readdir(struct file *file, void *direntry, filldir_t filldir) in cifs_readdir() argument
756 if (filldir(direntry, ".", 1, file->f_pos, in cifs_readdir()
764 if (filldir(direntry, "..", 2, file->f_pos, in cifs_readdir()
828 filldir, direntry, tmp_buf, max_len); in cifs_readdir()
Dcifsproto.h63 extern char *build_wildcard_path_from_dentry(struct dentry *direntry);
/linux-3.4.99/fs/
Dbad_inode.c244 static int bad_inode_setattr(struct dentry *direntry, struct iattr *attrs) in bad_inode_setattr() argument