Lines Matching refs:registration
468 struct xpc_registration *registration = &xpc_registrations[ch->number]; in xpc_connect_channel() local
470 if (mutex_trylock(®istration->mutex) == 0) in xpc_connect_channel()
474 mutex_unlock(®istration->mutex); in xpc_connect_channel()
485 mutex_unlock(®istration->mutex); in xpc_connect_channel()
491 ch->kthreads_assigned_limit = registration->assigned_limit; in xpc_connect_channel()
492 ch->kthreads_idle_limit = registration->idle_limit; in xpc_connect_channel()
497 ch->func = registration->func; in xpc_connect_channel()
498 DBUG_ON(registration->func == NULL); in xpc_connect_channel()
499 ch->key = registration->key; in xpc_connect_channel()
501 ch->local_nentries = registration->nentries; in xpc_connect_channel()
504 if (registration->entry_size != ch->entry_size) { in xpc_connect_channel()
516 mutex_unlock(®istration->mutex); in xpc_connect_channel()
523 ch->entry_size = registration->entry_size; in xpc_connect_channel()
531 mutex_unlock(®istration->mutex); in xpc_connect_channel()