• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/s390/crypto/

Lines Matching refs:ap_msg

750 	struct ap_message *ap_msg, *next;
752 list_for_each_entry_safe(ap_msg, next, &ap_dev->pendingq, list) {
753 list_del_init(&ap_msg->list);
755 ap_dev->drv->receive(ap_dev, ap_msg, ERR_PTR(-ENODEV));
757 list_for_each_entry_safe(ap_msg, next, &ap_dev->requestq, list) {
758 list_del_init(&ap_msg->list);
760 ap_dev->drv->receive(ap_dev, ap_msg, ERR_PTR(-ENODEV));
1201 struct ap_message *ap_msg;
1211 list_for_each_entry(ap_msg, &ap_dev->pendingq, list) {
1212 if (ap_msg->psmid != ap_dev->reply->psmid)
1214 list_del_init(&ap_msg->list);
1216 ap_dev->drv->receive(ap_dev, ap_msg, ap_dev->reply);
1250 struct ap_message *ap_msg;
1256 ap_msg = list_entry(ap_dev->requestq.next, struct ap_message, list);
1257 status = __ap_send(ap_dev->qid, ap_msg->psmid,
1258 ap_msg->message, ap_msg->length, ap_msg->special);
1263 list_move_tail(&ap_msg->list, &ap_dev->pendingq);
1307 * @ap_msg: the message to be queued
1311 static int __ap_queue_message(struct ap_device *ap_dev, struct ap_message *ap_msg)
1317 status = __ap_send(ap_dev->qid, ap_msg->psmid,
1318 ap_msg->message, ap_msg->length,
1319 ap_msg->special);
1322 list_add_tail(&ap_msg->list, &ap_dev->pendingq);
1330 list_add_tail(&ap_msg->list, &ap_dev->requestq);
1336 ap_dev->drv->receive(ap_dev, ap_msg, ERR_PTR(-EINVAL));
1339 ap_dev->drv->receive(ap_dev, ap_msg, ERR_PTR(-ENODEV));
1343 list_add_tail(&ap_msg->list, &ap_dev->requestq);
1352 void ap_queue_message(struct ap_device *ap_dev, struct ap_message *ap_msg)
1362 rc = __ap_queue_message(ap_dev, ap_msg);
1368 ap_dev->drv->receive(ap_dev, ap_msg, ERR_PTR(-ENODEV));
1380 * @ap_msg: The message that is to be removed
1387 void ap_cancel_message(struct ap_device *ap_dev, struct ap_message *ap_msg)
1392 if (!list_empty(&ap_msg->list)) {
1394 if (tmp->psmid == ap_msg->psmid) {
1400 list_del_init(&ap_msg->list);