/illumos-gate/usr/src/uts/common/syscall/ |
H A D | tasksys.c | 117 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 D | lwpsys.c | 290 p->p_lwpcnt == p->p_lwpdaemon + in lwp_wait() 319 p->p_lwpcnt == p->p_lwpdaemon + in lwp_wait()
|
H A D | lgrpsys.c | 681 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 D | old_notes.c | 69 int nlwp = p->p_lwpcnt; in setup_old_note_header() 136 nlwp = p->p_lwpcnt; in write_old_elfnotes()
|
H A D | elf_notes.c | 77 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 D | lwp.c | 656 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 D | task.c | 725 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 D | sched.c | 735 if (pp->p_swapcnt == pp->p_lwpcnt) { in swapout() 901 if (pp->p_swapcnt == pp->p_lwpcnt) { in process_swap_queue()
|
H A D | schedctl.c | 188 ASSERT(p->p_lwpcnt == 1); /* we are single-threaded now */ in schedctl_proc_cleanup()
|
H A D | exit.c | 663 ASSERT(p->p_lwpcnt == 1 && p->p_zombcnt == 0); in proc_exit() 668 p->p_lwpcnt = 0; in proc_exit()
|
H A D | zone.c | 2279 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 D | fork.c | 738 p->p_lwpcnt--; in forklwp_fail() 1295 ASSERT((unsigned)p->p_lwpcnt <= 1); in relvm()
|
H A D | pool.c | 1243 nlwp = p->p_lwpcnt + p->p_zombcnt + 1; in pool_change_class() 1552 ASSERT(p->p_lwpcnt == 0); in pool_do_bind()
|
H A D | project.c | 1065 proj0p->kpj_nlwps = p0.p_lwpcnt; in project_init()
|
H A D | cred.c | 334 if (p->p_lwpcnt > 1) { in crset()
|
H A D | fio.c | 711 ASSERT(ufp->uf_refcnt == 0 || p->p_lwpcnt > 1); in closeandsetf()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_gcore.h | 45 int p_lwpcnt; member
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prvnops.c | 768 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 D | prioctl.c | 544 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 D | prsubr.c | 606 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 D | mlsetup.c | 349 t0.t_tid = p0.p_lwpcnt = p0.p_lwprcnt = p0.p_lwpid = 1; in mlsetup()
|
/illumos-gate/usr/src/uts/sun4/os/ |
H A D | mlsetup.c | 172 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 D | gcore.c | 817 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 D | proc.h | 220 int p_lwpcnt; /* number of lwps in this process */ member
|
/illumos-gate/usr/src/lib/libdtrace/common/ |
H A D | procfs.d.in | 221 pr_nlwp = T->p_lwpcnt;
|