Lines Matching defs:reason
161 "reason=%d\n", ch->number, ch->partid, ch->reason);
190 enum xp_retval reason;
210 dev_dbg(xpc_chan, "XPC_CHCTL_CLOSEREQUEST (reason=%d) received "
211 "from partid=%d, channel=%d\n", args->reason,
262 * reason = reason connection is to be closed
268 reason = args->reason;
269 if (reason <= xpSuccess || reason > xpUnknownReason)
270 reason = xpUnknownReason;
271 else if (reason == xpUnregistering)
272 reason = xpOtherUnregistering;
274 XPC_DISCONNECT_CHANNEL(ch, reason, &irq_flags);
486 return ch->reason;
617 xpc_partition_going_down(struct xpc_partition *part, enum xp_retval reason)
623 dev_dbg(xpc_chan, "deactivating partition %d, reason=%d\n",
624 XPC_PARTID(part), reason);
639 XPC_DISCONNECT_CHANNEL(ch, reason, &irq_flags);
682 dev_dbg(xpc_chan, "ch->func() called, reason=xpConnected, "
688 dev_dbg(xpc_chan, "ch->func() returned, reason=xpConnected, "
754 enum xp_retval reason, unsigned long *irq_flags)
765 dev_dbg(xpc_chan, "reason=%d, line=%d, partid=%d, channel=%d\n",
766 reason, line, ch->partid, ch->number);
768 XPC_SET_REASON(ch, reason, line);
801 xpc_disconnect_callout(struct xpc_channel *ch, enum xp_retval reason)
810 dev_dbg(xpc_chan, "ch->func() called, reason=%d, partid=%d, "
811 "channel=%d\n", reason, ch->partid, ch->number);
813 ch->func(reason, ch->partid, ch->number, NULL, ch->key);
815 dev_dbg(xpc_chan, "ch->func() returned, reason=%d, partid=%d, "
816 "channel=%d\n", reason, ch->partid, ch->number);
831 DBUG_ON(ch->reason == xpInterrupted);
832 return ch->reason;
842 ret = ch->reason;
843 DBUG_ON(ch->reason == xpInterrupted);