Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/cifs/
H A 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 …]
H A Dlink.c512 struct dentry *direntry) in cifs_hardlink() argument
532 to_name = build_path_from_dentry(direntry); in cifs_hardlink()
554 d_drop(direntry); /* force new lookup from server of target */ in cifs_hardlink()
601 cifs_get_link(struct dentry *direntry, struct inode *inode, in cifs_get_link() argument
613 if (!direntry) in cifs_get_link()
626 full_path = build_path_from_dentry(direntry); in cifs_get_link()
667 cifs_symlink(struct inode *inode, struct dentry *direntry, const char *symname) in cifs_symlink() argument
686 full_path = build_path_from_dentry(direntry); in cifs_symlink()
720 d_instantiate(direntry, newinode); in cifs_symlink()
H A Dinode.c1856 int cifs_mkdir(struct inode *inode, struct dentry *direntry, umode_t mode) argument
1877 full_path = build_path_from_dentry(direntry);
1888 d_drop(direntry); /* for time being always refresh inode info */
1894 rc = cifs_posix_mkdir(inode, direntry, mode, full_path, cifs_sb,
1909 d_drop(direntry);
1914 rc = cifs_mkdir_qinfo(inode, direntry, mode, full_path, cifs_sb, tcon,
1928 int cifs_rmdir(struct inode *inode, struct dentry *direntry) argument
1943 full_path = build_path_from_dentry(direntry);
1974 spin_lock(&d_inode(direntry)->i_lock);
1975 i_size_write(d_inode(direntry), 0);
[all …]
H A 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()
H A Dcifsfs.h135 extern int cifs_symlink(struct inode *inode, struct dentry *direntry,
H A Dcifsproto.h73 extern char *build_path_from_dentry_optional_prefix(struct dentry *direntry,
79 extern char *build_wildcard_path_from_dentry(struct dentry *direntry);
/OK3568_Linux_fs/external/xserver/hw/xfree86/common/
H A Dxf86pciBus.c1302 struct dirent *direntry; local
1317 direntry = readdir(idsdir);
1319 while (direntry) {
1320 if (direntry->d_name[0] == '.') {
1321 direntry = readdir(idsdir);
1324 len = strlen(direntry->d_name);
1326 if (strncmp(&(direntry->d_name[len - 4]), ".ids", 4) == 0) {
1329 PCI_TXT_IDS_PATH, direntry->d_name);
1365 strlen(direntry->d_name) - 3);
1374 for (j = 0; j < (strlen(direntry->d_name) - 3); j++) {
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/loader/
H A Dloadmod.c268 struct dirent *direntry = NULL; in FindModuleInSubdir() local
277 while ((direntry = readdir(dir))) { in FindModuleInSubdir()
278 if (direntry->d_name[0] == '.') in FindModuleInSubdir()
280 snprintf(tmpBuf, PATH_MAX, "%s%s/", dirpath, direntry->d_name); in FindModuleInSubdir()
295 if (strcmp(direntry->d_name, tmpBuf) == 0) { in FindModuleInSubdir()
306 if (strcmp(direntry->d_name, tmpBuf) == 0) { in FindModuleInSubdir()
317 if (strcmp(direntry->d_name, tmpBuf) == 0) { in FindModuleInSubdir()
/OK3568_Linux_fs/kernel/fs/
H A Dbad_inode.c100 static int bad_inode_setattr(struct dentry *direntry, struct iattr *attrs) in bad_inode_setattr() argument