Lines Matching refs:utf16_path

618 	__le16 *utf16_path;  in smb2_is_path_accessible()  local
626 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
627 if (!utf16_path) in smb2_is_path_accessible()
640 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL); in smb2_is_path_accessible()
642 kfree(utf16_path); in smb2_is_path_accessible()
647 kfree(utf16_path); in smb2_is_path_accessible()
771 __le16 *utf16_path; in smb2_query_eas() local
778 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_query_eas()
779 if (!utf16_path) in smb2_query_eas()
792 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL); in smb2_query_eas()
793 kfree(utf16_path); in smb2_query_eas()
849 __le16 *utf16_path; in smb2_set_ea() local
860 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_set_ea()
861 if (!utf16_path) in smb2_set_ea()
874 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL); in smb2_set_ea()
875 kfree(utf16_path); in smb2_set_ea()
1453 __le16 *utf16_path; in smb2_query_dir_first() local
1458 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_query_dir_first()
1459 if (!utf16_path) in smb2_query_dir_first()
1472 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL); in smb2_query_dir_first()
1473 kfree(utf16_path); in smb2_query_dir_first()
1755 __le16 *utf16_path = NULL; in smb2_get_dfs_refer() local
1785 utf16_path = cifs_strndup_to_utf16(search_name, PATH_MAX, in smb2_get_dfs_refer()
1788 if (!utf16_path) { in smb2_get_dfs_refer()
1804 memcpy(dfs_req->RequestFileName, utf16_path, utf16_path_len); in smb2_get_dfs_refer()
1836 kfree(utf16_path); in smb2_get_dfs_refer()
1850 __le16 *utf16_path; in smb2_query_symlink() local
1865 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_query_symlink()
1866 if (!utf16_path) in smb2_query_symlink()
1879 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, &err_iov, in smb2_query_symlink()
1925 kfree(utf16_path); in smb2_query_symlink()
1970 __le16 *utf16_path; in get_smb2_acl_by_path() local
1984 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in get_smb2_acl_by_path()
1985 if (!utf16_path) { in get_smb2_acl_by_path()
1997 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL); in get_smb2_acl_by_path()
1998 kfree(utf16_path); in get_smb2_acl_by_path()
2027 __le16 *utf16_path; in set_smb2_acl() local
2046 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in set_smb2_acl()
2047 if (!utf16_path) { in set_smb2_acl()
2060 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL); in set_smb2_acl()
2061 kfree(utf16_path); in set_smb2_acl()