Home
last modified time | relevance | path

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

/linux-6.6.21/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()
242 &rqst[0], &oplock, &oparms, utf16_path); in open_cached_dir()
369 kfree(utf16_path); in open_cached_dir()
Dsmb2ops.c884 __le16 *utf16_path; in smb2_is_path_accessible() local
903 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
904 if (!utf16_path) in smb2_is_path_accessible()
916 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb2_is_path_accessible()
944 kfree(utf16_path); in smb2_is_path_accessible()
1114 __le16 *utf16_path = NULL; in smb2_set_ea() local
1134 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_set_ea()
1135 if (!utf16_path) in smb2_set_ea()
1203 &rqst[0], &oplock, &oparms, utf16_path); in smb2_set_ea()
1262 kfree(utf16_path); in smb2_set_ea()
[all …]
Dsmb2inode.c69 __le16 *utf16_path = NULL; in smb2_compound_op() local
102 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op()
103 if (!utf16_path) { in smb2_compound_op()
123 utf16_path); in smb2_compound_op()
124 kfree(utf16_path); in smb2_compound_op()
Dsmb2pdu.c2782 __le16 *utf16_path = NULL; in smb311_posix_mkdir() local
2788 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb311_posix_mkdir()
2789 if (!utf16_path) in smb311_posix_mkdir()
2835 tcon->tree_name, utf16_path); in smb311_posix_mkdir()
2842 kfree(utf16_path); in smb311_posix_mkdir()
2843 utf16_path = copy_path; in smb311_posix_mkdir()
2845 uni_path_len = (2 * UniStrnlen((wchar_t *)utf16_path, PATH_MAX)) + 2; in smb311_posix_mkdir()
2855 memcpy((char *)copy_path, (const char *)utf16_path, in smb311_posix_mkdir()
2859 kfree(utf16_path); in smb311_posix_mkdir()
2860 utf16_path = copy_path; in smb311_posix_mkdir()
[all …]