Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/s390/crypto/
Dzcrypt_msgtype6.c252 struct ap_message *ap_msg, in ICAMEX_msg_to_type6MEX_msgX() argument
272 } __packed * msg = ap_msg->message; in ICAMEX_msg_to_type6MEX_msgX()
307 ap_msg->length = size; in ICAMEX_msg_to_type6MEX_msgX()
321 struct ap_message *ap_msg, in ICACRT_msg_to_type6CRT_msgX() argument
342 } __packed * msg = ap_msg->message; in ICACRT_msg_to_type6CRT_msgX()
376 ap_msg->length = size; in ICACRT_msg_to_type6CRT_msgX()
394 static int XCRB_msg_to_type6CPRB_msgX(struct ap_message *ap_msg, in XCRB_msg_to_type6CPRB_msgX() argument
406 } __packed * msg = ap_msg->message; in XCRB_msg_to_type6CPRB_msgX()
410 char *req_data = ap_msg->message + sizeof(struct type6_hdr) + rcblen; in XCRB_msg_to_type6CPRB_msgX()
418 ap_msg->length = sizeof(struct type6_hdr) + in XCRB_msg_to_type6CPRB_msgX()
[all …]
Dzcrypt_msgtype50.c203 struct ap_message *ap_msg, in ICAMEX_msg_to_type50MEX_msg() argument
212 struct type50_meb1_msg *meb1 = ap_msg->message; in ICAMEX_msg_to_type50MEX_msg()
215 ap_msg->length = sizeof(*meb1); in ICAMEX_msg_to_type50MEX_msg()
223 struct type50_meb2_msg *meb2 = ap_msg->message; in ICAMEX_msg_to_type50MEX_msg()
226 ap_msg->length = sizeof(*meb2); in ICAMEX_msg_to_type50MEX_msg()
234 struct type50_meb3_msg *meb3 = ap_msg->message; in ICAMEX_msg_to_type50MEX_msg()
237 ap_msg->length = sizeof(*meb3); in ICAMEX_msg_to_type50MEX_msg()
264 struct ap_message *ap_msg, in ICACRT_msg_to_type50CRT_msg() argument
280 struct type50_crb1_msg *crb1 = ap_msg->message; in ICACRT_msg_to_type50CRT_msg()
283 ap_msg->length = sizeof(*crb1); in ICACRT_msg_to_type50CRT_msg()
[all …]
Dap_queue.c134 struct ap_message *ap_msg; in ap_sm_recv() local
144 list_for_each_entry(ap_msg, &aq->pendingq, list) { in ap_sm_recv()
145 if (ap_msg->psmid != aq->reply->psmid) in ap_sm_recv()
147 list_del_init(&ap_msg->list); in ap_sm_recv()
149 ap_msg->receive(aq, ap_msg, aq->reply); in ap_sm_recv()
233 struct ap_message *ap_msg; in ap_sm_write() local
238 ap_msg = list_entry(aq->requestq.next, struct ap_message, list); in ap_sm_write()
239 status = __ap_send(aq->qid, ap_msg->psmid, in ap_sm_write()
240 ap_msg->message, ap_msg->length, ap_msg->special); in ap_sm_write()
246 list_move_tail(&ap_msg->list, &aq->pendingq); in ap_sm_write()
[all …]
Dzcrypt_pcixcc.c91 struct ap_message ap_msg; in zcrypt_pcixcc_rng_supported() local
110 ap_init_message(&ap_msg); in zcrypt_pcixcc_rng_supported()
111 ap_msg.message = (void *) get_zeroed_page(GFP_KERNEL); in zcrypt_pcixcc_rng_supported()
112 if (!ap_msg.message) in zcrypt_pcixcc_rng_supported()
115 rng_type6CPRB_msgX(&ap_msg, 4, &domain); in zcrypt_pcixcc_rng_supported()
117 msg = ap_msg.message; in zcrypt_pcixcc_rng_supported()
120 rc = ap_send(aq->qid, 0x0102030405060708ULL, ap_msg.message, in zcrypt_pcixcc_rng_supported()
121 ap_msg.length); in zcrypt_pcixcc_rng_supported()
128 rc = ap_recv(aq->qid, &psmid, ap_msg.message, 4096); in zcrypt_pcixcc_rng_supported()
139 reply = ap_msg.message; in zcrypt_pcixcc_rng_supported()
[all …]
Dap_bus.h209 static inline void ap_init_message(struct ap_message *ap_msg) in ap_init_message() argument
211 memset(ap_msg, 0, sizeof(*ap_msg)); in ap_init_message()
219 static inline void ap_release_message(struct ap_message *ap_msg) in ap_release_message() argument
221 kzfree(ap_msg->message); in ap_release_message()
222 kzfree(ap_msg->private); in ap_release_message()
242 void ap_queue_message(struct ap_queue *aq, struct ap_message *ap_msg);
243 void ap_cancel_message(struct ap_queue *aq, struct ap_message *ap_msg);
251 void ap_queue_init_reply(struct ap_queue *aq, struct ap_message *ap_msg);
Dzcrypt_msgtype6.h125 static inline void rng_type6CPRB_msgX(struct ap_message *ap_msg, in rng_type6CPRB_msgX() argument
137 } __packed * msg = ap_msg->message; in rng_type6CPRB_msgX()
164 ap_msg->length = sizeof(*msg); in rng_type6CPRB_msgX()
Dzcrypt_api.c368 struct ap_message ap_msg; in zcrypt_send_cprb() local
376 ap_init_message(&ap_msg); in zcrypt_send_cprb()
377 rc = get_cprb_fc(xcRB, &ap_msg, &func_code, &domain); in zcrypt_send_cprb()
424 rc = pref_zq->ops->send_cprb(pref_zq, xcRB, &ap_msg); in zcrypt_send_cprb()
431 ap_release_message(&ap_msg); in zcrypt_send_cprb()
470 struct ap_message ap_msg; in zcrypt_send_ep11_cprb() local
475 ap_init_message(&ap_msg); in zcrypt_send_ep11_cprb()
498 rc = get_ep11cprb_fc(xcrb, &ap_msg, &func_code); in zcrypt_send_ep11_cprb()
542 rc = pref_zq->ops->send_ep11_cprb(pref_zq, xcrb, &ap_msg); in zcrypt_send_ep11_cprb()
551 ap_release_message(&ap_msg); in zcrypt_send_ep11_cprb()
[all …]