Searched refs:ap_msg (Results 1 – 7 of 7) sorted by relevance
/linux/drivers/s390/crypto/ |
A D | zcrypt_msgtype6.c | 304 ap_msg->len = size; in ICAMEX_msg_to_type6MEX_msgX() 418 if (ap_msg->len > ap_msg->bufsize) in XCRB_msg_to_type6CPRB_msgX() 528 if (ap_msg->len > ap_msg->bufsize) in xcrb_msg_to_type6_ep11cprb_msgx() 1035 if (!ap_msg->msg) in zcrypt_msgtype6_modexpo() 1051 rc = ap_msg->rc; in zcrypt_msgtype6_modexpo() 1083 if (!ap_msg->msg) in zcrypt_msgtype6_modexpo_crt() 1099 rc = ap_msg->rc; in zcrypt_msgtype6_modexpo_crt() 1131 ap_msg->msg = kmalloc(ap_msg->bufsize, GFP_KERNEL); in get_cprb_fc() 1132 if (!ap_msg->msg) in get_cprb_fc() 1189 ap_msg->msg = kmalloc(ap_msg->bufsize, GFP_KERNEL); in get_ep11cprb_fc() [all …]
|
A D | zcrypt_msgtype50.c | 213 ap_msg->len = sizeof(*meb1); in ICAMEX_msg_to_type50MEX_msg() 474 ap_msg->msg = kmalloc(ap_msg->bufsize, GFP_KERNEL); in zcrypt_cex2a_modexpo() 475 if (!ap_msg->msg) in zcrypt_cex2a_modexpo() 480 ap_msg->private = &work; in zcrypt_cex2a_modexpo() 490 rc = ap_msg->rc; in zcrypt_cex2a_modexpo() 499 ap_msg->private = NULL; in zcrypt_cex2a_modexpo() 519 ap_msg->msg = kmalloc(ap_msg->bufsize, GFP_KERNEL); in zcrypt_cex2a_modexpo_crt() 520 if (!ap_msg->msg) in zcrypt_cex2a_modexpo_crt() 525 ap_msg->private = &work; in zcrypt_cex2a_modexpo_crt() 535 rc = ap_msg->rc; in zcrypt_cex2a_modexpo_crt() [all …]
|
A D | ap_queue.c | 137 struct ap_message *ap_msg; in ap_sm_recv() local 171 ap_msg->rc = -EMSGSIZE; in ap_sm_recv() 172 ap_msg->receive(aq, ap_msg, NULL); in ap_sm_recv() 174 ap_msg->receive(aq, ap_msg, aq->reply); in ap_sm_recv() 262 ap_msg->msg, ap_msg->len, in ap_sm_write() 291 ap_msg->rc = -EINVAL; in ap_sm_write() 292 ap_msg->receive(aq, ap_msg, NULL); in ap_sm_write() 868 ap_msg->rc = -EAGAIN; in __ap_flush_queue() 869 ap_msg->receive(aq, ap_msg, NULL); in __ap_flush_queue() 874 ap_msg->rc = -EAGAIN; in __ap_flush_queue() [all …]
|
A D | ap_bus.h | 244 static inline void ap_init_message(struct ap_message *ap_msg) in ap_init_message() argument 246 memset(ap_msg, 0, sizeof(*ap_msg)); in ap_init_message() 254 static inline void ap_release_message(struct ap_message *ap_msg) in ap_release_message() argument 256 kfree_sensitive(ap_msg->msg); in ap_release_message() 257 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); 283 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *ap_msg);
|
A 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()
|
A D | zcrypt_api.c | 637 struct ap_message ap_msg; in zcrypt_rsa_modexpo() local 645 ap_init_message(&ap_msg); in zcrypt_rsa_modexpo() 649 ap_msg.fi.cmd = tr->fi.cmd; in zcrypt_rsa_modexpo() 745 struct ap_message ap_msg; in zcrypt_rsa_crt() local 753 ap_init_message(&ap_msg); in zcrypt_rsa_crt() 853 struct ap_message ap_msg; in _zcrypt_send_cprb() local 863 ap_init_message(&ap_msg); in _zcrypt_send_cprb() 1021 struct ap_message ap_msg; in _zcrypt_send_ep11_cprb() local 1027 ap_init_message(&ap_msg); in _zcrypt_send_ep11_cprb() 1152 struct ap_message ap_msg; in zcrypt_rng() local [all …]
|
A D | zcrypt_msgtype6.h | 116 static inline void rng_type6CPRB_msgX(struct ap_message *ap_msg, in rng_type6CPRB_msgX() argument 128 } __packed * msg = ap_msg->msg; in rng_type6CPRB_msgX() 155 ap_msg->len = sizeof(*msg); in rng_type6CPRB_msgX()
|
Completed in 21 milliseconds