Searched refs:nthreads (Results 1 - 6 of 6) sorted by relevance
/osnet-11/usr/src/lib/libzpool/common/ |
H A D | taskq.c | 191 taskq_create(const char *name, int nthreads, pri_t pri, argument 199 ASSERT3S(nthreads, >=, 0); 200 ASSERT3S(nthreads, <=, 100); 201 pct = MIN(nthreads, 100); 204 nthreads = (sysconf(_SC_NPROCESSORS_ONLN) * pct) / 100; 205 nthreads = MAX(nthreads, 1); /* need at least 1 thread */ 207 ASSERT3S(nthreads, >=, 1); 216 tq->tq_active = nthreads; 217 tq->tq_nthreads = nthreads; 242 int nthreads = tq->tq_nthreads; local [all...] |
/osnet-11/usr/src/lib/libc/port/threads/ |
H A D | alloc.c | 213 ASSERT(udp->nthreads == 0);
|
H A D | thr.c | 121 0, /* nthreads */ 278 ASSERT(udp->nthreads <= 1 || MUTEX_OWNED(&udp->link_lock, self)); 467 ASSERT(udp->nthreads <= 1 || MUTEX_OWNED(&udp->link_lock, curthread)); 698 udp->nthreads++; 760 udp->nthreads--; 765 else if (udp->nthreads == udp->ndaemons) { 1351 ASSERT(udp->nthreads == 1 && !udp->uberflags.uf_mt); 1360 udp->nthreads = 1; 1619 udp->nthreads = 1; 2356 return (curthread->ul_uberdata->nthreads); [all...] |
/osnet-11/usr/src/lib/libc/inc/ |
H A D | thr_uberdata.h | 892 int nthreads; /* total number of live threads/lwps */ member in struct:uberdata 1103 int nthreads; member in struct:uberdata32
|
/osnet-11/usr/src/lib/libc_db/common/ |
H A D | thread_db.c | 583 int nthreads; local 590 offsetof(uberdata_t, nthreads); 596 offsetof(uberdata32_t, nthreads); 609 if (ps_pdread(ph_p, nthreads_addr, &nthreads, sizeof (int)) != PS_OK) 615 *nthread_p = nthreads + nzombies;
|
/osnet-11/usr/src/cmd/perl/contrib/Sun/Solaris/Kstat/ |
H A D | Kstat.xs | 239 SAVE_UINT32(self, sysinfop, nthreads);
|
Completed in 43 milliseconds