Lines Matching refs:cpu_to_le32
107 hdr->ProcessId = cpu_to_le32((__u16)current->tgid); in smb2_hdr_assemble()
362 req->Capabilities = cpu_to_le32(ses->server->vals->req_capabilities); in SMB2_negotiate()
466 cpu_to_le32(tcon->ses->server->vals->req_capabilities); in smb3_validate_negotiate()
1002 buf->ccontext.DataLength = cpu_to_le32(16); in create_durable_buf()
1025 buf->ccontext.DataLength = cpu_to_le32(16); in create_reconnect_durable_buf()
1081 req->CreateContextsOffset = cpu_to_le32( in add_lease_context()
1109 cpu_to_le32(sizeof(struct smb2_create_req) - 4 + in add_durable_context()
1154 req->DesiredAccess = cpu_to_le32(oparms->desired_access); in SMB2_open()
1156 req->FileAttributes = cpu_to_le32(file_attributes); in SMB2_open()
1158 req->CreateDisposition = cpu_to_le32(oparms->disposition); in SMB2_open()
1159 req->CreateOptions = cpu_to_le32(oparms->create_options & CREATE_OPTIONS_MASK); in SMB2_open()
1213 cpu_to_le32(server->vals->create_lease_size); in SMB2_open()
1244 buf->NumberOfLinks = cpu_to_le32(1); in SMB2_open()
1300 req->CtlCode = cpu_to_le32(opcode); in SMB2_ioctl()
1305 req->InputCount = cpu_to_le32(indatalen); in SMB2_ioctl()
1308 cpu_to_le32(offsetof(struct smb2_ioctl_req, Buffer) - 4); in SMB2_ioctl()
1324 req->MaxOutputResponse = cpu_to_le32(0xFF00); /* < 64K uses 1 credit */ in SMB2_ioctl()
1327 req->Flags = cpu_to_le32(SMB2_0_IOCTL_IS_FSCTL); in SMB2_ioctl()
1559 req->OutputBufferLength = cpu_to_le32(output_len); in query_info()
1709 req->hdr.ProcessId = cpu_to_le32(io_parms->pid); in smb2_new_read_req()
1717 req->Length = cpu_to_le32(io_parms->length); in smb2_new_read_req()
1724 cpu_to_le32(get_rfc1002_length(req) + 4); in smb2_new_read_req()
1740 req->RemainingBytes = cpu_to_le32(remaining_bytes); in smb2_new_read_req()
2000 req->hdr.ProcessId = cpu_to_le32(wdata->cfile->pid); in smb2_async_writev()
2027 req->Length = cpu_to_le32(wdata->bytes); in smb2_async_writev()
2082 req->hdr.ProcessId = cpu_to_le32(io_parms->pid); in SMB2_write()
2089 req->Length = cpu_to_le32(io_parms->length); in SMB2_write()
2204 req->FileIndex = cpu_to_le32(index); in SMB2_query_directory()
2221 req->OutputBufferLength = cpu_to_le32(output_size); in SMB2_query_directory()
2316 req->hdr.ProcessId = cpu_to_le32(pid); in send_set_info()
2326 req->BufferLength = cpu_to_le32(*size); in send_set_info()
2371 info.FileNameLength = cpu_to_le32(len); in SMB2_rename()
2419 info.FileNameLength = cpu_to_le32(len); in SMB2_set_hardlink()
2530 req->OutputBufferLength = cpu_to_le32( in build_qfs_info_req()
2656 req->hdr.ProcessId = cpu_to_le32(pid); in smb2_lockv()
2691 lock.Flags = cpu_to_le32(lock_flags); in SMB2_lock()
2693 lock.Flags |= cpu_to_le32(SMB2_LOCKFLAG_FAIL_IMMEDIATELY); in SMB2_lock()