Lines Matching refs:cpu_to_le32

107 	hdr->ProcessId = cpu_to_le32((__u16)current->tgid);  in smb2_hdr_assemble()
348 req->NegotiateContextOffset = cpu_to_le32(OFFSET_OF_NEG_CONTEXT); in assemble_neg_contexts()
415 req->Capabilities = cpu_to_le32(ses->server->vals->req_capabilities); in SMB2_negotiate()
525 cpu_to_le32(tcon->ses->server->vals->req_capabilities); in smb3_validate_negotiate()
1069 buf->ccontext.DataLength = cpu_to_le32(16); in create_durable_buf()
1092 buf->ccontext.DataLength = cpu_to_le32(16); in create_reconnect_durable_buf()
1148 req->CreateContextsOffset = cpu_to_le32( in add_lease_context()
1169 buf->ccontext.DataLength = cpu_to_le32(sizeof(struct durable_context_v2)); in create_durable_v2_buf()
1175 buf->dcontext.Flags = cpu_to_le32(SMB2_DHANDLE_FLAG_PERSISTENT); in create_durable_v2_buf()
1201 cpu_to_le32(sizeof(struct durable_reconnect_context_v2)); in create_reconnect_durable_v2_buf()
1209 buf->dcontext.Flags = cpu_to_le32(SMB2_DHANDLE_FLAG_PERSISTENT); in create_reconnect_durable_v2_buf()
1233 cpu_to_le32(sizeof(struct smb2_create_req) - 4 + in add_durable_v2_context()
1257 cpu_to_le32(sizeof(struct smb2_create_req) - 4 + in add_durable_reconnect_v2_context()
1293 cpu_to_le32(sizeof(struct smb2_create_req) - 4 + in add_durable_context()
1338 req->DesiredAccess = cpu_to_le32(oparms->desired_access); in SMB2_open()
1340 req->FileAttributes = cpu_to_le32(file_attributes); in SMB2_open()
1342 req->CreateDisposition = cpu_to_le32(oparms->disposition); in SMB2_open()
1343 req->CreateOptions = cpu_to_le32(oparms->create_options & CREATE_OPTIONS_MASK); in SMB2_open()
1397 cpu_to_le32(server->vals->create_lease_size); in SMB2_open()
1430 buf->NumberOfLinks = cpu_to_le32(1); in SMB2_open()
1486 req->CtlCode = cpu_to_le32(opcode); in SMB2_ioctl()
1491 req->InputCount = cpu_to_le32(indatalen); in SMB2_ioctl()
1494 cpu_to_le32(offsetof(struct smb2_ioctl_req, Buffer) - 4); in SMB2_ioctl()
1510 req->MaxOutputResponse = cpu_to_le32(0xFF00); /* < 64K uses 1 credit */ in SMB2_ioctl()
1513 req->Flags = cpu_to_le32(SMB2_0_IOCTL_IS_FSCTL); in SMB2_ioctl()
1745 req->OutputBufferLength = cpu_to_le32(output_len); in query_info()
1897 req->hdr.ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req()
1905 req->Length = cpu_to_le32(io_parms->length); in smb2_new_read_req()
1912 cpu_to_le32(get_rfc1002_length(req) + 4); in smb2_new_read_req()
1928 req->RemainingBytes = cpu_to_le32(remaining_bytes); in smb2_new_read_req()
2193 req->hdr.ProcessId = cpu_to_le32(wdata->cfile->pid); in smb2_async_writev()
2220 req->Length = cpu_to_le32(wdata->bytes); in smb2_async_writev()
2275 req->hdr.ProcessId = cpu_to_le32(io_parms->pid); in SMB2_write()
2282 req->Length = cpu_to_le32(io_parms->length); in SMB2_write()
2397 req->FileIndex = cpu_to_le32(index); in SMB2_query_directory()
2414 req->OutputBufferLength = cpu_to_le32(output_size); in SMB2_query_directory()
2509 req->hdr.ProcessId = cpu_to_le32(pid); in send_set_info()
2519 req->BufferLength = cpu_to_le32(*size); in send_set_info()
2564 info.FileNameLength = cpu_to_le32(len); in SMB2_rename()
2612 info.FileNameLength = cpu_to_le32(len); in SMB2_set_hardlink()
2723 req->OutputBufferLength = cpu_to_le32( in build_qfs_info_req()
2849 req->hdr.ProcessId = cpu_to_le32(pid); in smb2_lockv()
2884 lock.Flags = cpu_to_le32(lock_flags); in SMB2_lock()
2886 lock.Flags |= cpu_to_le32(SMB2_LOCKFLAG_FAIL_IMMEDIATELY); in SMB2_lock()