Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/client/
H A Dlink.c344 __le16 *utf16_path; in smb3_query_mf_symlink() local
358 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_query_mf_symlink()
359 if (utf16_path == NULL) in smb3_query_mf_symlink()
366 kfree(utf16_path); in smb3_query_mf_symlink()
370 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, pfile_info, NULL, in smb3_query_mf_symlink()
392 kfree(utf16_path); in smb3_query_mf_symlink()
406 __le16 *utf16_path; in smb3_create_mf_symlink() local
412 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_create_mf_symlink()
413 if (!utf16_path) in smb3_create_mf_symlink()
427 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 Dsmb2ops.c886 __le16 *utf16_path; in smb2_is_path_accessible() local
905 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
906 if (!utf16_path) in smb2_is_path_accessible()
918 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb2_is_path_accessible()
946 kfree(utf16_path); in smb2_is_path_accessible()
1116 __le16 *utf16_path = NULL; in smb2_set_ea() local
1143 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_set_ea()
1144 if (!utf16_path) in smb2_set_ea()
1214 &rqst[0], &oplock, &oparms, utf16_path); in smb2_set_ea()
1279 kfree(utf16_path); in smb2_set_ea()
[all …]
H A Dcached_dir.c156 __le16 *utf16_path = NULL; in open_cached_dir() local
184 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in open_cached_dir()
185 if (!utf16_path) in open_cached_dir()
190 kfree(utf16_path); in open_cached_dir()
202 kfree(utf16_path); in open_cached_dir()
266 &rqst[0], &oplock, &oparms, utf16_path); in open_cached_dir()
380 kfree(utf16_path); in open_cached_dir()
H A Dsmb2inode.c191 __le16 *utf16_path = NULL; in smb2_compound_op() local
225 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op()
226 if (!utf16_path) { in smb2_compound_op()
258 utf16_path); in smb2_compound_op()
259 kfree(utf16_path); in smb2_compound_op()
H A Dsmb2pdu.c2834 __le16 *utf16_path = NULL; in smb311_posix_mkdir() local
2847 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb311_posix_mkdir()
2848 if (!utf16_path) in smb311_posix_mkdir()
2894 tcon->tree_name, utf16_path); in smb311_posix_mkdir()
2901 kfree(utf16_path); in smb311_posix_mkdir()
2902 utf16_path = copy_path; in smb311_posix_mkdir()
2904 uni_path_len = (2 * UniStrnlen((wchar_t *)utf16_path, PATH_MAX)) + 2; in smb311_posix_mkdir()
2914 memcpy((char *)copy_path, (const char *)utf16_path, in smb311_posix_mkdir()
2918 kfree(utf16_path); in smb311_posix_mkdir()
2919 utf16_path = copy_path; in smb311_posix_mkdir()
[all …]