Lines Matching refs:utf16_path

649 	__le16 utf16_path = 0; /* Null - since an open of top of share */  in open_shroot()  local
689 rc = SMB2_open_init(tcon, &rqst[0], &oplock, &oparms, &utf16_path); in open_shroot()
871 __le16 *utf16_path; in smb2_is_path_accessible() local
879 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
880 if (!utf16_path) in smb2_is_path_accessible()
893 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL); in smb2_is_path_accessible()
895 kfree(utf16_path); in smb2_is_path_accessible()
900 kfree(utf16_path); in smb2_is_path_accessible()
1024 __le16 *utf16_path; in smb2_query_eas() local
1030 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_query_eas()
1031 if (!utf16_path) in smb2_query_eas()
1034 rc = smb2_query_info_compound(xid, tcon, utf16_path, in smb2_query_eas()
1067 kfree(utf16_path); in smb2_query_eas()
1080 __le16 *utf16_path = NULL; in smb2_set_ea() local
1104 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_set_ea()
1105 if (!utf16_path) in smb2_set_ea()
1138 rc = SMB2_open_init(tcon, &rqst[0], &oplock, &oparms, utf16_path); in smb2_set_ea()
1185 kfree(utf16_path); in smb2_set_ea()
1998 __le16 *utf16_path; in smb2_query_dir_first() local
2003 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_query_dir_first()
2004 if (!utf16_path) in smb2_query_dir_first()
2017 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL); in smb2_query_dir_first()
2018 kfree(utf16_path); in smb2_query_dir_first()
2182 __le16 *utf16_path, u32 desired_access, in smb2_query_info_compound() argument
2221 rc = SMB2_open_init(tcon, &rqst[0], &oplock, &oparms, utf16_path); in smb2_query_info_compound()
2277 __le16 utf16_path = 0; /* Null - open root of share */ in smb2_queryfs() local
2283 rc = smb2_query_info_compound(xid, tcon, &utf16_path, in smb2_queryfs()
2383 __le16 *utf16_path = NULL; in smb2_get_dfs_refer() local
2413 utf16_path = cifs_strndup_to_utf16(search_name, PATH_MAX, in smb2_get_dfs_refer()
2416 if (!utf16_path) { in smb2_get_dfs_refer()
2432 memcpy(dfs_req->RequestFileName, utf16_path, utf16_path_len); in smb2_get_dfs_refer()
2464 kfree(utf16_path); in smb2_get_dfs_refer()
2572 __le16 *utf16_path = NULL; in smb2_query_symlink() local
2606 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_query_symlink()
2607 if (!utf16_path) in smb2_query_symlink()
2630 rc = SMB2_open_init(tcon, &rqst[0], &oplock, &oparms, utf16_path); in smb2_query_symlink()
2743 kfree(utf16_path); in smb2_query_symlink()
2793 __le16 *utf16_path; in get_smb2_acl_by_path() local
2807 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in get_smb2_acl_by_path()
2808 if (!utf16_path) { in get_smb2_acl_by_path()
2820 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL); in get_smb2_acl_by_path()
2821 kfree(utf16_path); in get_smb2_acl_by_path()
2849 __le16 *utf16_path; in set_smb2_acl() local
2868 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in set_smb2_acl()
2869 if (!utf16_path) { in set_smb2_acl()
2882 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL); in set_smb2_acl()
2883 kfree(utf16_path); in set_smb2_acl()