Lines Matching refs:ks_listeners
107 volatile struct kauth_local_listener ks_listeners[KAUTH_SCOPE_MAX_LISTENERS];
191 bzero(&sp->ks_listeners, sizeof(sp->ks_listeners));
283 if (scope->ks_listeners[i].kll_listenerp != NULL) {
284 TAILQ_INSERT_TAIL(&kauth_dangling_listeners, scope->ks_listeners[i].kll_listenerp, kl_link);
285 scope->ks_listeners[i].kll_listenerp = NULL;
349 if (sp->ks_listeners[i].kll_listenerp == listener) {
350 sp->ks_listeners[i].kll_listenerp = NULL;
357 else if (sp->ks_listeners[i].kll_listenerp != NULL) {
416 if (scope->ks_listeners[i].kll_listenerp == NULL ||
417 scope->ks_listeners[i].kll_callback == NULL)
420 ret = scope->ks_listeners[i].kll_callback(
421 credential, scope->ks_listeners[i].kll_idata,
1161 if (sp->ks_listeners[i].kll_listenerp == NULL) {
1162 sp->ks_listeners[i].kll_callback = klp->kl_callback;
1163 sp->ks_listeners[i].kll_idata = klp->kl_idata;
1164 sp->ks_listeners[i].kll_listenerp = klp;