Lines Matching refs:tr_buf
8559 static void fill_transform_hdr(void *tr_buf, char *old_buf, __le16 cipher_type)
8561 struct smb2_transform_hdr *tr_hdr = tr_buf + 4;
8565 /* tr_buf must be cleared by the caller */
8575 inc_rfc1001_len(tr_buf, sizeof(struct smb2_transform_hdr));
8576 inc_rfc1001_len(tr_buf, orig_len);
8583 void *tr_buf;
8585 tr_buf = kzalloc(sizeof(struct smb2_transform_hdr) + 4, GFP_KERNEL);
8586 if (!tr_buf)
8590 fill_transform_hdr(tr_buf, work->response_buf, work->conn->cipher_type);
8592 iov[0].iov_base = tr_buf;
8594 work->tr_buf = tr_buf;