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.c321 __le16 *utf16_path; in smb3_query_mf_symlink() local
335 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_query_mf_symlink()
336 if (utf16_path == NULL) in smb3_query_mf_symlink()
343 kfree(utf16_path); in smb3_query_mf_symlink()
347 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, pfile_info, NULL, in smb3_query_mf_symlink()
369 kfree(utf16_path); in smb3_query_mf_symlink()
383 __le16 *utf16_path; in smb3_create_mf_symlink() local
389 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_create_mf_symlink()
390 if (!utf16_path) in smb3_create_mf_symlink()
404 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb3_create_mf_symlink()
[all …]
H A Dioctl.c34 __le16 *utf16_path = NULL, root_path; in cifs_ioctl_query_info() local
47 utf16_path = &root_path; in cifs_ioctl_query_info()
49 utf16_path = cifs_convert_path_to_utf16(path + 1, cifs_sb); in cifs_ioctl_query_info()
50 if (!utf16_path) { in cifs_ioctl_query_info()
58 xid, tcon, cifs_sb, utf16_path, in cifs_ioctl_query_info()
64 if (utf16_path != &root_path) in cifs_ioctl_query_info()
65 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()
1190 __le16 *utf16_path __free(kfree) = NULL; in smb2_unlink()
1205 utf16_path = cifs_convert_path_to_utf16(name, cifs_sb); in smb2_unlink()
1206 if (!utf16_path) in smb2_unlink()
1237 &rqst[0], &oplock, &oparms, utf16_path); in smb2_unlink()
1571 __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()
405 kfree(utf16_path); in open_cached_dir()
H A Dsmb2ops.c951 __le16 *utf16_path; in smb2_is_path_accessible() local
967 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
968 if (!utf16_path) in smb2_is_path_accessible()
980 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb2_is_path_accessible()
1008 kfree(utf16_path); in smb2_is_path_accessible()
1180 __le16 *utf16_path = NULL; in smb2_set_ea() local
1208 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_set_ea()
1209 if (!utf16_path) in smb2_set_ea()
1279 &rqst[0], &oplock, &oparms, utf16_path); in smb2_set_ea()
1347 kfree(utf16_path); in smb2_set_ea()
[all …]
H A Dsmb2pdu.c2901 __le16 *utf16_path = NULL; in smb311_posix_mkdir() local
2915 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb311_posix_mkdir()
2916 if (!utf16_path) in smb311_posix_mkdir()
2962 tcon->tree_name, utf16_path); in smb311_posix_mkdir()
2969 kfree(utf16_path); in smb311_posix_mkdir()
2970 utf16_path = copy_path; in smb311_posix_mkdir()
2972 uni_path_len = (2 * UniStrnlen((wchar_t *)utf16_path, PATH_MAX)) + 2; in smb311_posix_mkdir()
2982 memcpy((char *)copy_path, (const char *)utf16_path, in smb311_posix_mkdir()
2986 kfree(utf16_path); in smb311_posix_mkdir()
2987 utf16_path = copy_path; in smb311_posix_mkdir()
[all …]