Home
last modified time | relevance | path

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

/linux/fs/smb/client/
H A Dlink.c322 __le16 *utf16_path; in smb3_query_mf_symlink() local
336 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_query_mf_symlink()
337 if (utf16_path == NULL) in smb3_query_mf_symlink()
344 kfree(utf16_path); in smb3_query_mf_symlink()
348 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, pfile_info, NULL, in smb3_query_mf_symlink()
370 kfree(utf16_path); in smb3_query_mf_symlink()
384 __le16 *utf16_path; in smb3_create_mf_symlink() local
390 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_create_mf_symlink()
391 if (!utf16_path) in smb3_create_mf_symlink()
405 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb3_create_mf_symlink()
[all …]
H A 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()
H A Dsmb2inode.c195 __le16 *utf16_path = NULL; in smb2_compound_op() local
231 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op()
232 if (!utf16_path) { in smb2_compound_op()
264 utf16_path); in smb2_compound_op()
265 kfree(utf16_path); in smb2_compound_op()
1182 __le16 *utf16_path __free(kfree) = NULL; in smb2_unlink()
1197 utf16_path = cifs_convert_path_to_utf16(name, cifs_sb); in smb2_unlink()
1198 if (!utf16_path) in smb2_unlink()
1228 &rqst[0], &oplock, &oparms, utf16_path); in smb2_unlink()
1559 __le16 *utf16_path __free(kfree) = NULL; in smb2_rename_pending_delete()
[all …]
H A Dcached_dir.c150 __le16 *utf16_path = NULL; in open_cached_dir() local
181 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in open_cached_dir()
182 if (!utf16_path) in open_cached_dir()
189 kfree(utf16_path); in open_cached_dir()
201 kfree(utf16_path); in open_cached_dir()
286 &rqst[0], &oplock, &oparms, utf16_path); in open_cached_dir()
401 kfree(utf16_path); in open_cached_dir()
H A Dsmb2ops.c945 __le16 *utf16_path; in smb2_is_path_accessible() local
961 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
962 if (!utf16_path) in smb2_is_path_accessible()
974 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb2_is_path_accessible()
1002 kfree(utf16_path); in smb2_is_path_accessible()
1174 __le16 *utf16_path = NULL; in smb2_set_ea() local
1201 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_set_ea()
1202 if (!utf16_path) in smb2_set_ea()
1272 &rqst[0], &oplock, &oparms, utf16_path); in smb2_set_ea()
1337 kfree(utf16_path); in smb2_set_ea()
[all …]
H A Dsmb2pdu.c2905 __le16 *utf16_path = NULL; in smb311_posix_mkdir() local
2918 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb311_posix_mkdir()
2919 if (!utf16_path) in smb311_posix_mkdir()
2965 tcon->tree_name, utf16_path); in smb311_posix_mkdir()
2972 kfree(utf16_path); in smb311_posix_mkdir()
2973 utf16_path = copy_path; in smb311_posix_mkdir()
2975 uni_path_len = (2 * UniStrnlen((wchar_t *)utf16_path, PATH_MAX)) + 2; in smb311_posix_mkdir()
2985 memcpy((char *)copy_path, (const char *)utf16_path, in smb311_posix_mkdir()
2989 kfree(utf16_path); in smb311_posix_mkdir()
2990 utf16_path = copy_path; in smb311_posix_mkdir()
[all …]