Home
last modified time | relevance | path

Searched refs:utf16_path (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/fs/smb/client/
H A Dlink.c356 __le16 *utf16_path; in smb3_query_mf_symlink() local
370 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_query_mf_symlink()
371 if (utf16_path == NULL) in smb3_query_mf_symlink()
378 kfree(utf16_path); in smb3_query_mf_symlink()
382 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, pfile_info, NULL, in smb3_query_mf_symlink()
404 kfree(utf16_path); in smb3_query_mf_symlink()
418 __le16 *utf16_path; in smb3_create_mf_symlink() local
424 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb3_create_mf_symlink()
425 if (!utf16_path) in smb3_create_mf_symlink()
439 rc = SMB2_open(xid, &oparms, utf16_path, in smb3_create_mf_symlink()
[all...]
H A 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()
H A Dcached_dir.c141 __le16 *utf16_path = NULL; in open_cached_dir() local
163 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in open_cached_dir()
164 if (!utf16_path) in open_cached_dir()
169 kfree(utf16_path); in open_cached_dir()
181 kfree(utf16_path); in open_cached_dir()
242 &rqst[0], &oplock, &oparms, utf16_path); in open_cached_dir()
369 kfree(utf16_path); in open_cached_dir()
H A Dsmb2ops.c884 __le16 *utf16_path; in smb2_is_path_accessible() local
903 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
904 if (!utf16_path) in smb2_is_path_accessible()
916 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, in smb2_is_path_accessible()
944 kfree(utf16_path); in smb2_is_path_accessible()
1114 __le16 *utf16_path = NULL; in smb2_set_ea() local
1134 utf16_path = cifs_convert_path_to_utf16(path, cifs_sb); in smb2_set_ea()
1135 if (!utf16_path) in smb2_set_ea()
1203 &rqst[0], &oplock, &oparms, utf16_path); in smb2_set_ea()
1262 kfree(utf16_path); in smb2_set_ea()
2146 __le16 *utf16_path = NULL; smb3_notify() local
2220 __le16 *utf16_path; smb2_query_dir_first() local
2555 __le16 *utf16_path; smb2_query_info_compound() local
2787 __le16 *utf16_path = NULL; smb2_get_dfs_refer() local
3005 __le16 *utf16_path = NULL; smb2_query_reparse_point() local
3176 __le16 *utf16_path; get_smb2_acl_by_path() local
3242 __le16 *utf16_path; set_smb2_acl() local
[all...]
H A Dsmb2inode.c69 __le16 *utf16_path = NULL; in smb2_compound_op() local
102 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_compound_op()
103 if (!utf16_path) { in smb2_compound_op()
123 utf16_path); in smb2_compound_op()
124 kfree(utf16_path); in smb2_compound_op()
H A Dsmb2pdu.c2787 __le16 *utf16_path = NULL; in smb311_posix_mkdir() local
2793 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb311_posix_mkdir()
2794 if (!utf16_path) in smb311_posix_mkdir()
2840 tcon->tree_name, utf16_path); in smb311_posix_mkdir()
2847 kfree(utf16_path); in smb311_posix_mkdir()
2848 utf16_path = copy_path; in smb311_posix_mkdir()
2850 uni_path_len = (2 * UniStrnlen((wchar_t *)utf16_path, PATH_MAX)) + 2; in smb311_posix_mkdir()
2860 memcpy((char *)copy_path, (const char *)utf16_path, in smb311_posix_mkdir()
2864 kfree(utf16_path); in smb311_posix_mkdir()
2865 utf16_path in smb311_posix_mkdir()
[all...]
/kernel/linux/linux-5.10/fs/cifs/
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 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()
476 rc = SMB2_open(xid, &oparms, utf16_path, in smb3_create_mf_symlink()
[all...]
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()
931 __le16 *utf16_path; in smb2_is_path_accessible() local
939 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb2_is_path_accessible()
940 if (!utf16_path) in smb2_is_path_accessible()
950 rc = SMB2_open(xid, &oparms, utf16_path, &oplock, NULL, NULL, NULL, in smb2_is_path_accessible()
953 kfree(utf16_path); in smb2_is_path_accessible()
958 kfree(utf16_path); in smb2_is_path_accessible()
1083 __le16 *utf16_path; in smb2_query_eas() local
1089 utf16_path in smb2_query_eas()
1140 __le16 *utf16_path = NULL; smb2_set_ea() local
2183 __le16 *utf16_path = NULL; smb3_notify() local
2236 __le16 *utf16_path; smb2_query_dir_first() local
2505 smb2_query_info_compound(const unsigned int xid, struct cifs_tcon *tcon, __le16 *utf16_path, u32 desired_access, u32 class, u32 type, u32 output_len, struct kvec *rsp, int *buftype, struct cifs_sb_info *cifs_sb) smb2_query_info_compound() argument
2603 __le16 utf16_path = 0; /* Null - open root of share */ smb2_queryfs() local
2710 __le16 *utf16_path = NULL; smb2_get_dfs_refer() local
2900 __le16 *utf16_path = NULL; smb2_query_symlink() local
3088 __le16 *utf16_path = NULL; smb2_query_reparse_tag() local
3254 __le16 *utf16_path; get_smb2_acl_by_path() local
3312 __le16 *utf16_path; set_smb2_acl() local
[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.c2511 __le16 *utf16_path = NULL; in smb311_posix_mkdir() local
2517 utf16_path = cifs_convert_path_to_utf16(full_path, cifs_sb); in smb311_posix_mkdir()
2518 if (!utf16_path) in smb311_posix_mkdir()
2564 tcon->treeName, utf16_path); in smb311_posix_mkdir()
2571 kfree(utf16_path); in smb311_posix_mkdir()
2572 utf16_path = copy_path; in smb311_posix_mkdir()
2574 uni_path_len = (2 * UniStrnlen((wchar_t *)utf16_path, PATH_MAX)) + 2; in smb311_posix_mkdir()
2584 memcpy((char *)copy_path, (const char *)utf16_path, in smb311_posix_mkdir()
2588 kfree(utf16_path); in smb311_posix_mkdir()
2589 utf16_path in smb311_posix_mkdir()
[all...]
H A Dsmb2proto.h293 __le16 *utf16_path, u32 desired_access,

Completed in 27 milliseconds