Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/s390/crypto/
Dzcrypt_msgtype6.c249 struct ap_message *ap_msg, in ICAMEX_msg_to_type6MEX_msgX() argument
269 } __packed * msg = ap_msg->message; in ICAMEX_msg_to_type6MEX_msgX()
304 ap_msg->length = 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->message; in ICACRT_msg_to_type6CRT_msgX()
373 ap_msg->length = size; in ICACRT_msg_to_type6CRT_msgX()
391 static int XCRB_msg_to_type6CPRB_msgX(struct ap_message *ap_msg, in XCRB_msg_to_type6CPRB_msgX() argument
403 } __packed * msg = ap_msg->message; in XCRB_msg_to_type6CPRB_msgX()
407 char *req_data = ap_msg->message + sizeof(struct type6_hdr) + rcblen; in XCRB_msg_to_type6CPRB_msgX()
415 ap_msg->length = sizeof(struct type6_hdr) + in XCRB_msg_to_type6CPRB_msgX()
[all …]
Dzcrypt_msgtype50.c201 struct ap_message *ap_msg, in ICAMEX_msg_to_type50MEX_msg() argument
210 struct type50_meb1_msg *meb1 = ap_msg->message; in ICAMEX_msg_to_type50MEX_msg()
213 ap_msg->length = sizeof(*meb1); in ICAMEX_msg_to_type50MEX_msg()
221 struct type50_meb2_msg *meb2 = ap_msg->message; in ICAMEX_msg_to_type50MEX_msg()
224 ap_msg->length = sizeof(*meb2); in ICAMEX_msg_to_type50MEX_msg()
232 struct type50_meb3_msg *meb3 = ap_msg->message; in ICAMEX_msg_to_type50MEX_msg()
235 ap_msg->length = sizeof(*meb3); in ICAMEX_msg_to_type50MEX_msg()
262 struct ap_message *ap_msg, in ICACRT_msg_to_type50CRT_msg() argument
278 struct type50_crb1_msg *crb1 = ap_msg->message; in ICACRT_msg_to_type50CRT_msg()
281 ap_msg->length = sizeof(*crb1); in ICACRT_msg_to_type50CRT_msg()
[all …]
Dap_queue.c137 struct ap_message *ap_msg; in ap_sm_recv() local
147 list_for_each_entry(ap_msg, &aq->pendingq, list) { in ap_sm_recv()
148 if (ap_msg->psmid != aq->reply->psmid) in ap_sm_recv()
150 list_del_init(&ap_msg->list); in ap_sm_recv()
152 ap_msg->receive(aq, ap_msg, aq->reply); in ap_sm_recv()
237 struct ap_message *ap_msg; in ap_sm_write() local
242 ap_msg = list_entry(aq->requestq.next, struct ap_message, list); in ap_sm_write()
243 status = __ap_send(aq->qid, ap_msg->psmid, in ap_sm_write()
244 ap_msg->message, ap_msg->length, ap_msg->special); in ap_sm_write()
250 list_move_tail(&ap_msg->list, &aq->pendingq); in ap_sm_write()
[all …]
Dzcrypt_cex2c.c70 struct ap_message ap_msg; in zcrypt_cex2c_rng_supported() local
89 ap_init_message(&ap_msg); in zcrypt_cex2c_rng_supported()
90 ap_msg.message = (void *) get_zeroed_page(GFP_KERNEL); in zcrypt_cex2c_rng_supported()
91 if (!ap_msg.message) in zcrypt_cex2c_rng_supported()
94 rng_type6CPRB_msgX(&ap_msg, 4, &domain); in zcrypt_cex2c_rng_supported()
96 msg = ap_msg.message; in zcrypt_cex2c_rng_supported()
99 rc = ap_send(aq->qid, 0x0102030405060708ULL, ap_msg.message, in zcrypt_cex2c_rng_supported()
100 ap_msg.length); in zcrypt_cex2c_rng_supported()
107 rc = ap_recv(aq->qid, &psmid, ap_msg.message, 4096); in zcrypt_cex2c_rng_supported()
118 reply = ap_msg.message; in zcrypt_cex2c_rng_supported()
[all …]
Dap_bus.h213 static inline void ap_init_message(struct ap_message *ap_msg) in ap_init_message() argument
215 memset(ap_msg, 0, sizeof(*ap_msg)); in ap_init_message()
223 static inline void ap_release_message(struct ap_message *ap_msg) in ap_release_message() argument
225 kzfree(ap_msg->message); in ap_release_message()
226 kzfree(ap_msg->private); in ap_release_message()
246 void ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg);
247 void ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg);
258 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *ap_msg);
Dzcrypt_msgtype6.h118 static inline void rng_type6CPRB_msgX(struct ap_message *ap_msg, in rng_type6CPRB_msgX() argument
130 } __packed * msg = ap_msg->message; in rng_type6CPRB_msgX()
157 ap_msg->length = sizeof(*msg); in rng_type6CPRB_msgX()
Dzcrypt_api.c804 struct ap_message ap_msg; in _zcrypt_send_cprb() local
814 ap_init_message(&ap_msg); in _zcrypt_send_cprb()
815 rc = get_cprb_fc(xcRB, &ap_msg, &func_code, &domain); in _zcrypt_send_cprb()
880 rc = pref_zq->ops->send_cprb(pref_zq, xcRB, &ap_msg); in _zcrypt_send_cprb()
887 ap_release_message(&ap_msg); in _zcrypt_send_cprb()
932 struct ap_message ap_msg; in zcrypt_send_ep11_cprb() local
938 ap_init_message(&ap_msg); in zcrypt_send_ep11_cprb()
963 rc = get_ep11cprb_fc(xcrb, &ap_msg, &func_code); in zcrypt_send_ep11_cprb()
1014 rc = pref_zq->ops->send_ep11_cprb(pref_zq, xcrb, &ap_msg); in zcrypt_send_ep11_cprb()
1023 ap_release_message(&ap_msg); in zcrypt_send_ep11_cprb()
[all …]