Searched refs:ap_msg (Results 1 – 7 of 7) sorted by relevance
/kernel/linux/linux-5.10/drivers/s390/crypto/ |
D | zcrypt_msgtype6.c | 249 struct ap_message *ap_msg, in ICAMEX_msg_to_type6MEX_msgX() argument 269 } __packed * msg = ap_msg->msg; in ICAMEX_msg_to_type6MEX_msgX() 304 ap_msg->len = size; in ICAMEX_msg_to_type6MEX_msgX() 318 struct ap_message *ap_msg, in ICACRT_msg_to_type6CRT_msgX() argument 339 } __packed * msg = ap_msg->msg; in ICACRT_msg_to_type6CRT_msgX() 373 ap_msg->len = size; in ICACRT_msg_to_type6CRT_msgX() 391 static int XCRB_msg_to_type6CPRB_msgX(bool userspace, struct ap_message *ap_msg, in XCRB_msg_to_type6CPRB_msgX() argument 403 } __packed * msg = ap_msg->msg; in XCRB_msg_to_type6CPRB_msgX() 407 char *req_data = ap_msg->msg + sizeof(struct type6_hdr) + rcblen; in XCRB_msg_to_type6CPRB_msgX() 415 ap_msg->len = sizeof(struct type6_hdr) + in XCRB_msg_to_type6CPRB_msgX() [all …]
|
D | zcrypt_msgtype50.c | 201 struct ap_message *ap_msg, in ICAMEX_msg_to_type50MEX_msg() argument 210 struct type50_meb1_msg *meb1 = ap_msg->msg; in ICAMEX_msg_to_type50MEX_msg() 213 ap_msg->len = sizeof(*meb1); in ICAMEX_msg_to_type50MEX_msg() 221 struct type50_meb2_msg *meb2 = ap_msg->msg; in ICAMEX_msg_to_type50MEX_msg() 224 ap_msg->len = sizeof(*meb2); in ICAMEX_msg_to_type50MEX_msg() 232 struct type50_meb3_msg *meb3 = ap_msg->msg; in ICAMEX_msg_to_type50MEX_msg() 235 ap_msg->len = sizeof(*meb3); in ICAMEX_msg_to_type50MEX_msg() 251 if (ap_msg->fi.flags & AP_FI_FLAG_TOGGLE_SPECIAL) in ICAMEX_msg_to_type50MEX_msg() 252 ap_msg->flags ^= AP_MSG_FLAG_SPECIAL; in ICAMEX_msg_to_type50MEX_msg() 268 struct ap_message *ap_msg, in ICACRT_msg_to_type50CRT_msg() argument [all …]
|
D | ap_queue.c | 137 struct ap_message *ap_msg; in ap_sm_recv() local 150 list_for_each_entry(ap_msg, &aq->pendingq, list) { in ap_sm_recv() 151 if (ap_msg->psmid != aq->reply->psmid) in ap_sm_recv() 153 list_del_init(&ap_msg->list); in ap_sm_recv() 155 ap_msg->receive(aq, ap_msg, aq->reply); in ap_sm_recv() 226 struct ap_message *ap_msg; in ap_sm_write() local 232 ap_msg = list_entry(aq->requestq.next, struct ap_message, list); in ap_sm_write() 234 if (ap_msg->fi.action == AP_FI_ACTION_NQAP_QID_INVAL) { in ap_sm_write() 236 __func__, ap_msg->fi.cmd); in ap_sm_write() 240 status = __ap_send(qid, ap_msg->psmid, in ap_sm_write() [all …]
|
D | ap_bus.h | 242 static inline void ap_init_message(struct ap_message *ap_msg) in ap_init_message() argument 244 memset(ap_msg, 0, sizeof(*ap_msg)); in ap_init_message() 252 static inline void ap_release_message(struct ap_message *ap_msg) in ap_release_message() argument 254 kfree_sensitive(ap_msg->msg); in ap_release_message() 255 kfree_sensitive(ap_msg->private); in ap_release_message() 269 int ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg); 270 void ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg); 281 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *ap_msg);
|
D | zcrypt_cex2c.c | 183 struct ap_message ap_msg; in zcrypt_cex2c_rng_supported() local 202 ap_init_message(&ap_msg); in zcrypt_cex2c_rng_supported() 203 ap_msg.msg = (void *) get_zeroed_page(GFP_KERNEL); in zcrypt_cex2c_rng_supported() 204 if (!ap_msg.msg) in zcrypt_cex2c_rng_supported() 207 rng_type6CPRB_msgX(&ap_msg, 4, &domain); in zcrypt_cex2c_rng_supported() 209 msg = ap_msg.msg; in zcrypt_cex2c_rng_supported() 212 rc = ap_send(aq->qid, 0x0102030405060708ULL, ap_msg.msg, ap_msg.len); in zcrypt_cex2c_rng_supported() 219 rc = ap_recv(aq->qid, &psmid, ap_msg.msg, 4096); in zcrypt_cex2c_rng_supported() 230 reply = ap_msg.msg; in zcrypt_cex2c_rng_supported() 236 free_page((unsigned long) ap_msg.msg); in zcrypt_cex2c_rng_supported()
|
D | zcrypt_msgtype6.h | 118 static inline void rng_type6CPRB_msgX(struct ap_message *ap_msg, in rng_type6CPRB_msgX() argument 130 } __packed * msg = ap_msg->msg; in rng_type6CPRB_msgX() 157 ap_msg->len = sizeof(*msg); in rng_type6CPRB_msgX()
|
D | zcrypt_api.c | 639 struct ap_message ap_msg; in zcrypt_rsa_modexpo() local 647 ap_init_message(&ap_msg); in zcrypt_rsa_modexpo() 651 ap_msg.fi.cmd = tr->fi.cmd; in zcrypt_rsa_modexpo() 724 rc = pref_zq->ops->rsa_modexpo(pref_zq, mex, &ap_msg); in zcrypt_rsa_modexpo() 731 ap_release_message(&ap_msg); in zcrypt_rsa_modexpo() 747 struct ap_message ap_msg; in zcrypt_rsa_crt() local 755 ap_init_message(&ap_msg); in zcrypt_rsa_crt() 759 ap_msg.fi.cmd = tr->fi.cmd; in zcrypt_rsa_crt() 832 rc = pref_zq->ops->rsa_modexpo_crt(pref_zq, crt, &ap_msg); in zcrypt_rsa_crt() 839 ap_release_message(&ap_msg); in zcrypt_rsa_crt() [all …]
|