Home
last modified time | relevance | path

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

/fs/cifs/
Dxattr.c51 char *full_path; in cifs_removexattr() local
65 full_path = build_path_from_dentry(direntry); in cifs_removexattr()
66 if (full_path == NULL) { in cifs_removexattr()
85 rc = CIFSSMBSetEA(xid, pTcon, full_path, ea_name, NULL, in cifs_removexattr()
90 kfree(full_path); in cifs_removexattr()
105 char *full_path; in cifs_setxattr() local
119 full_path = build_path_from_dentry(direntry); in cifs_setxattr()
120 if (full_path == NULL) { in cifs_setxattr()
132 kfree(full_path); in cifs_setxattr()
146 rc = CIFSSMBSetEA(xid, pTcon, full_path, ea_name, ea_value, in cifs_setxattr()
[all …]
Dlink.c112 char *full_path = NULL; in cifs_follow_link() local
119 full_path = build_path_from_dentry(direntry); in cifs_follow_link()
121 if (!full_path) in cifs_follow_link()
124 cFYI(1, ("Full path: %s inode = 0x%p", full_path, inode)); in cifs_follow_link()
140 rc = CIFSSMBUnixQuerySymLink(xid, pTcon, full_path, in cifs_follow_link()
162 kfree(full_path); in cifs_follow_link()
176 char *full_path = NULL; in cifs_symlink() local
184 full_path = build_path_from_dentry(direntry); in cifs_symlink()
186 if (full_path == NULL) { in cifs_symlink()
191 cFYI(1, ("Full path: %s", full_path)); in cifs_symlink()
[all …]
Ddir.c53 char *full_path; in build_path_from_dentry() local
80 full_path = kmalloc(namelen+1, GFP_KERNEL); in build_path_from_dentry()
81 if (full_path == NULL) in build_path_from_dentry()
82 return full_path; in build_path_from_dentry()
83 full_path[namelen] = 0; /* trailing null */ in build_path_from_dentry()
89 full_path[namelen] = dirsep; in build_path_from_dentry()
90 strncpy(full_path + namelen + 1, temp->d_name.name, in build_path_from_dentry()
92 cFYI(0, ("name: %s", full_path + namelen)); in build_path_from_dentry()
97 kfree(full_path); in build_path_from_dentry()
108 kfree(full_path); in build_path_from_dentry()
[all …]
Dinode.c246 const unsigned char *full_path, struct super_block *sb, int xid) argument
259 cFYI(1, ("Getting info on %s", full_path));
262 rc = CIFSSMBUnixQPathInfo(xid, pTcon, full_path, &find_data,
441 const unsigned char *full_path, FILE_ALL_INFO *pfindData, argument
456 cFYI(1, ("Getting info on %s", full_path));
473 rc = CIFSSMBQPathInfo(xid, pTcon, full_path, pfindData,
481 rc = SMBQueryInformation(xid, pTcon, full_path,
521 full_path, pinum,
599 full_path, cifs_sb, xid))
630 acl_to_uid_mode(inode, full_path, pfid);
[all …]
Dcifs_dfs_ref.c309 char *full_path = NULL; in cifs_dfs_follow_mountpoint() local
336 full_path = build_path_from_dentry(dentry); in cifs_dfs_follow_mountpoint()
337 if (full_path == NULL) { in cifs_dfs_follow_mountpoint()
342 rc = get_dfs_path(xid, ses , full_path + 1, cifs_sb->local_nls, in cifs_dfs_follow_mountpoint()
382 kfree(full_path); in cifs_dfs_follow_mountpoint()
Dfile.c103 char *full_path, int xid) in cifs_open_inode_helper() argument
149 full_path, inode->i_sb, xid); in cifs_open_inode_helper()
152 full_path, buf, inode->i_sb, xid, NULL); in cifs_open_inode_helper()
174 char *full_path = NULL; in cifs_open() local
215 full_path = build_path_from_dentry(file->f_path.dentry); in cifs_open()
216 if (full_path == NULL) { in cifs_open()
222 inode, file->f_flags, full_path)); in cifs_open()
272 rc = CIFSSMBOpen(xid, pTcon, full_path, disposition, in cifs_open()
281 rc = SMBLegacyOpen(xid, pTcon, full_path, disposition, in cifs_open()
304 &oplock, buf, full_path, xid); in cifs_open()
[all …]
Dreaddir.c442 char *full_path; in initiate_cifs_search() local
466 full_path = build_path_from_dentry(file->f_path.dentry); in initiate_cifs_search()
468 if (full_path == NULL) in initiate_cifs_search()
471 cFYI(1, ("Full path: %s start at: %lld", full_path, file->f_pos)); in initiate_cifs_search()
488 rc = CIFSFindFirst(xid, pTcon, full_path, cifs_sb->local_nls, in initiate_cifs_search()
499 kfree(full_path); in initiate_cifs_search()
Dconnect.c2185 struct cifs_sb_info *cifs_sb, const char *full_path) in is_path_accessible() argument
2191 rc = CIFSGetSrvInodeNumber(xid, tcon, full_path, &inode_num, in is_path_accessible()
2202 rc = CIFSSMBQPathInfo(xid, tcon, full_path, pfile_info, in is_path_accessible()
2220 char *full_path; in cifs_mount() local
2459 full_path = cifs_build_path_to_root(cifs_sb); in cifs_mount()
2460 if (full_path == NULL) { in cifs_mount()
2464 rc = is_path_accessible(xid, tcon, cifs_sb, full_path); in cifs_mount()
2467 full_path, rc)); in cifs_mount()
2468 kfree(full_path); in cifs_mount()
2471 kfree(full_path); in cifs_mount()