Home
last modified time | relevance | path

Searched refs:p_lwpcnt (Results 1 – 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/uts/common/syscall/
H A Dtasksys.c117 if (kpj->kpj_nlwps + p->p_lwpcnt > kpj->kpj_nlwps_ctl) in tasksys_settaskid()
119 p->p_lwpcnt, 0) & RCT_DENY) in tasksys_settaskid()
158 kpj->kpj_nlwps += p->p_lwpcnt; in tasksys_settaskid()
166 oldpj->kpj_nlwps -= p->p_lwpcnt; in tasksys_settaskid()
H A Dlwpsys.c290 p->p_lwpcnt == p->p_lwpdaemon + in lwp_wait()
319 p->p_lwpcnt == p->p_lwpdaemon + in lwp_wait()
H A Dlgrpsys.c681 ASSERT(i < p->p_lwpcnt); in lgrp_affinity_set_proc()
832 nthreads = p->p_lwpcnt; in lgrp_affinity_set()
882 if (nthreads != p->p_lwpcnt) { in lgrp_affinity_set()
914 } while (nthreads != p->p_lwpcnt); in lgrp_affinity_set()
/illumos-gate/usr/src/uts/common/exec/elf/
H A Dold_notes.c69 int nlwp = p->p_lwpcnt; in setup_old_note_header()
136 nlwp = p->p_lwpcnt; in write_old_elfnotes()
H A Delf_notes.c77 int nlwp = p->p_lwpcnt; in setup_note_header()
517 nlwp = p->p_lwpcnt; in write_elfnotes()
/illumos-gate/usr/src/uts/common/os/
H A Dlwp.c656 p->p_lwpcnt++; in lwp_create()
925 p->p_lwpcnt == p->p_lwpdaemon + 1) { in lwp_exit()
975 ASSERT(p->p_lwpcnt != 0); in lwp_exit()
976 p->p_lwpcnt--; in lwp_exit()
983 if (p->p_lwpcnt == p->p_lwpdaemon + (p->p_lwpwait - p->p_lwpdwait)) in lwp_exit()
1739 if ((heldcnt = p->p_lwpcnt) > 1) { in exitlwps()
1751 while (p->p_lwpcnt > 1) { in exitlwps()
1756 ASSERT(p->p_lwpcnt == 1 && p->p_lwprcnt == 1); in exitlwps()
1817 clwp = lwp_create(cp->p_lwpcnt == 0 ? lwp_rtt_initial : lwp_rtt, in forklwp()
H A Dtask.c725 oldtk->tk_nlwps -= p->p_lwpcnt; in task_change()
730 newtk->tk_nlwps += p->p_lwpcnt; in task_change()
996 task0p->tk_nlwps = p->p_lwpcnt; in task_init()
H A Dsched.c735 if (pp->p_swapcnt == pp->p_lwpcnt) { in swapout()
901 if (pp->p_swapcnt == pp->p_lwpcnt) { in process_swap_queue()
H A Dschedctl.c188 ASSERT(p->p_lwpcnt == 1); /* we are single-threaded now */ in schedctl_proc_cleanup()
H A Dexit.c663 ASSERT(p->p_lwpcnt == 1 && p->p_zombcnt == 0); in proc_exit()
668 p->p_lwpcnt = 0; in proc_exit()
H A Dzone.c2279 zone0.zone_nlwps = p0.p_lwpcnt; in zone_init()
3904 pj->kpj_nlwps -= pp->p_lwpcnt; in zsched()
3905 global_zone->zone_nlwps -= pp->p_lwpcnt; in zsched()
3943 pj->kpj_nlwps += pp->p_lwpcnt; in zsched()
3945 zone->zone_nlwps += pp->p_lwpcnt; in zsched()
6096 zone_proj0->kpj_nlwps += pp->p_lwpcnt; in zone_enter()
6097 zone->zone_nlwps += pp->p_lwpcnt; in zone_enter()
6117 pp->p_zone->zone_nlwps -= pp->p_lwpcnt; in zone_enter()
6118 pp->p_task->tk_proj->kpj_nlwps -= pp->p_lwpcnt; in zone_enter()
H A Dfork.c738 p->p_lwpcnt--; in forklwp_fail()
1295 ASSERT((unsigned)p->p_lwpcnt <= 1); in relvm()
H A Dpool.c1243 nlwp = p->p_lwpcnt + p->p_zombcnt + 1; in pool_change_class()
1552 ASSERT(p->p_lwpcnt == 0); in pool_do_bind()
H A Dproject.c1065 proj0p->kpj_nlwps = p0.p_lwpcnt; in project_init()
H A Dcred.c334 if (p->p_lwpcnt > 1) { in crset()
H A Dfio.c711 ASSERT(ufp->uf_refcnt == 0 || p->p_lwpcnt > 1); in closeandsetf()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gcore.h45 int p_lwpcnt; member
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprvnops.c768 nlwp = p->p_lwpcnt; in pr_read_lstatus()
776 ASSERT(nlwp == p->p_lwpcnt); in pr_read_lstatus()
927 if ((nlwp = p->p_lwpcnt + p->p_zombcnt) == 0) { in pr_read_lpsinfo()
938 ASSERT(nlwp == p->p_lwpcnt + p->p_zombcnt); in pr_read_lpsinfo()
1321 if ((nlwp = p->p_lwpcnt) == 0) { in pr_read_lusage()
1337 ASSERT(nlwp == p->p_lwpcnt); in pr_read_lusage()
2046 nlwp = p->p_lwpcnt; in pr_read_lstatus_32()
2054 ASSERT(nlwp == p->p_lwpcnt); in pr_read_lstatus_32()
2127 if ((nlwp = p->p_lwpcnt + p->p_zombcnt) == 0) { in pr_read_lpsinfo_32()
2138 ASSERT(nlwp == p->p_lwpcnt + p->p_zombcnt); in pr_read_lpsinfo_32()
[all …]
H A Dprioctl.c544 Nlwp = nlwp = p->p_lwpcnt; in prioctl64()
842 nlwp = Nlwp = p->p_lwpcnt; in prioctl64()
1116 nlwp = Nlwp = (pcp->prc_flags & PRC_DESTROY)? 0 : p->p_lwpcnt; in prioctl64()
1408 sp->pr_nlwp = p->p_lwpcnt; in oprgetstatus32()
2103 Nlwp = nlwp = p->p_lwpcnt; in prioctl32()
2436 nlwp = Nlwp = p->p_lwpcnt; in prioctl32()
2718 nlwp = Nlwp = (pcp->prc_flags & PRC_DESTROY)? 0 : p->p_lwpcnt; in prioctl32()
3217 sp->pr_nlwp = p->p_lwpcnt; in oprgetstatus()
H A Dprsubr.c606 ASSERT(p->p_lwpcnt == 1 && p->p_zombcnt == 0); in prinvalidate()
891 sp->pr_nlwp = p->p_lwpcnt; in prgetstatus()
1137 sp->pr_nlwp = p->p_lwpcnt; in prgetstatus32()
2491 psp->pr_nlwp = p->p_lwpcnt; in prgetpsinfo()
2573 if (p->p_lwpcnt == 1) in prgetpsinfo()
3155 psp->pr_nlwp = p->p_lwpcnt; in prgetpsinfo32()
3236 if (p->p_lwpcnt == 1) in prgetpsinfo32()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmlsetup.c349 t0.t_tid = p0.p_lwpcnt = p0.p_lwprcnt = p0.p_lwpid = 1; in mlsetup()
/illumos-gate/usr/src/uts/sun4/os/
H A Dmlsetup.c172 t0.t_tid = p0.p_lwpcnt = p0.p_lwprcnt = p0.p_lwpid = 1; in mlsetup()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c817 pc->pc_nlwp = p->p_lwpcnt; in pcommon_init()
1846 int nlwp = p->p_lwpcnt; in Plstatus_gcore()
1857 int nlwp = p->p_lwpcnt + p->p_zombcnt; in Plpsinfo_gcore()
/illumos-gate/usr/src/uts/common/sys/
H A Dproc.h220 int p_lwpcnt; /* number of lwps in this process */ member
/illumos-gate/usr/src/lib/libdtrace/common/
H A Dprocfs.d.in221 pr_nlwp = T->p_lwpcnt;

12