Home
last modified time | relevance | path

Searched refs:ap_msg (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/s390/crypto/
H A Dzcrypt_msgtype6.c192 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 Dzcrypt_msgtype50.c196 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 Dap_queue.c122 struct ap_message *ap_msg; in ap_sm_recv() local
152 list_for_each_entry(ap_msg, &aq->pendingq, list) { in ap_sm_recv()
153 if (ap_msg->psmid != aq->reply->psmid) in ap_sm_recv()
155 list_del_init(&ap_msg->list); in ap_sm_recv()
158 ap_msg->rc = -EMSGSIZE; in ap_sm_recv()
159 ap_msg->receive(aq, ap_msg, NULL); in ap_sm_recv()
161 ap_msg->receive(aq, ap_msg, aq->reply); in ap_sm_recv()
248 struct ap_message *ap_msg; in ap_sm_write() local
255 ap_msg = list_entry(aq->requestq.next, struct ap_message, list); in ap_sm_write()
257 ap_msg->msg, ap_msg->len, false); in ap_sm_write()
[all …]
H A Dap_bus.h240 static inline void ap_init_message(struct ap_message *ap_msg) in ap_init_message() argument
242 memset(ap_msg, 0, sizeof(*ap_msg)); in ap_init_message()
250 static inline void ap_release_message(struct ap_message *ap_msg) in ap_release_message() argument
252 kfree_sensitive(ap_msg->msg); in ap_release_message()
253 kfree_sensitive(ap_msg->private); in ap_release_message()
259 int ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg);
260 void ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg);
274 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *ap_msg);
H A Dzcrypt_msgtype6.h98 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 Dzcrypt_api.c643 struct ap_message ap_msg; in zcrypt_rsa_modexpo() local
651 ap_init_message(&ap_msg); 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()
828 rc = pref_zq->ops->rsa_modexpo_crt(pref_zq, crt, &ap_msg); in zcrypt_rsa_crt()
835 ap_release_message(&ap_msg); in zcrypt_rsa_crt()
851 struct ap_message ap_msg; in _zcrypt_send_cprb() local
861 ap_init_message(&ap_msg); in _zcrypt_send_cprb()
[all …]