Lines Matching refs:uni_path_len
2773 int uni_path_len; in smb311_posix_mkdir() local
2840 uni_path_len = copy_size; in smb311_posix_mkdir()
2845 uni_path_len = (2 * UniStrnlen((wchar_t *)utf16_path, PATH_MAX)) + 2; in smb311_posix_mkdir()
2847 req->NameLength = cpu_to_le16(uni_path_len - 2); in smb311_posix_mkdir()
2848 if (uni_path_len % 8 != 0) { in smb311_posix_mkdir()
2849 copy_size = roundup(uni_path_len, 8); in smb311_posix_mkdir()
2856 uni_path_len); in smb311_posix_mkdir()
2857 uni_path_len = copy_size; in smb311_posix_mkdir()
2864 iov[1].iov_len = uni_path_len; in smb311_posix_mkdir()
2936 int uni_path_len; in SMB2_open_init() local
2984 uni_path_len = copy_size; in SMB2_open_init()
2987 uni_path_len = (2 * UniStrnlen((wchar_t *)path, PATH_MAX)) + 2; in SMB2_open_init()
2989 req->NameLength = cpu_to_le16(uni_path_len - 2); in SMB2_open_init()
2990 copy_size = round_up(uni_path_len, 8); in SMB2_open_init()
2995 uni_path_len); in SMB2_open_init()
2996 uni_path_len = copy_size; in SMB2_open_init()
3000 iov[1].iov_len = uni_path_len; in SMB2_open_init()