Lines Matching refs:iov
575 int ksmbd_sign_smb2_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov, in ksmbd_sign_smb2_pdu() argument
601 iov[i].iov_base, in ksmbd_sign_smb2_pdu()
602 iov[i].iov_len); in ksmbd_sign_smb2_pdu()
626 int ksmbd_sign_smb3_pdu(struct ksmbd_conn *conn, char *key, struct kvec *iov, in ksmbd_sign_smb3_pdu() argument
652 iov[i].iov_base, in ksmbd_sign_smb3_pdu()
653 iov[i].iov_len); in ksmbd_sign_smb3_pdu()
1030 static struct scatterlist *ksmbd_init_sg(struct kvec *iov, unsigned int nvec, in ksmbd_init_sg() argument
1045 unsigned long kaddr = (unsigned long)iov[i + 1].iov_base; in ksmbd_init_sg()
1047 if (is_vmalloc_addr(iov[i + 1].iov_base)) { in ksmbd_init_sg()
1048 nr_entries[i] = ((kaddr + iov[i + 1].iov_len + in ksmbd_init_sg()
1067 smb2_sg_set_buf(&sg[sg_idx++], iov[0].iov_base + 24, assoc_data_len); in ksmbd_init_sg()
1069 void *data = iov[i + 1].iov_base; in ksmbd_init_sg()
1070 int len = iov[i + 1].iov_len; in ksmbd_init_sg()
1102 int ksmbd_crypt_message(struct ksmbd_work *work, struct kvec *iov, in ksmbd_crypt_message() argument
1106 struct smb2_transform_hdr *tr_hdr = smb2_get_msg(iov[0].iov_base); in ksmbd_crypt_message()
1171 sg = ksmbd_init_sg(iov, nvec, sign); in ksmbd_crypt_message()