Lines Matching refs: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
211 "from partid=%d, channel=%d\n", args->reason, 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
624 XPC_PARTID(part), reason); in xpc_partition_going_down()
639 XPC_DISCONNECT_CHANNEL(ch, reason, &irq_flags); in xpc_partition_going_down()
754 enum xp_retval reason, unsigned long *irq_flags) in xpc_disconnect_channel() argument
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
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()
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()