Searched refs:nlwpid (Results 1 – 2 of 2) sorted by relevance
382 int nlwpid = 0; in rw_queue_release() local449 if (nlwpid == maxlwps) in rw_queue_release()450 lwpid = alloc_lwpids(lwpid, &nlwpid, &maxlwps); in rw_queue_release()463 lwpid[nlwpid++] = ulwp->ul_lwpid; in rw_queue_release()476 if (nlwpid == 0) { in rw_queue_release()482 if (nlwpid == 1) in rw_queue_release()485 (void) __lwp_unpark_all(lwpid, nlwpid); in rw_queue_release()
1642 int nlwpid = 0; in mutex_wakeup_all() local1673 if (nlwpid == maxlwps) in mutex_wakeup_all()1674 lwpid = alloc_lwpids(lwpid, &nlwpid, &maxlwps); in mutex_wakeup_all()1675 lwpid[nlwpid++] = ulwp->ul_lwpid; in mutex_wakeup_all()1678 if (nlwpid == 0) { in mutex_wakeup_all()1684 if (nlwpid == 1) in mutex_wakeup_all()1687 (void) __lwp_unpark_all(lwpid, nlwpid); in mutex_wakeup_all()3747 int nlwpid = *nlwpid_ptr; in alloc_lwpids() local3753 ASSERT(nlwpid == maxlwps); in alloc_lwpids()3766 (void) __lwp_unpark_all(lwpid, nlwpid); in alloc_lwpids()[all …]