Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/fs/cifs/
H A Dlink.c397 __le16 *utf16_path; in smb3_query_mf_symlink() local
409 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_query_mf_symlink()
410 if (utf16_path == NULL) in smb3_query_mf_symlink()
417 kfree(utf16_path); in smb3_query_mf_symlink()
421 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, pfile_info, NULL, in smb3_query_mf_symlink()
443 kfree(utf16_path); in smb3_query_mf_symlink()
457 __le16 *utf16_path; in smb3_create_mf_symlink() local
463 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_create_mf_symlink()
464 if (!utf16_path) in smb3_create_mf_symlink()
475 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb3_create_mf_symlink()
[all …]
H A 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, cifs_sb, 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()
H A Dsmb2ops.c687 __le16 utf16_path = 0; /* Null - since an open of top of share */ in open_shroot() local
735 &rqst[0], &oplock, &oparms, &utf16_path); in open_shroot()
930 __le16 *utf16_path; in smb2_is_path_accessible() local
938 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
939 if (!utf16_path) in smb2_is_path_accessible()
949 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL, in smb2_is_path_accessible()
952 kfree(utf16_path); in smb2_is_path_accessible()
957 kfree(utf16_path); in smb2_is_path_accessible()
1082 __le16 *utf16_path; in smb2_query_eas() local
1088 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_query_eas()
[all …]
H A Dsmb2inode.c73 __le16 *utf16_path = NULL; in smb2_compound_op() local
105 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op()
106 if (!utf16_path) { in smb2_compound_op()
124 utf16_path); in smb2_compound_op()
125 kfree(utf16_path); in smb2_compound_op()
H A Dsmb2pdu.c2507 __le16 *utf16_path = NULL; in smb311_posix_mkdir() local
2513 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb311_posix_mkdir()
2514 if (!utf16_path) in smb311_posix_mkdir()
2560 tcon->treeName, utf16_path); in smb311_posix_mkdir()
2567 kfree(utf16_path); in smb311_posix_mkdir()
2568 utf16_path = copy_path; in smb311_posix_mkdir()
2570 uni_path_len = (2 * UniStrnlen((wchar_t *)utf16_path, PATH_MAX)) + 2; in smb311_posix_mkdir()
2580 memcpy((char *)copy_path, (const char *)utf16_path, in smb311_posix_mkdir()
2584 kfree(utf16_path); in smb311_posix_mkdir()
2585 utf16_path = copy_path; in smb311_posix_mkdir()
[all …]
H A Dsmb2proto.h293 __le16 *utf16_path, u32 desired_access,