Home
last modified time | relevance | path

Searched refs:utf16_path (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/fs/smb/client/
Dlink.c356 __le16 *utf16_path; in smb3_query_mf_symlink() local
370 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_query_mf_symlink()
371 if (utf16_path == NULL) in smb3_query_mf_symlink()
378 kfree(utf16_path); in smb3_query_mf_symlink()
382 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, pfile_info, NULL, in smb3_query_mf_symlink()
404 kfree(utf16_path); in smb3_query_mf_symlink()
418 __le16 *utf16_path; in smb3_create_mf_symlink() local
424 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_create_mf_symlink()
425 if (!utf16_path) in smb3_create_mf_symlink()
439 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb3_create_mf_symlink()
[all …]
Dioctl.c35 __le16 *utf16_path = NULL, root_path; in cifs_ioctl_query_info() local
48 utf16_path = &root_path; in cifs_ioctl_query_info()
50 utf16_path = cifs_convert_path_to_utf16(path + 1, cifs_sb); in cifs_ioctl_query_info()
51 if (!utf16_path) { in cifs_ioctl_query_info()
59 xid, tcon, cifs_sb, utf16_path, in cifs_ioctl_query_info()
65 if (utf16_path != &root_path) in cifs_ioctl_query_info()
66 kfree(utf16_path); in cifs_ioctl_query_info()
Dcached_dir.c141 __le16 *utf16_path = NULL; in open_cached_dir() local
163 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in open_cached_dir()
164 if (!utf16_path) in open_cached_dir()
169 kfree(utf16_path); in open_cached_dir()
181 kfree(utf16_path); in open_cached_dir()
196 kfree(utf16_path); in open_cached_dir()
232 &rqst[0], &oplock, &oparms, utf16_path); in open_cached_dir()
308 kfree(utf16_path); in open_cached_dir()
Dsmb2ops.c868 __le16 *utf16_path; in smb2_is_path_accessible() local
887 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
888 if (!utf16_path) in smb2_is_path_accessible()
900 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb2_is_path_accessible()
928 kfree(utf16_path); in smb2_is_path_accessible()
1098 __le16 *utf16_path = NULL; in smb2_set_ea() local
1118 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_set_ea()
1119 if (!utf16_path) in smb2_set_ea()
1187 &rqst[0], &oplock, &oparms, utf16_path); in smb2_set_ea()
1246 kfree(utf16_path); in smb2_set_ea()
[all …]
Dsmb2inode.c57 __le16 *utf16_path = NULL; in smb2_compound_op() local
90 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op()
91 if (!utf16_path) { in smb2_compound_op()
111 utf16_path); in smb2_compound_op()
112 kfree(utf16_path); in smb2_compound_op()
Dsmb2pdu.c2620 __le16 *utf16_path = NULL; in smb311_posix_mkdir() local
2626 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb311_posix_mkdir()
2627 if (!utf16_path) in smb311_posix_mkdir()
2673 tcon->tree_name, utf16_path); in smb311_posix_mkdir()
2680 kfree(utf16_path); in smb311_posix_mkdir()
2681 utf16_path = copy_path; in smb311_posix_mkdir()
2683 uni_path_len = (2 * UniStrnlen((wchar_t *)utf16_path, PATH_MAX)) + 2; in smb311_posix_mkdir()
2693 memcpy((char *)copy_path, (const char *)utf16_path, in smb311_posix_mkdir()
2697 kfree(utf16_path); in smb311_posix_mkdir()
2698 utf16_path = copy_path; in smb311_posix_mkdir()
[all …]