Lines Matching refs:ch_number
183 xpc_process_openclose_chctl_flags(struct xpc_partition *part, int ch_number,
188 &part->remote_openclose_args[ch_number];
189 struct xpc_channel *ch = &part->channels[ch_number];
238 if (part->chctl.flags[ch_number] &
243 part->chctl.flags[ch_number] |=
296 if (part->chctl.flags[ch_number] &
301 part->chctl.flags[ch_number] |=
551 int ch_number;
563 for (ch_number = 0; ch_number < part->nchannels; ch_number++) {
564 ch = &part->channels[ch_number];
571 if (chctl.flags[ch_number] & XPC_OPENCLOSE_CHCTL_FLAGS) {
572 xpc_process_openclose_chctl_flags(part, ch_number,
573 chctl.flags[ch_number]);
602 if (chctl.flags[ch_number] & XPC_MSG_CHCTL_FLAGS)
603 xpc_arch_ops.process_msg_chctl_flags(part, ch_number);
620 int ch_number;
633 for (ch_number = 0; ch_number < part->nchannels; ch_number++) {
634 ch = &part->channels[ch_number];
655 xpc_initiate_connect(int ch_number)
661 DBUG_ON(ch_number < 0 || ch_number >= XPC_MAX_NCHANNELS);
667 ch = &part->channels[ch_number];
707 * ch_number - channel # to unregister.
710 xpc_initiate_disconnect(int ch_number)
717 DBUG_ON(ch_number < 0 || ch_number >= XPC_MAX_NCHANNELS);
724 ch = &part->channels[ch_number];
743 xpc_disconnect_wait(ch_number);
866 * ch_number - channel # to send message on.
872 xpc_initiate_send(short partid, int ch_number, u32 flags, void *payload,
879 partid, ch_number);
882 DBUG_ON(ch_number < 0 || ch_number >= part->nchannels);
886 ret = xpc_arch_ops.send_payload(&part->channels[ch_number],
914 * ch_number - channel # to send message on.
923 xpc_initiate_send_notify(short partid, int ch_number, u32 flags, void *payload,
930 partid, ch_number);
933 DBUG_ON(ch_number < 0 || ch_number >= part->nchannels);
938 ret = xpc_arch_ops.send_payload(&part->channels[ch_number],
993 * ch_number - channel # message received on.
998 xpc_initiate_received(short partid, int ch_number, void *payload)
1004 DBUG_ON(ch_number < 0 || ch_number >= part->nchannels);
1006 ch = &part->channels[ch_number];