Lines Matching refs:beg
1964 u8 *beg = (u8 *)cc + le16_to_cpu(cc->DataOffset);
1965 u8 *end = beg + le32_to_cpu(cc->DataLength);
1970 posix->nlink = le32_to_cpu(*(__le32 *)(beg + 0));
1971 posix->reparse_tag = le32_to_cpu(*(__le32 *)(beg + 4));
1972 posix->mode = le32_to_cpu(*(__le32 *)(beg + 8));
1974 sid = beg + 12;
4482 int posix_info_sid_size(const void *beg, const void *end)
4487 if (beg + 1 > end)
4490 subauth = *(u8 *)(beg+1);
4495 if (beg + total > end)
4501 int posix_info_parse(const void *beg, const void *end,
4514 const struct smb2_posix_info *p = beg;
4516 end = beg + le32_to_cpu(p->NextEntryOffset);
4518 if (end == beg)
4523 if (beg + sizeof(struct smb2_posix_info) > end)
4528 owner_sid = beg + total_len;
4535 group_sid = beg + total_len;
4542 if (beg + total_len + 4 > end)
4544 name_len = le32_to_cpu(*(__le32 *)(beg + total_len));
4550 name = beg + total_len;
4556 out->base = beg;
4568 static int posix_info_extra_size(const void *beg, const void *end)
4570 int len = posix_info_parse(beg, end, NULL);