Lines Matching defs:length

617 	 * Context Data length must be rounded to multiple of 8 for some servers
700 /* In case length corrupted don't want to overrun smb buffer */
701 cifs_server_dbg(VFS, "Bad frame length assembling neg contexts\n");
1031 * 2) Initialize SMB2 command specific fields in fixed length area of SMB
1033 * 4) Decode SMB2 command specific fields in the fixed length area
1034 * 5) Decode variable length data area (if any for this SMB2 command type)
1238 * We just found a server which sets blob length to zero expecting raw.
1439 * a fixed length beginning part, an optional
1440 * SPNEGO blob (which can be zero length), and a
3480 /* We check for obvious errors in the output buffer length and offset */
3484 cifs_tcon_dbg(VFS, "srv returned invalid ioctl length: %d\n", *plen);
3685 cifs_dbg(VFS, "buffer length %d smaller than minimum size %d\n",
3690 /* check if beyond RFC1001 maximum length */
3692 cifs_dbg(VFS, "buffer length %d or smb length %d too large\n",
4381 if (io_parms->length < server->smbd_conn->rdma_readwrite_threshold)
4419 req->Length = cpu_to_le32(io_parms->length);
4425 io_parms->offset, io_parms->length);
4450 v1->length = cpu_to_le32(rdata->mr->mr->length);
4474 if (remaining_bytes > io_parms->length)
4595 io_parms.length = rdata->bytes;
4642 io_parms.offset, io_parms.length, rc);
4693 io_parms->offset, io_parms->length,
4705 io_parms->offset, io_parms->length);
4711 (*nbytes > io_parms->length)) {
4712 cifs_dbg(FYI, "bad length %d for count %d\n",
4713 *nbytes, io_parms->length);
4845 .length = wdata->bytes,
4878 io_parms->length);
4909 v1->length = cpu_to_le32(wdata->mr->mr->length);
4926 io_parms->offset, io_parms->length, iov_iter_count(&rqst.rq_iter));
4931 req->Length = cpu_to_le32(io_parms->length);
4933 req->Length = cpu_to_le32(io_parms->length);
4947 rc = adjust_credits(server, &wdata->credits, io_parms->length);
4964 io_parms->length,
4976 * SMB2_write function gets iov pointer to kvec array with n_vec as a length.
4977 * The length field from io_parms must be at least 1 and indicates a number of
4979 * data length is specified by count.
5024 req->Length = cpu_to_le32(io_parms->length);
5032 io_parms->offset, io_parms->length);
5055 io_parms->offset, io_parms->length, rc);
6064 const __u64 length, const __u64 offset, const __u32 lock_flags,
6070 lock.Length = cpu_to_le64(length);