Lines Matching refs:le32_to_cpu
116 *off = le32_to_cpu(((struct smb2_create_req *) in smb2_get_data_area_len()
118 *len = le32_to_cpu(((struct smb2_create_req *) in smb2_get_data_area_len()
129 *len = le32_to_cpu(((struct smb2_query_info_req *)hdr)->InputBufferLength); in smb2_get_data_area_len()
133 *len = le32_to_cpu(((struct smb2_set_info_req *)hdr)->BufferLength); in smb2_get_data_area_len()
142 *len = le32_to_cpu(((struct smb2_write_req *)hdr)->Length); in smb2_get_data_area_len()
169 *off = le32_to_cpu(((struct smb2_ioctl_req *)hdr)->InputOffset); in smb2_get_data_area_len()
170 *len = le32_to_cpu(((struct smb2_ioctl_req *)hdr)->InputCount); in smb2_get_data_area_len()
251 return le32_to_cpu(h->InputBufferLength) + in smb2_query_info_req_len()
252 le32_to_cpu(h->OutputBufferLength); in smb2_query_info_req_len()
257 return le32_to_cpu(h->BufferLength); in smb2_set_info_req_len()
262 return le32_to_cpu(h->Length); in smb2_read_req_len()
267 return le32_to_cpu(h->Length); in smb2_write_req_len()
272 return le32_to_cpu(h->OutputBufferLength); in smb2_query_dir_req_len()
277 return le32_to_cpu(h->InputCount) + in smb2_ioctl_req_len()
278 le32_to_cpu(h->OutputCount); in smb2_ioctl_req_len()
283 return le32_to_cpu(h->MaxInputResponse) + in smb2_ioctl_resp_len()
284 le32_to_cpu(h->MaxOutputResponse); in smb2_ioctl_resp_len()
361 if (le32_to_cpu(hdr->NextCommand) > 0) { in ksmbd_smb2_check_message()
362 len = le32_to_cpu(hdr->NextCommand); in ksmbd_smb2_check_message()