Lines Matching refs:beg
2262 u8 *beg = (u8 *)cc + le16_to_cpu(cc->DataOffset);
2263 u8 *end = beg + le32_to_cpu(cc->DataLength);
2268 posix->nlink = le32_to_cpu(*(__le32 *)(beg + 0));
2269 posix->reparse_tag = le32_to_cpu(*(__le32 *)(beg + 4));
2270 posix->mode = le32_to_cpu(*(__le32 *)(beg + 8));
2272 sid = beg + 12;
4921 int posix_info_sid_size(const void *beg, const void *end)
4926 if (beg + 1 > end)
4929 subauth = *(u8 *)(beg+1);
4934 if (beg + total > end)
4940 int posix_info_parse(const void *beg, const void *end,
4953 const struct smb2_posix_info *p = beg;
4955 end = beg + le32_to_cpu(p->NextEntryOffset);
4957 if (end == beg)
4962 if (beg + sizeof(struct smb2_posix_info) > end)
4967 owner_sid = beg + total_len;
4974 group_sid = beg + total_len;
4981 if (beg + total_len + 4 > end)
4983 name_len = le32_to_cpu(*(__le32 *)(beg + total_len));
4989 name = beg + total_len;
4995 out->base = beg;
5005 static int posix_info_extra_size(const void *beg, const void *end)
5007 int len = posix_info_parse(beg, end, NULL);