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