Lines Matching defs:end
675 /* check that offset is not beyond end of SMB */
1965 u8 *end = beg + le32_to_cpu(cc->DataLength);
1975 sid_len = posix_info_sid_size(sid, end);
1983 sid_len = posix_info_sid_size(sid, end);
3869 * smbd_buffer_descriptor_v1 to the end of read request
4298 * smbd_buffer_descriptor_v1 to the end of write request
4482 int posix_info_sid_size(const void *beg, const void *end)
4487 if (beg + 1 > end)
4495 if (beg + total > end)
4501 int posix_info_parse(const void *beg, const void *end,
4512 /* if no end bound given, assume payload to be correct */
4513 if (!end) {
4516 end = beg + le32_to_cpu(p->NextEntryOffset);
4518 if (end == beg)
4519 end += 0xFFFF;
4523 if (beg + sizeof(struct smb2_posix_info) > end)
4529 sid_len = posix_info_sid_size(owner_sid, end);
4536 sid_len = posix_info_sid_size(group_sid, end);
4542 if (beg + total_len + 4 > end)
4551 if (name + name_len > end)
4561 posix_info_sid_size(owner_sid, end));
4563 posix_info_sid_size(group_sid, end));
4568 static int posix_info_extra_size(const void *beg, const void *end)
4570 int len = posix_info_parse(beg, end, NULL);
4612 cifs_dbg(VFS, "directory entry name would overflow frame end of buf %p\n",
4767 cifs_dbg(FYI, "num entries %d last_index %lld srch start %p srch end %p\n",