Lines Matching refs:h
263 static inline int smb2_query_info_req_len(struct smb2_query_info_req *h) in smb2_query_info_req_len() argument
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()
269 static inline int smb2_set_info_req_len(struct smb2_set_info_req *h) in smb2_set_info_req_len() argument
271 return le32_to_cpu(h->BufferLength); in smb2_set_info_req_len()
274 static inline int smb2_read_req_len(struct smb2_read_req *h) in smb2_read_req_len() argument
276 return le32_to_cpu(h->Length); in smb2_read_req_len()
279 static inline int smb2_write_req_len(struct smb2_write_req *h) in smb2_write_req_len() argument
281 return le32_to_cpu(h->Length); in smb2_write_req_len()
284 static inline int smb2_query_dir_req_len(struct smb2_query_directory_req *h) in smb2_query_dir_req_len() argument
286 return le32_to_cpu(h->OutputBufferLength); in smb2_query_dir_req_len()
289 static inline int smb2_ioctl_req_len(struct smb2_ioctl_req *h) in smb2_ioctl_req_len() argument
291 return le32_to_cpu(h->InputCount) + in smb2_ioctl_req_len()
292 le32_to_cpu(h->OutputCount); in smb2_ioctl_req_len()
295 static inline int smb2_ioctl_resp_len(struct smb2_ioctl_req *h) in smb2_ioctl_resp_len() argument
297 return le32_to_cpu(h->MaxInputResponse) + in smb2_ioctl_resp_len()
298 le32_to_cpu(h->MaxOutputResponse); in smb2_ioctl_resp_len()