Lines Matching refs:mac_policy_busy
267 * for the list, stored in mac_policy_busy. The busy count is protected
284 static int mac_policy_busy;
416 while (mac_policy_busy != 0) {
418 (event_t)&mac_policy_busy, THREAD_UNINT);
427 KASSERT(mac_policy_busy == 0,
435 KASSERT(mac_policy_busy == 0,
438 thread_wakeup((event_t) &mac_policy_busy);
445 mac_policy_busy++;
459 mac_policy_busy++;
471 mac_policy_busy--;
472 KASSERT(mac_policy_busy >= 0, ("MAC_POLICY_LIST_LOCK"));
473 if (mac_policy_busy == 0)
474 thread_wakeup(&mac_policy_busy);