Home
last modified time | relevance | path

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

/Linux-v5.4/fs/cifs/
Dioctl.c46 __le16 *utf16_path = NULL, root_path; in cifs_ioctl_query_info() local
57 utf16_path = &root_path; in cifs_ioctl_query_info()
59 utf16_path = cifs_convert_path_to_utf16(path + 1, cifs_sb); in cifs_ioctl_query_info()
60 if (!utf16_path) { in cifs_ioctl_query_info()
68 xid, tcon, utf16_path, in cifs_ioctl_query_info()
74 if (utf16_path != &root_path) in cifs_ioctl_query_info()
75 kfree(utf16_path); in cifs_ioctl_query_info()
Dlink.c398 __le16 *utf16_path; in smb3_query_mf_symlink() local
412 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_query_mf_symlink()
413 if (utf16_path == NULL) in smb3_query_mf_symlink()
420 kfree(utf16_path); in smb3_query_mf_symlink()
424 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, pfile_info, NULL, in smb3_query_mf_symlink()
446 kfree(utf16_path); in smb3_query_mf_symlink()
461 __le16 *utf16_path; in smb3_create_mf_symlink() local
470 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_create_mf_symlink()
471 if (!utf16_path) in smb3_create_mf_symlink()
482 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb3_create_mf_symlink()
[all …]
Dsmb2ops.c649 __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()
[all …]
Dsmb2inode.c58 __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()
112 utf16_path); in smb2_compound_op()
113 kfree(utf16_path); in smb2_compound_op()
Dsmb2pdu.c2260 __le16 *utf16_path = NULL; in smb311_posix_mkdir() local
2265 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb311_posix_mkdir()
2266 if (!utf16_path) in smb311_posix_mkdir()
2311 tcon->treeName, utf16_path); in smb311_posix_mkdir()
2318 kfree(utf16_path); in smb311_posix_mkdir()
2319 utf16_path = copy_path; in smb311_posix_mkdir()
2321 uni_path_len = (2 * UniStrnlen((wchar_t *)utf16_path, PATH_MAX)) + 2; in smb311_posix_mkdir()
2331 memcpy((char *)copy_path, (const char *)utf16_path, in smb311_posix_mkdir()
2335 kfree(utf16_path); in smb311_posix_mkdir()
2336 utf16_path = copy_path; in smb311_posix_mkdir()
[all …]
Dsmb2proto.h259 __le16 *utf16_path, u32 desired_access,