Lines Matching refs:DBUG_ON

38 	DBUG_ON(!(ch->flags & XPC_C_CONNECTING));  in xpc_process_connect()
90 DBUG_ON(!(ch->flags & XPC_C_CLOSEREQUEST)); in xpc_process_disconnect()
98 DBUG_ON((ch->flags & XPC_C_CONNECTEDCALLOUT_MADE) && in xpc_process_disconnect()
136 DBUG_ON(atomic_read(&ch->n_to_notify) != 0); in xpc_process_disconnect()
221 DBUG_ON(!(ch->flags & XPC_C_DISCONNECTING)); in xpc_process_openclose_chctl_flags()
222 DBUG_ON(!(ch->flags & XPC_C_CLOSEREQUEST)); in xpc_process_openclose_chctl_flags()
223 DBUG_ON(!(ch->flags & XPC_C_CLOSEREPLY)); in xpc_process_openclose_chctl_flags()
224 DBUG_ON(ch->flags & XPC_C_RCLOSEREPLY); in xpc_process_openclose_chctl_flags()
226 DBUG_ON(!(chctl_flags & XPC_CHCTL_CLOSEREPLY)); in xpc_process_openclose_chctl_flags()
232 DBUG_ON(!(ch->flags & XPC_C_DISCONNECTED)); in xpc_process_openclose_chctl_flags()
241 DBUG_ON(ch->delayed_chctl_flags != 0); in xpc_process_openclose_chctl_flags()
276 DBUG_ON(chctl_flags & XPC_CHCTL_CLOSEREPLY); in xpc_process_openclose_chctl_flags()
289 DBUG_ON(part->act_state != XPC_P_AS_DEACTIVATING); in xpc_process_openclose_chctl_flags()
293 DBUG_ON(!(ch->flags & XPC_C_CLOSEREQUEST)); in xpc_process_openclose_chctl_flags()
299 DBUG_ON(ch->delayed_chctl_flags != 0); in xpc_process_openclose_chctl_flags()
332 DBUG_ON(!(ch->flags & (XPC_C_DISCONNECTED | in xpc_process_openclose_chctl_flags()
334 DBUG_ON(ch->flags & (XPC_C_ROPENREQUEST | XPC_C_ROPENREPLY | in xpc_process_openclose_chctl_flags()
385 DBUG_ON(!(ch->flags & XPC_C_ROPENREQUEST)); in xpc_process_openclose_chctl_flags()
386 DBUG_ON(ch->flags & XPC_C_CONNECTED); in xpc_process_openclose_chctl_flags()
395 DBUG_ON(args->local_msgqueue_pa == 0); in xpc_process_openclose_chctl_flags()
396 DBUG_ON(args->local_nentries == 0); in xpc_process_openclose_chctl_flags()
397 DBUG_ON(args->remote_nentries == 0); in xpc_process_openclose_chctl_flags()
444 DBUG_ON(!(ch->flags & XPC_C_ROPENREQUEST)); in xpc_process_openclose_chctl_flags()
445 DBUG_ON(!(ch->flags & XPC_C_ROPENREPLY)); in xpc_process_openclose_chctl_flags()
446 DBUG_ON(!(ch->flags & XPC_C_CONNECTED)); in xpc_process_openclose_chctl_flags()
480 DBUG_ON(ch->flags & XPC_C_CONNECTED); in xpc_connect_channel()
481 DBUG_ON(ch->flags & XPC_C_OPENREQUEST); in xpc_connect_channel()
493 DBUG_ON(atomic_read(&ch->kthreads_assigned) != 0); in xpc_connect_channel()
494 DBUG_ON(atomic_read(&ch->kthreads_idle) != 0); in xpc_connect_channel()
495 DBUG_ON(atomic_read(&ch->kthreads_active) != 0); in xpc_connect_channel()
498 DBUG_ON(registration->func == NULL); in xpc_connect_channel()
590 DBUG_ON(ch_flags & XPC_C_SETUP); in xpc_process_sent_chctl_flags()
660 DBUG_ON(ch_number < 0 || ch_number >= XPC_MAX_NCHANNELS); in xpc_initiate_connect()
714 DBUG_ON(ch_number < 0 || ch_number >= XPC_MAX_NCHANNELS); in xpc_initiate_disconnect()
763 DBUG_ON(!(ch->flags & (XPC_C_CONNECTING | XPC_C_CONNECTED))); in xpc_disconnect_channel()
831 DBUG_ON(ch->reason == xpInterrupted); in xpc_allocate_msg_wait()
843 DBUG_ON(ch->reason == xpInterrupted); in xpc_allocate_msg_wait()
881 DBUG_ON(partid < 0 || partid >= xp_max_npartitions); in xpc_initiate_send()
882 DBUG_ON(ch_number < 0 || ch_number >= part->nchannels); in xpc_initiate_send()
883 DBUG_ON(payload == NULL); in xpc_initiate_send()
932 DBUG_ON(partid < 0 || partid >= xp_max_npartitions); in xpc_initiate_send_notify()
933 DBUG_ON(ch_number < 0 || ch_number >= part->nchannels); in xpc_initiate_send_notify()
934 DBUG_ON(payload == NULL); in xpc_initiate_send_notify()
935 DBUG_ON(func == NULL); in xpc_initiate_send_notify()
1003 DBUG_ON(partid < 0 || partid >= xp_max_npartitions); in xpc_initiate_received()
1004 DBUG_ON(ch_number < 0 || ch_number >= part->nchannels); in xpc_initiate_received()