Lines Matching refs:le32_to_cpu

408 	server->maxBuf = min_t(unsigned int, le32_to_cpu(rsp->MaxTransactSize),  in SMB2_negotiate()
410 server->max_read = le32_to_cpu(rsp->MaxReadSize); in SMB2_negotiate()
411 server->max_write = le32_to_cpu(rsp->MaxWriteSize); in SMB2_negotiate()
414 server->capabilities = le32_to_cpu(rsp->Capabilities); in SMB2_negotiate()
508 if ((le32_to_cpu(pneg_rsp->Capabilities) | SMB2_NT_FIND | in smb3_validate_negotiate()
933 tcon->share_flags = le32_to_cpu(rsp->ShareFlags); in SMB2_tcon()
935 tcon->maximal_access = le32_to_cpu(rsp->MaximalAccess); in SMB2_tcon()
1049 data_offset = (char *)rsp + 4 + le32_to_cpu(rsp->CreateContextsOffset); in parse_lease_state()
1050 remaining = le32_to_cpu(rsp->CreateContextsLength); in parse_lease_state()
1058 next = le32_to_cpu(cc->Next); in parse_lease_state()
1368 *plen = le32_to_cpu(rsp->OutputCount); in SMB2_ioctl()
1380 if (get_rfc1002_length(rsp) < le32_to_cpu(rsp->OutputOffset) + *plen) { in SMB2_ioctl()
1382 le32_to_cpu(rsp->OutputOffset)); in SMB2_ioctl()
1394 memcpy(*out_data, rsp->hdr.ProtocolId + le32_to_cpu(rsp->OutputOffset), in SMB2_ioctl()
1574 le32_to_cpu(rsp->OutputBufferLength), in query_info()
1899 *nbytes = le32_to_cpu(rsp->DataLength); in SMB2_read()
1943 written = le32_to_cpu(rsp->DataLength); in smb2_writev_callback()
2111 *nbytes = le32_to_cpu(rsp->DataLength); in SMB2_write()
2139 len = le32_to_cpu(entryptr->FileNameLength); in num_entries()
2149 next_offset = le32_to_cpu(entryptr->NextEntryOffset); in num_entries()
2245 le32_to_cpu(rsp->OutputBufferLength), &rsp->hdr, in SMB2_query_directory()
2499 kst->f_bsize = le32_to_cpu(pfs_inf->BytesPerSector) * in copy_fs_info_to_kstatfs()
2500 le32_to_cpu(pfs_inf->SectorsPerAllocationUnit); in copy_fs_info_to_kstatfs()
2566 le32_to_cpu(rsp->OutputBufferLength), &rsp->hdr, in SMB2_QFS_info()
2613 rsp_len = le32_to_cpu(rsp->OutputBufferLength); in SMB2_QFS_attr()
2629 tcon->ss_flags = le32_to_cpu(ss_info->Flags); in SMB2_QFS_attr()
2631 le32_to_cpu(ss_info->PhysicalBytesPerSectorForPerf); in SMB2_QFS_attr()