Searched refs:ap_msg (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/drivers/s390/crypto/ |
H A D | zcrypt_msgtype6.c | 192 struct ap_message *ap_msg, in icamex_msg_to_type6mex_msgx() argument 212 } __packed * msg = ap_msg->msg; in icamex_msg_to_type6mex_msgx() 247 ap_msg->len = size; in icamex_msg_to_type6mex_msgx() 261 struct ap_message *ap_msg, in icacrt_msg_to_type6crt_msgx() argument 282 } __packed * msg = ap_msg->msg; in icacrt_msg_to_type6crt_msgx() 316 ap_msg->len = size; in icacrt_msg_to_type6crt_msgx() 334 static int xcrb_msg_to_type6cprb_msgx(bool userspace, struct ap_message *ap_msg, in xcrb_msg_to_type6cprb_msgx() argument 349 } __packed * msg = ap_msg->msg; in xcrb_msg_to_type6cprb_msgx() 353 char *req_data = ap_msg->msg + sizeof(struct type6_hdr) + rcblen; in xcrb_msg_to_type6cprb_msgx() 361 ap_msg->len = sizeof(struct type6_hdr) + in xcrb_msg_to_type6cprb_msgx() [all …]
|
H A D | zcrypt_msgtype50.c | 196 struct ap_message *ap_msg, in ICAMEX_msg_to_type50MEX_msg() argument 205 struct type50_meb1_msg *meb1 = ap_msg->msg; in ICAMEX_msg_to_type50MEX_msg() 208 ap_msg->len = sizeof(*meb1); in ICAMEX_msg_to_type50MEX_msg() 216 struct type50_meb2_msg *meb2 = ap_msg->msg; in ICAMEX_msg_to_type50MEX_msg() 219 ap_msg->len = sizeof(*meb2); in ICAMEX_msg_to_type50MEX_msg() 227 struct type50_meb3_msg *meb3 = ap_msg->msg; in ICAMEX_msg_to_type50MEX_msg() 230 ap_msg->len = sizeof(*meb3); in ICAMEX_msg_to_type50MEX_msg() 259 struct ap_message *ap_msg, in ICACRT_msg_to_type50CRT_msg() argument 275 struct type50_crb1_msg *crb1 = ap_msg->msg; in ICACRT_msg_to_type50CRT_msg() 278 ap_msg->len = sizeof(*crb1); in ICACRT_msg_to_type50CRT_msg() [all …]
|
H A D | ap_queue.c | 113 struct ap_message *ap_msg; in ap_sm_recv() local 141 list_for_each_entry(ap_msg, &aq->pendingq, list) { in ap_sm_recv() 142 if (ap_msg->psmid != aq->reply->psmid) in ap_sm_recv() 144 list_del_init(&ap_msg->list); in ap_sm_recv() 147 ap_msg->rc = -EMSGSIZE; in ap_sm_recv() 148 ap_msg->receive(aq, ap_msg, NULL); in ap_sm_recv() 150 ap_msg->receive(aq, ap_msg, aq->reply); in ap_sm_recv() 224 struct ap_message *ap_msg; in ap_sm_write() local 231 ap_msg = list_entry(aq->requestq.next, struct ap_message, list); in ap_sm_write() 232 status = __ap_send(qid, ap_msg->psmid, in ap_sm_write() [all …]
|
H A D | ap_bus.h | 252 static inline void ap_init_message(struct ap_message *ap_msg) in ap_init_message() argument 254 memset(ap_msg, 0, sizeof(*ap_msg)); in ap_init_message() 262 static inline void ap_release_message(struct ap_message *ap_msg) in ap_release_message() argument 264 kfree_sensitive(ap_msg->msg); in ap_release_message() 265 kfree_sensitive(ap_msg->private); in ap_release_message() 271 int ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg); 272 void ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg); 285 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *ap_msg);
|
H A D | zcrypt_msgtype6.h | 98 struct ap_message *ap_msg, 101 struct ap_message *ap_msg, 103 int prep_rng_ap_msg(struct ap_message *ap_msg, 119 static inline void rng_type6cprb_msgx(struct ap_message *ap_msg, in rng_type6cprb_msgx() argument 131 } __packed * msg = ap_msg->msg; in rng_type6cprb_msgx() 158 ap_msg->len = sizeof(*msg); in rng_type6cprb_msgx()
|
H A D | zcrypt_api.c | 645 struct ap_message ap_msg; in zcrypt_rsa_modexpo() local 653 ap_init_message(&ap_msg); in zcrypt_rsa_modexpo() 727 rc = pref_zq->ops->rsa_modexpo(pref_zq, mex, &ap_msg); in zcrypt_rsa_modexpo() 734 ap_release_message(&ap_msg); in zcrypt_rsa_modexpo() 750 struct ap_message ap_msg; in zcrypt_rsa_crt() local 758 ap_init_message(&ap_msg); 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() 855 struct ap_message ap_msg; in _zcrypt_send_cprb() local 865 ap_init_message(&ap_msg); in _zcrypt_send_cprb() [all …]
|