Searched refs:smb2_write_req (Results 1 – 5 of 5) sorted by relevance
151 if (((struct smb2_write_req *)hdr)->DataOffset || in smb2_get_data_area_len()152 ((struct smb2_write_req *)hdr)->Length) { in smb2_get_data_area_len()154 le16_to_cpu(((struct smb2_write_req *)hdr)->DataOffset), in smb2_get_data_area_len()155 offsetof(struct smb2_write_req, Buffer)); in smb2_get_data_area_len()156 *len = le32_to_cpu(((struct smb2_write_req *)hdr)->Length); in smb2_get_data_area_len()160 *off = le16_to_cpu(((struct smb2_write_req *)hdr)->WriteChannelInfoOffset); in smb2_get_data_area_len()161 *len = le16_to_cpu(((struct smb2_write_req *)hdr)->WriteChannelInfoLength); in smb2_get_data_area_len()279 static inline int smb2_write_req_len(struct smb2_write_req *h) in smb2_write_req_len()
6751 struct smb2_write_req *req; in smb2_write_pipe()6811 struct smb2_write_req *req, in smb2_write_rdma_channel()6848 struct smb2_write_req *req; in smb2_write()6880 ch_offset < offsetof(struct smb2_write_req, Buffer)) { in smb2_write()6924 offsetof(struct smb2_write_req, Buffer)) { in smb2_write()
307 const struct smb2_write_req *wreq = rq->rq_iov->iov_base; in should_compress()328 if (rq->rq_iov->iov_len != sizeof(struct smb2_write_req)) in smb_compress()
4923 struct smb2_write_req *req = NULL; in smb2_async_writev()4975 offsetof(struct smb2_write_req, Buffer)); in smb2_async_writev()5010 cpu_to_le16(offsetof(struct smb2_write_req, Buffer)); in smb2_async_writev()5099 struct smb2_write_req *req = NULL; in SMB2_write()5139 offsetof(struct smb2_write_req, Buffer)); in SMB2_write()
781 struct smb2_write_req { struct