Lines Matching refs:ch_number
183 xpc_process_openclose_chctl_flags(struct xpc_partition *part, int ch_number, in xpc_process_openclose_chctl_flags() argument
188 &part->remote_openclose_args[ch_number]; in xpc_process_openclose_chctl_flags()
189 struct xpc_channel *ch = &part->channels[ch_number]; in xpc_process_openclose_chctl_flags()
238 if (part->chctl.flags[ch_number] & in xpc_process_openclose_chctl_flags()
243 part->chctl.flags[ch_number] |= in xpc_process_openclose_chctl_flags()
296 if (part->chctl.flags[ch_number] & in xpc_process_openclose_chctl_flags()
301 part->chctl.flags[ch_number] |= in xpc_process_openclose_chctl_flags()
551 int ch_number; in xpc_process_sent_chctl_flags() local
563 for (ch_number = 0; ch_number < part->nchannels; ch_number++) { in xpc_process_sent_chctl_flags()
564 ch = &part->channels[ch_number]; in xpc_process_sent_chctl_flags()
571 if (chctl.flags[ch_number] & XPC_OPENCLOSE_CHCTL_FLAGS) { in xpc_process_sent_chctl_flags()
572 xpc_process_openclose_chctl_flags(part, ch_number, in xpc_process_sent_chctl_flags()
573 chctl.flags[ch_number]); in xpc_process_sent_chctl_flags()
602 if (chctl.flags[ch_number] & XPC_MSG_CHCTL_FLAGS) in xpc_process_sent_chctl_flags()
603 xpc_arch_ops.process_msg_chctl_flags(part, ch_number); in xpc_process_sent_chctl_flags()
620 int ch_number; in xpc_partition_going_down() local
633 for (ch_number = 0; ch_number < part->nchannels; ch_number++) { in xpc_partition_going_down()
634 ch = &part->channels[ch_number]; in xpc_partition_going_down()
655 xpc_initiate_connect(int ch_number) in xpc_initiate_connect() argument
660 DBUG_ON(ch_number < 0 || ch_number >= XPC_MAX_NCHANNELS); in xpc_initiate_connect()
707 xpc_initiate_disconnect(int ch_number) in xpc_initiate_disconnect() argument
714 DBUG_ON(ch_number < 0 || ch_number >= XPC_MAX_NCHANNELS); in xpc_initiate_disconnect()
721 ch = &part->channels[ch_number]; in xpc_initiate_disconnect()
740 xpc_disconnect_wait(ch_number); in xpc_initiate_disconnect()
872 xpc_initiate_send(short partid, int ch_number, u32 flags, void *payload, in xpc_initiate_send() argument
879 partid, ch_number); in xpc_initiate_send()
882 DBUG_ON(ch_number < 0 || ch_number >= part->nchannels); in xpc_initiate_send()
886 ret = xpc_arch_ops.send_payload(&part->channels[ch_number], in xpc_initiate_send()
923 xpc_initiate_send_notify(short partid, int ch_number, u32 flags, void *payload, in xpc_initiate_send_notify() argument
930 partid, ch_number); in xpc_initiate_send_notify()
933 DBUG_ON(ch_number < 0 || ch_number >= part->nchannels); in xpc_initiate_send_notify()
938 ret = xpc_arch_ops.send_payload(&part->channels[ch_number], in xpc_initiate_send_notify()
998 xpc_initiate_received(short partid, int ch_number, void *payload) in xpc_initiate_received() argument
1004 DBUG_ON(ch_number < 0 || ch_number >= part->nchannels); in xpc_initiate_received()
1006 ch = &part->channels[ch_number]; in xpc_initiate_received()