Lines Matching refs:kop
388 struct crypt_kop *kop;
658 kop = &kopc;
659 crypt_kop_from_32(data, kop);
662 kop = (struct crypt_kop *)data;
669 kop->crk_crid =
673 error = cryptodev_key(kop);
677 crypt_kop_to_32(kop, data);
1162 cryptodev_key(struct crypt_kop *kop)
1168 if (kop->crk_iparams + kop->crk_oparams > CRK_MAXPARAM) {
1173 in = kop->crk_iparams;
1174 out = kop->crk_oparams;
1175 switch (kop->crk_op) {
1211 krp->krp_op = kop->crk_op;
1212 krp->krp_status = kop->crk_status;
1213 krp->krp_iparams = kop->crk_iparams;
1214 krp->krp_oparams = kop->crk_oparams;
1215 krp->krp_crid = kop->crk_crid;
1220 if (kop->crk_param[i].crp_nbits > 65536) {
1225 krp->krp_param[i].crp_nbits = kop->crk_param[i].crp_nbits;
1234 error = copyin(kop->crk_param[i].crp_p, krp->krp_param[i].crp_p, size);
1253 kop->crk_crid = krp->krp_crid; /* device that did the work */
1264 error = copyout(krp->krp_param[i].crp_p, kop->crk_param[i].crp_p, size);
1273 kop->crk_status = krp->krp_status;