Lines Matching refs:le32_to_cpu
110 *off = le32_to_cpu(((struct smb2_create_req *) in smb2_get_data_area_len()
112 *len = le32_to_cpu(((struct smb2_create_req *) in smb2_get_data_area_len()
123 *len = le32_to_cpu(((struct smb2_query_info_req *)hdr)->InputBufferLength); in smb2_get_data_area_len()
127 *len = le32_to_cpu(((struct smb2_set_info_req *)hdr)->BufferLength); in smb2_get_data_area_len()
139 *len = le32_to_cpu(((struct smb2_write_req *)hdr)->Length); in smb2_get_data_area_len()
162 *off = le32_to_cpu(((struct smb2_ioctl_req *)hdr)->InputOffset); in smb2_get_data_area_len()
163 *len = le32_to_cpu(((struct smb2_ioctl_req *)hdr)->InputCount); in smb2_get_data_area_len()
244 return le32_to_cpu(h->InputBufferLength) + in smb2_query_info_req_len()
245 le32_to_cpu(h->OutputBufferLength); in smb2_query_info_req_len()
250 return le32_to_cpu(h->BufferLength); in smb2_set_info_req_len()
255 return le32_to_cpu(h->Length); in smb2_read_req_len()
260 return le32_to_cpu(h->Length); in smb2_write_req_len()
265 return le32_to_cpu(h->OutputBufferLength); in smb2_query_dir_req_len()
270 return le32_to_cpu(h->InputCount) + in smb2_ioctl_req_len()
271 le32_to_cpu(h->OutputCount); in smb2_ioctl_req_len()
276 return le32_to_cpu(h->MaxInputResponse) + in smb2_ioctl_resp_len()
277 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()