Lines Matching refs:plen
35 u16 len, plen; in smb2_create_reparse_symlink() local
67 plen = 2 * UniStrnlen((wchar_t *)path, PATH_MAX); in smb2_create_reparse_symlink()
68 len = sizeof(*buf) + plen * 2; in smb2_create_reparse_symlink()
77 buf->SubstituteNameOffset = cpu_to_le16(plen); in smb2_create_reparse_symlink()
78 buf->SubstituteNameLength = cpu_to_le16(plen); in smb2_create_reparse_symlink()
79 memcpy(&buf->PathBuffer[plen], path, plen); in smb2_create_reparse_symlink()
81 buf->PrintNameLength = cpu_to_le16(plen); in smb2_create_reparse_symlink()
82 memcpy(buf->PathBuffer, path, plen); in smb2_create_reparse_symlink()
536 u32 plen, bool unicode, in parse_reparse_symlink() argument
547 if (offs + 20 > plen || offs + len + 20 > plen) { in parse_reparse_symlink()
565 u32 plen, struct cifs_sb_info *cifs_sb, in parse_reparse_point() argument
580 plen, unicode, cifs_sb, data); in parse_reparse_point()
601 u32 plen = le32_to_cpu(io->OutputCount); in smb2_parse_reparse_point() local
605 return parse_reparse_point(buf, plen, cifs_sb, true, data); in smb2_parse_reparse_point()