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

Lines Matching refs:msg_slot

1083 	struct xpc_send_msg_slot_uv *msg_slot;
1096 msg_slot = &ch_uv->send_msg_slots[entry];
1098 msg_slot->msg_slot_number = entry;
1100 &msg_slot->next);
1117 struct xpc_notify_mq_msg_uv *msg_slot;
1130 msg_slot = ch_uv->recv_msg_slots +
1133 msg_slot->hdr.msg_slot_number = entry;
1330 struct xpc_send_msg_slot_uv *msg_slot;
1346 msg_slot = container_of(entry, struct xpc_send_msg_slot_uv, next);
1347 *address_of_msg_slot = msg_slot;
1353 struct xpc_send_msg_slot_uv *msg_slot)
1355 xpc_put_fifo_entry_uv(&ch->sn.uv.msg_slot_free_list, &msg_slot->next);
1364 struct xpc_send_msg_slot_uv *msg_slot,
1367 xpc_notify_func func = msg_slot->func;
1369 if (func != NULL && cmpxchg(&msg_slot->func, func, NULL) == func) {
1373 dev_dbg(xpc_chan, "msg_slot->func() called, msg_slot=0x%p "
1374 "msg_slot_number=%d partid=%d channel=%d\n", msg_slot,
1375 msg_slot->msg_slot_number, ch->partid, ch->number);
1377 func(reason, ch->partid, ch->number, msg_slot->key);
1379 dev_dbg(xpc_chan, "msg_slot->func() returned, msg_slot=0x%p "
1380 "msg_slot_number=%d partid=%d channel=%d\n", msg_slot,
1381 msg_slot->msg_slot_number, ch->partid, ch->number);
1389 struct xpc_send_msg_slot_uv *msg_slot;
1392 msg_slot = &ch->sn.uv.send_msg_slots[entry];
1394 BUG_ON(msg_slot->msg_slot_number != msg->hdr.msg_slot_number);
1395 msg_slot->msg_slot_number += ch->local_nentries;
1397 if (msg_slot->func != NULL)
1398 xpc_notify_sender_uv(ch, msg_slot, xpMsgDelivered);
1400 xpc_free_msg_slot_uv(ch, msg_slot);
1410 struct xpc_notify_mq_msg_uv *msg_slot;
1449 msg_slot = ch_uv->recv_msg_slots +
1452 BUG_ON(msg_slot->hdr.size != 0);
1454 memcpy(msg_slot, msg, msg->hdr.size);
1456 xpc_put_fifo_entry_uv(&ch_uv->recv_msg_list, &msg_slot->hdr.u.next);
1533 struct xpc_send_msg_slot_uv *msg_slot = NULL;
1555 ret = xpc_allocate_msg_slot_uv(ch, flags, &msg_slot);
1562 msg_slot->key = key;
1564 msg_slot->func = func;
1576 msg->hdr.msg_slot_number = msg_slot->msg_slot_number;
1588 * Try to NULL the msg_slot's func field. If we fail, then
1595 * to put the the msg_slot back on the free list.
1597 if (cmpxchg(&msg_slot->func, func, NULL) != func) {
1602 msg_slot->key = NULL;
1605 xpc_free_msg_slot_uv(ch, msg_slot);
1621 struct xpc_send_msg_slot_uv *msg_slot;
1631 msg_slot = &ch->sn.uv.send_msg_slots[entry];
1632 if (msg_slot->func != NULL)
1633 xpc_notify_sender_uv(ch, msg_slot, ch->reason);