Lines Matching refs:le32_to_cpu
119 *off = le32_to_cpu(((struct smb2_create_req *) in smb2_get_data_area_len()
121 *len = le32_to_cpu(((struct smb2_create_req *) in smb2_get_data_area_len()
138 *len = le32_to_cpu(((struct smb2_query_info_req *)hdr)->InputBufferLength); in smb2_get_data_area_len()
144 *len = le32_to_cpu(((struct smb2_set_info_req *)hdr)->BufferLength); in smb2_get_data_area_len()
156 *len = le32_to_cpu(((struct smb2_write_req *)hdr)->Length); in smb2_get_data_area_len()
182 le32_to_cpu(((struct smb2_ioctl_req *)hdr)->InputOffset), in smb2_get_data_area_len()
184 *len = le32_to_cpu(((struct smb2_ioctl_req *)hdr)->InputCount); in smb2_get_data_area_len()
265 return le32_to_cpu(h->InputBufferLength) + in smb2_query_info_req_len()
266 le32_to_cpu(h->OutputBufferLength); in smb2_query_info_req_len()
271 return le32_to_cpu(h->BufferLength); in smb2_set_info_req_len()
276 return le32_to_cpu(h->Length); in smb2_read_req_len()
281 return le32_to_cpu(h->Length); in smb2_write_req_len()
286 return le32_to_cpu(h->OutputBufferLength); in smb2_query_dir_req_len()
291 return le32_to_cpu(h->InputCount) + in smb2_ioctl_req_len()
292 le32_to_cpu(h->OutputCount); in smb2_ioctl_req_len()
297 return le32_to_cpu(h->MaxInputResponse) + in smb2_ioctl_resp_len()
298 le32_to_cpu(h->MaxOutputResponse); in smb2_ioctl_resp_len()
375 __u32 req_struct_size, next_cmd = le32_to_cpu(hdr->NextCommand); in ksmbd_smb2_check_message()