Lines Matching refs:le32_to_cpu
115 *off = le32_to_cpu(((struct smb2_create_req *) in smb2_get_data_area_len()
117 *len = le32_to_cpu(((struct smb2_create_req *) in smb2_get_data_area_len()
128 *len = le32_to_cpu(((struct smb2_query_info_req *)hdr)->InputBufferLength); in smb2_get_data_area_len()
132 *len = le32_to_cpu(((struct smb2_set_info_req *)hdr)->BufferLength); in smb2_get_data_area_len()
141 *len = le32_to_cpu(((struct smb2_write_req *)hdr)->Length); in smb2_get_data_area_len()
168 *off = le32_to_cpu(((struct smb2_ioctl_req *)hdr)->InputOffset); in smb2_get_data_area_len()
169 *len = le32_to_cpu(((struct smb2_ioctl_req *)hdr)->InputCount); in smb2_get_data_area_len()
250 return le32_to_cpu(h->InputBufferLength) + in smb2_query_info_req_len()
251 le32_to_cpu(h->OutputBufferLength); in smb2_query_info_req_len()
256 return le32_to_cpu(h->BufferLength); in smb2_set_info_req_len()
261 return le32_to_cpu(h->Length); in smb2_read_req_len()
266 return le32_to_cpu(h->Length); in smb2_write_req_len()
271 return le32_to_cpu(h->OutputBufferLength); in smb2_query_dir_req_len()
276 return le32_to_cpu(h->InputCount) + in smb2_ioctl_req_len()
277 le32_to_cpu(h->OutputCount); in smb2_ioctl_req_len()
282 return le32_to_cpu(h->MaxInputResponse) + in smb2_ioctl_resp_len()
283 le32_to_cpu(h->MaxOutputResponse); in smb2_ioctl_resp_len()
355 if (le32_to_cpu(hdr->NextCommand) > 0) in ksmbd_smb2_check_message()
356 len = le32_to_cpu(hdr->NextCommand); in ksmbd_smb2_check_message()