Lines Matching refs:beg

2092 	u8 *beg = (u8 *)cc + le16_to_cpu(cc->DataOffset);  in parse_posix_ctxt()  local
2093 u8 *end = beg + le32_to_cpu(cc->DataLength); in parse_posix_ctxt()
2098 posix->nlink = le32_to_cpu(*(__le32 *)(beg + 0)); in parse_posix_ctxt()
2099 posix->reparse_tag = le32_to_cpu(*(__le32 *)(beg + 4)); in parse_posix_ctxt()
2100 posix->mode = le32_to_cpu(*(__le32 *)(beg + 8)); in parse_posix_ctxt()
2102 sid = beg + 12; in parse_posix_ctxt()
4715 int posix_info_sid_size(const void *beg, const void *end) in posix_info_sid_size() argument
4720 if (beg + 1 > end) in posix_info_sid_size()
4723 subauth = *(u8 *)(beg+1); in posix_info_sid_size()
4728 if (beg + total > end) in posix_info_sid_size()
4734 int posix_info_parse(const void *beg, const void *end, in posix_info_parse() argument
4747 const struct smb2_posix_info *p = beg; in posix_info_parse()
4749 end = beg + le32_to_cpu(p->NextEntryOffset); in posix_info_parse()
4751 if (end == beg) in posix_info_parse()
4756 if (beg + sizeof(struct smb2_posix_info) > end) in posix_info_parse()
4761 owner_sid = beg + total_len; in posix_info_parse()
4768 group_sid = beg + total_len; in posix_info_parse()
4775 if (beg + total_len + 4 > end) in posix_info_parse()
4777 name_len = le32_to_cpu(*(__le32 *)(beg + total_len)); in posix_info_parse()
4783 name = beg + total_len; in posix_info_parse()
4789 out->base = beg; in posix_info_parse()
4799 static int posix_info_extra_size(const void *beg, const void *end) in posix_info_extra_size() argument
4801 int len = posix_info_parse(beg, end, NULL); in posix_info_extra_size()