Home
last modified time | relevance | path

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

/fs/cifs/
Dsmb2pdu.c1080 int unc_path_len; in SMB2_tcon() local
1101 unc_path_len = cifs_strtoUTF16(unc_path, tree, strlen(tree), cp) + 1; in SMB2_tcon()
1102 unc_path_len *= 2; in SMB2_tcon()
1103 if (unc_path_len < 2) { in SMB2_tcon()
1132 req->PathLength = cpu_to_le16(unc_path_len - 2); in SMB2_tcon()
1134 iov[1].iov_len = unc_path_len; in SMB2_tcon()
1136 inc_rfc1001_len(req, unc_path_len - 1 /* pad */); in SMB2_tcon()