Lines Matching refs:plen
28 u16 len, plen; in smb2_create_reparse_symlink() local
48 plen = 2 * UniStrnlen((wchar_t *)path, PATH_MAX); in smb2_create_reparse_symlink()
49 len = sizeof(*buf) + plen * 2; in smb2_create_reparse_symlink()
58 buf->SubstituteNameOffset = cpu_to_le16(plen); in smb2_create_reparse_symlink()
59 buf->SubstituteNameLength = cpu_to_le16(plen); in smb2_create_reparse_symlink()
60 memcpy(&buf->PathBuffer[plen], path, plen); in smb2_create_reparse_symlink()
62 buf->PrintNameLength = cpu_to_le16(plen); in smb2_create_reparse_symlink()
63 memcpy(buf->PathBuffer, path, plen); in smb2_create_reparse_symlink()
349 u32 plen, bool unicode, in parse_reparse_symlink() argument
360 if (offs + 20 > plen || offs + len + 20 > plen) { in parse_reparse_symlink()
378 u32 plen, struct cifs_sb_info *cifs_sb, in parse_reparse_point() argument
393 plen, unicode, cifs_sb, data); in parse_reparse_point()
414 u32 plen = le32_to_cpu(io->OutputCount); in smb2_parse_reparse_point() local
418 return parse_reparse_point(buf, plen, cifs_sb, true, data); in smb2_parse_reparse_point()