Lines Matching refs:nthreads
710 int nthreads;
831 nthreads = p->p_lwpcnt;
836 if (nthreads < 1)
845 aff_buf_array = kmem_zalloc(nthreads *
849 for (i = 0; i < nthreads; i++)
868 for (i = 0; i < nthreads; i++)
871 nthreads * sizeof (lgrp_affinity_t *));
881 if (nthreads != p->p_lwpcnt) {
884 for (i = 0; i < nthreads; i++)
887 nthreads * sizeof (lgrp_affinity_t *));
905 for (i = 0; i < nthreads; i++)
909 nthreads * sizeof (lgrp_affinity_t *));
913 } while (nthreads != p->p_lwpcnt);