Lines Matching refs:length

959 		pr_err("Invalid SMB2_SIGNING_CAPABILITIES context length\n");
2309 * @buf_len: set info command buffer length
4458 * @reqOutputBufferLength: max buffer length expected in command response
4459 * @rsp: query info response buffer contains output buffer length
6512 pr_info("RDMA r/w request %#x: token %#x, length %#x\n",
6515 le32_to_cpu(desc[i].length));
6530 size_t length)
6534 err = ksmbd_conn_rdma_write(work->conn, data_buf, length,
6541 return length;
6557 size_t length, mincount;
6625 length = le32_to_cpu(req->Length);
6628 if (length > max_read_size) {
6636 fp->filp, offset, length);
6638 aux_payload_buf = kvzalloc(length, GFP_KERNEL);
6644 nbytes = ksmbd_vfs_read(work, fp, length, &offset, aux_payload_buf);
6650 if ((nbytes == 0 && length != 0) || nbytes < mincount) {
6728 size_t length;
6732 length = le32_to_cpu(req->Length);
6735 if ((u64)le16_to_cpu(req->DataOffset) + length >
6747 rpc_resp = ksmbd_rpc_write(work->sess, id, data_buf, length);
6767 rsp->DataLength = cpu_to_le32(length);
6784 loff_t offset, size_t length, bool sync)
6790 data_buf = kvzalloc(length, GFP_KERNEL);
6794 ret = ksmbd_conn_rdma_read(work->conn, data_buf, length,
6803 ret = ksmbd_vfs_write(work, fp, data_buf, length, &offset, sync, &nbytes);
6823 size_t length;
6838 length = le32_to_cpu(req->Length);
6844 length = le32_to_cpu(req->RemainingBytes);
6882 if (length > max_write_size) {
6904 fp->filp, offset, length);
6905 err = ksmbd_vfs_write(work, fp, data_buf, length, &offset,
6913 nbytes = smb2_write_rdma_channel(work, req, fp, offset, length,
7801 loff_t start, length;
7809 length = le64_to_cpu(qar_req->length);
7811 if (start < 0 || length < 0)
7818 ret = ksmbd_vfs_fqar_lseek(fp, start, length,
8185 loff_t src_off, dst_off, length, cloned;
8211 length = le64_to_cpu(dup_ext->ByteCount);
8222 fp_out->filp, dst_off, length, 0);
8226 } else if (cloned != length) {
8229 length, 0);
8230 if (cloned != length) {