Home
last modified time | relevance | path

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

/fs/cifs/
Dlink.c385 __le16 *utf16_path; in smb3_query_mf_symlink() local
397 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_query_mf_symlink()
398 if (utf16_path == NULL) in smb3_query_mf_symlink()
405 kfree(utf16_path); in smb3_query_mf_symlink()
409 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, pfile_info, NULL, in smb3_query_mf_symlink()
431 kfree(utf16_path); in smb3_query_mf_symlink()
445 __le16 *utf16_path; in smb3_create_mf_symlink() local
451 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_create_mf_symlink()
452 if (!utf16_path) in smb3_create_mf_symlink()
464 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb3_create_mf_symlink()
[all …]
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()
Dsmb2ops.c760 __le16 utf16_path = 0; /* Null - since an open of top of share */ in open_cached_dir() local
823 &rqst[0], &oplock, &oparms, &utf16_path); in open_cached_dir()
1039 __le16 *utf16_path; in smb2_is_path_accessible() local
1047 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
1048 if (!utf16_path) in smb2_is_path_accessible()
1058 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL, in smb2_is_path_accessible()
1061 kfree(utf16_path); in smb2_is_path_accessible()
1066 kfree(utf16_path); in smb2_is_path_accessible()
1191 __le16 *utf16_path; in smb2_query_eas() local
1197 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_query_eas()
[all …]
Dsmb2inode.c60 __le16 *utf16_path = NULL; in smb2_compound_op() local
92 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op()
93 if (!utf16_path) { in smb2_compound_op()
111 utf16_path); in smb2_compound_op()
112 kfree(utf16_path); in smb2_compound_op()
Dsmb2pdu.c2594 __le16 *utf16_path = NULL; in smb311_posix_mkdir() local
2600 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb311_posix_mkdir()
2601 if (!utf16_path) in smb311_posix_mkdir()
2647 tcon->treeName, utf16_path); in smb311_posix_mkdir()
2654 kfree(utf16_path); in smb311_posix_mkdir()
2655 utf16_path = copy_path; in smb311_posix_mkdir()
2657 uni_path_len = (2 * UniStrnlen((wchar_t *)utf16_path, PATH_MAX)) + 2; in smb311_posix_mkdir()
2667 memcpy((char *)copy_path, (const char *)utf16_path, in smb311_posix_mkdir()
2671 kfree(utf16_path); in smb311_posix_mkdir()
2672 utf16_path = copy_path; in smb311_posix_mkdir()
[all …]
Dsmb2proto.h284 __le16 *utf16_path, u32 desired_access,