Home
last modified time | relevance | path

Searched refs:p_tlist (Results 1 – 25 of 43) sorted by relevance

12

/illumos-gate/usr/src/uts/common/os/
H A Dbrand.c326 ASSERT(p->p_tlist == p->p_tlist->t_forw); in brand_setbrand()
339 ASSERT(!no_lwps || (p->p_tlist == NULL)); in brand_clearbrand()
347 ASSERT(p->p_tlist == p->p_tlist->t_forw); in brand_clearbrand()
348 lwp = p->p_tlist->t_lwp; in brand_clearbrand()
1017 ASSERT(curproc->p_tlist == curproc->p_tlist->t_forw); in brand_solaris_exec()
1108 ASSERT(p->p_tlist != p->p_tlist->t_forw); in brand_solaris_lwpexit()
1126 ASSERT(p->p_tlist == p->p_tlist->t_forw); in brand_solaris_proc_exit()
1127 ASSERT(p->p_tlist->t_lwp == l); in brand_solaris_proc_exit()
1146 ASSERT(p->p_tlist == p->p_tlist->t_forw); in brand_solaris_setbrand()
1149 (void) brand_solaris_initlwp(p->p_tlist->t_lwp, pbrand); in brand_solaris_setbrand()
H A Dsched.c217 t = prp->p_tlist; in sched()
231 } while ((t = t->t_forw) != prp->p_tlist); in sched()
274 t = prp->p_tlist; in sched()
285 } while ((t = t->t_forw) != prp->p_tlist); in sched()
418 t = prp->p_tlist; in sched()
429 } while ((t = t->t_forw) != prp->p_tlist); in sched()
546 tp = pp->p_tlist; in swapin()
616 } while ((tp = tp->t_forw) != pp->p_tlist); in swapin()
641 tp = pp->p_tlist; in swapout()
730 } while ((tp = tp->t_forw) != pp->p_tlist); in swapout()
H A Dfork.c491 t = cp->p_tlist; in cfork()
495 } while ((t = t->t_forw) != cp->p_tlist); in cfork()
507 t = p->p_tlist; in cfork()
511 } while ((t = t->t_forw) != p->p_tlist); in cfork()
554 t = cp->p_tlist; in cfork()
570 } while ((t = t->t_forw) != cp->p_tlist); in cfork()
598 CL_FORKRET(curthread, cp->p_tlist); in cfork()
730 while ((t = p->p_tlist) != NULL) { in forklwp_fail()
735 p->p_tlist = t->t_forw; in forklwp_fail()
737 p->p_tlist = NULL; in forklwp_fail()
H A Dsig.c164 kthread_t *t = p->p_tlist; in sig_discardable()
257 if ((tt = p->p_tlist) != NULL) { in sigtoproc()
267 if ((tt = p->p_tlist) != NULL) { in sigtoproc()
291 if ((tt = p->p_tlist) != NULL) { in sigtoproc()
322 } else if ((tt = p->p_tlist) != NULL) { in sigtoproc()
345 } while ((tt = tt->t_forw) != p->p_tlist); in sigtoproc()
825 if ((t = p->p_tlist) == NULL) in jobstopped()
839 } while ((t = t->t_forw) != p->p_tlist); in jobstopped()
1617 t = p->p_tlist; in setsigact()
1622 } while ((t = t->t_forw) != p->p_tlist); in setsigact()
[all …]
H A Dprocset.c136 prp->p_tlist == NULL || prp->p_flag & SSYS)) { in dotoprocs()
178 if (prp->p_flag & SSYS || prp->p_tlist == NULL || in dotoprocs()
916 (tp = pp->p_tlist) == NULL) { in dotolwp()
931 } while (((tp = tp->t_forw) != pp->p_tlist) && !done); in dotolwp()
H A Dlwp.c700 if ((tx = p->p_tlist) == NULL) { in lwp_create()
703 p->p_tlist = t; in lwp_create()
991 if (t == p->p_tlist) in lwp_exit()
992 p->p_tlist = t->t_forw; in lwp_exit()
1568 t = p->p_tlist; in pokelwps()
1605 } while ((t = t->t_forw) != p->p_tlist); in pokelwps()
1628 t = p->p_tlist; in continuelwps()
1637 } while ((t = t->t_forw) != p->p_tlist); in continuelwps()
H A Dpool_pset.c584 if ((t = p->p_tlist) == NULL) in pool_pset_bind()
590 } while ((t = t->t_forw) != p->p_tlist); in pool_pset_bind()
643 if ((t = p->p_tlist) == NULL) { in pset_bind_start()
672 } while ((t = t->t_forw) != p->p_tlist); in pset_bind_start()
H A Dtimers.c481 t = p->p_tlist; in xsetitimer()
495 } while ((t = t->t_forw) != p->p_tlist); in xsetitimer()
540 ASSERT(t == p->p_tlist && t == t->t_forw); in delete_itimer_realprof()
639 (t = p->p_tlist) == NULL) { in realprofexpire()
705 } while ((t = t->t_forw) != p->p_tlist); in realprofexpire()
H A Dmsacct.c367 t = p->p_tlist; in mstate_aggr_state()
385 } while ((t = t->t_forw) != p->p_tlist); in mstate_aggr_state()
/illumos-gate/usr/src/uts/common/syscall/
H A Dprocessor_bind.c67 tp = pp->p_tlist; in cpu_bind_process()
122 if (p->p_tlist == NULL) in cpu_bind_project()
147 if (p->p_tlist == NULL) in cpu_bind_zone()
172 if (p->p_tlist == NULL) in cpu_bind_contract()
242 tp = pp->p_tlist; in processor_bind()
250 } while ((tp = tp->t_forw) != pp->p_tlist); in processor_bind()
H A Dnice.c58 t = p->p_tlist; in nice()
64 } while ((t = t->t_forw) != p->p_tlist); in nice()
H A Dlgrpsys.c349 t = p->p_tlist; in lgrp_affinity_get_thread()
375 } while ((t = t->t_forw) != p->p_tlist); in lgrp_affinity_get_thread()
665 t = p->p_tlist; in lgrp_affinity_set_proc()
686 } while ((t = t->t_forw) != p->p_tlist); in lgrp_affinity_set_proc()
773 } else if (p->p_tlist == NULL) { in lgrp_affinity_set()
779 t = p->p_tlist; in lgrp_affinity_set()
787 } while ((t = t->t_forw) != p->p_tlist); in lgrp_affinity_set()
1014 } else if (p->p_tlist == NULL) { in lgrp_home_get()
1019 t = p->p_tlist; in lgrp_home_get()
1026 } while ((t = t->t_forw) != p->p_tlist); in lgrp_home_get()
[all …]
H A Dpset.c311 tp = pp->p_tlist; in pset_bind_process()
320 } while ((tp = tp->t_forw) != pp->p_tlist); in pset_bind_process()
365 if (pp->p_tlist == NULL) in pset_bind_project()
424 tp = pp->p_tlist; in pset_unbind()
442 } while ((tp = tp->t_forw) != pp->p_tlist); in pset_unbind()
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprcontrol.c1179 t = p->p_tlist; in pr_stop()
1472 if ((t = p->p_tlist) != NULL) { in allsetrun()
1591 if ((tx = p->p_tlist) != NULL) { in pr_setsig()
1701 t = p->p_tlist; in pr_nice()
2371 t = p->p_tlist; in pr_scred()
2433 t = p->p_tlist; in pr_szoneid()
2453 t = p->p_tlist; in pr_spriv()
2483 if ((t = p->p_tlist) != NULL) { in pr_allstopped()
2520 if ((t = p->p_tlist) != NULL) { in pauselwps()
2546 if ((t = p->p_tlist) != NULL) { in unpauselwps()
[all …]
H A Dprioctl.c562 if ((t = p->p_tlist) != NULL) { in prioctl64()
861 t = p->p_tlist; in prioctl64()
867 } while ((t = t->t_forw) != p->p_tlist); in prioctl64()
1086 if ((t = p->p_tlist) != NULL && in prioctl64()
1179 if ((t = p->p_tlist) != NULL && in prioctl64()
1613 t = p->p_tlist; in oprgetpsinfo32()
2121 if ((t = p->p_tlist) != NULL) { in prioctl32()
2455 t = p->p_tlist; in prioctl32()
2688 if ((t = p->p_tlist) != NULL && in prioctl32()
2781 if ((t = p->p_tlist) != NULL && in prioctl32()
[all …]
H A Dprsubr.c244 } while ((t = t->t_forw) != p->p_tlist); in prchoose()
267 t = p->p_tlist; in prchoose()
356 ASSERT(p->p_tlist == NULL); in prfree()
2579 t = p->p_tlist; in prgetpsinfo()
3242 t = p->p_tlist; in prgetpsinfo32()
3540 t = p->p_tlist; in estimate_msacct()
3543 } while ((t = t->t_forw) != p->p_tlist); in estimate_msacct()
3566 if ((t = p->p_tlist) != NULL) { in disable_msacct()
3570 } while ((t = t->t_forw) != p->p_tlist); in disable_msacct()
3980 if ((t = p->p_tlist) != NULL) { in set_watched_area()
[all …]
/illumos-gate/usr/src/uts/common/disp/
H A Dpriocntl.c773 if (pp->p_tlist == NULL) { in proccmp()
785 *argp->pcmp_cidp = pp->p_tlist->t_cid; in proccmp()
787 ty = tx = pp->p_tlist; in proccmp()
799 } while ((tx = tx->t_forw) != pp->p_tlist); in proccmp()
889 if ((t = targpp->p_tlist) == NULL) { in setparms()
897 } while ((t = t->t_forw) != targpp->p_tlist); in setparms()
966 if ((tp = pp->p_tlist) == NULL) { in setprocnice()
985 } while ((tp = tp->t_forw) != pp->p_tlist); in setprocnice()
1136 if ((tp = pp->p_tlist) == NULL) { in setprocprio()
1155 } while ((tp = tp->t_forw) != pp->p_tlist); in setprocprio()
/illumos-gate/usr/src/uts/intel/os/
H A Dsysi86.c468 t = targ->p_tlist; in ldt_installctx()
471 } while ((t = t->t_forw) != targ->p_tlist); in ldt_installctx()
585 t = pp->p_tlist; in setdscr()
614 } while ((t = t->t_forw) != pp->p_tlist); in setdscr()
H A Dsyscall.c1251 t = first = p->p_tlist; in set_proc_pre_sys()
1268 t = first = p->p_tlist; in set_proc_post_sys()
1285 t = first = p->p_tlist; in set_proc_sys()
1340 if ((t = p->p_tlist) == NULL) { in set_all_zone_usr_proc_sys()
1351 } while (p->p_tlist != (t = t->t_forw)); in set_all_zone_usr_proc_sys()
1370 t = first = p->p_tlist; in set_proc_ast()
/illumos-gate/usr/src/uts/sparc/os/
H A Dsyscall.c1093 t = first = p->p_tlist; in set_proc_pre_sys()
1110 t = first = p->p_tlist; in set_proc_post_sys()
1127 t = first = p->p_tlist; in set_proc_sys()
1181 if ((t = p->p_tlist) == NULL) { in set_all_zone_usr_proc_sys()
1192 } while (p->p_tlist != (t = t->t_forw)); in set_all_zone_usr_proc_sys()
1211 t = first = p->p_tlist; in set_proc_ast()
H A Dsundep.c130 pp->p_tlist = &t0; in kern_setup1()
/illumos-gate/usr/src/uts/common/sys/
H A Dthread.h529 #define proctot(x) ((x)->p_tlist)
530 #define proctolwp(x) ((x)->p_tlist->t_lwp)
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_gcore.h41 uintptr_t p_tlist; member
/illumos-gate/usr/src/uts/common/exec/elf/
H A Delf_notes.c150 kthread_t *t = p->p_tlist; in setup_note_header()
159 } while ((t = t->t_forw) != p->p_tlist); in setup_note_header()
/illumos-gate/usr/src/uts/i86pc/os/
H A Dmlsetup.c354 p0.p_tlist = &t0; in mlsetup()

12