Lines Matching defs:offset
115 pr_warn_once("Invalid negotiate context offset %d\n", nc_offset);
275 * The size of the variable area depends on the offset and length fields
277 * with no variable length info, show an offset of zero for the offset field.
303 * area and the offset to it (from the beginning of the smb are also returned.
322 * of the data buffer offset and data buffer length for the particular
379 * Invalid length or offset probably means data area is invalid, but
392 /* return pointer to beginning of data area, ie offset from SMB start */
407 int offset; /* the offset from the beginning of SMB to data area */
421 smb2_get_data_area_len(&offset, &data_length, shdr);
422 cifs_dbg(FYI, "SMB2 data length %d offset %d\n", data_length, offset);
431 if (offset + 1 < len) {
432 cifs_dbg(VFS, "data area offset %d overlaps SMB2 header %d\n",
433 offset + 1, len);
436 len = offset + data_length;