Home
last modified time | relevance | path

Searched refs:ch_number (Results 1 – 7 of 7) sorted by relevance

/drivers/misc/sgi-xp/
Dxpc_channel.c183 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()
[all …]
Dxp_main.c157 xpc_connect(int ch_number, xpc_channel_func func, void *key, u16 payload_size, in xpc_connect() argument
162 DBUG_ON(ch_number < 0 || ch_number >= XPC_MAX_NCHANNELS); in xpc_connect()
170 registration = &xpc_registrations[ch_number]; in xpc_connect()
191 xpc_interface.connect(ch_number); in xpc_connect()
211 xpc_disconnect(int ch_number) in xpc_disconnect() argument
215 DBUG_ON(ch_number < 0 || ch_number >= XPC_MAX_NCHANNELS); in xpc_disconnect()
217 registration = &xpc_registrations[ch_number]; in xpc_disconnect()
240 xpc_interface.disconnect(ch_number); in xpc_disconnect()
252 int ch_number; in xp_init() local
255 for (ch_number = 0; ch_number < XPC_MAX_NCHANNELS; ch_number++) in xp_init()
[all …]
Dxpc.h258 short ch_number; member
264 short ch_number; member
269 short ch_number; member
276 short ch_number; member
284 short ch_number; member
383 u8 ch_number; /* FOR XPC INTERNAL USE ONLY */ member
648 int ch_number; in xpc_any_openclose_chctl_flags_set() local
650 for (ch_number = 0; ch_number < XPC_MAX_NCHANNELS; ch_number++) { in xpc_any_openclose_chctl_flags_set()
651 if (chctl->flags[ch_number] & XPC_OPENCLOSE_CHCTL_FLAGS) in xpc_any_openclose_chctl_flags_set()
660 int ch_number; in xpc_any_msg_chctl_flags_set() local
[all …]
Dxp.h226 int ch_number, void *data, void *key);
251 int ch_number, void *key);
309 xpc_send(short partid, int ch_number, u32 flags, void *payload, in xpc_send() argument
312 return xpc_interface.send(partid, ch_number, flags, payload, in xpc_send()
317 xpc_send_notify(short partid, int ch_number, u32 flags, void *payload, in xpc_send_notify() argument
320 return xpc_interface.send_notify(partid, ch_number, flags, payload, in xpc_send_notify()
325 xpc_received(short partid, int ch_number, void *payload) in xpc_received() argument
327 return xpc_interface.received(partid, ch_number, payload); in xpc_received()
Dxpc_uv.c493 args = &part->remote_openclose_args[msg->ch_number]; in xpc_handle_activate_mq_msg_uv()
497 part->chctl.flags[msg->ch_number] |= XPC_CHCTL_CLOSEREQUEST; in xpc_handle_activate_mq_msg_uv()
514 part->chctl.flags[msg->ch_number] |= XPC_CHCTL_CLOSEREPLY; in xpc_handle_activate_mq_msg_uv()
529 args = &part->remote_openclose_args[msg->ch_number]; in xpc_handle_activate_mq_msg_uv()
534 part->chctl.flags[msg->ch_number] |= XPC_CHCTL_OPENREQUEST; in xpc_handle_activate_mq_msg_uv()
548 args = &part->remote_openclose_args[msg->ch_number]; in xpc_handle_activate_mq_msg_uv()
554 part->chctl.flags[msg->ch_number] |= XPC_CHCTL_OPENREPLY; in xpc_handle_activate_mq_msg_uv()
569 part->chctl.flags[msg->ch_number] |= XPC_CHCTL_OPENCOMPLETE; in xpc_handle_activate_mq_msg_uv()
1015 int ch_number; in xpc_setup_ch_structures_uv() local
1017 for (ch_number = 0; ch_number < part->nchannels; ch_number++) { in xpc_setup_ch_structures_uv()
[all …]
Dxpc_main.c411 int ch_number; in xpc_setup_ch_structures() local
450 for (ch_number = 0; ch_number < part->nchannels; ch_number++) { in xpc_setup_ch_structures()
451 ch = &part->channels[ch_number]; in xpc_setup_ch_structures()
454 ch->number = ch_number; in xpc_setup_ch_structures()
691 u16 ch_number = XPC_UNPACK_ARG2(args); in xpc_kthread_start() local
700 partid, ch_number); in xpc_kthread_start()
702 ch = &part->channels[ch_number]; in xpc_kthread_start()
760 partid, ch_number); in xpc_kthread_start()
854 xpc_disconnect_wait(int ch_number) in xpc_disconnect_wait() argument
869 ch = &part->channels[ch_number]; in xpc_disconnect_wait()
Dxpc_sn2.c1175 int ch_number; in xpc_setup_ch_structures_sn2() local
1242 for (ch_number = 0; ch_number < part->nchannels; ch_number++) { in xpc_setup_ch_structures_sn2()
1243 ch_sn2 = &part->channels[ch_number].sn.sn2; in xpc_setup_ch_structures_sn2()
1245 ch_sn2->local_GP = &part_sn2->local_GPs[ch_number]; in xpc_setup_ch_structures_sn2()
1247 &part_sn2->local_openclose_args[ch_number]; in xpc_setup_ch_structures_sn2()
1808 xpc_process_msg_chctl_flags_sn2(struct xpc_partition *part, int ch_number) in xpc_process_msg_chctl_flags_sn2() argument
1810 struct xpc_channel *ch = &part->channels[ch_number]; in xpc_process_msg_chctl_flags_sn2()
1814 ch_sn2->remote_GP = part->sn.sn2.remote_GPs[ch_number]; in xpc_process_msg_chctl_flags_sn2()