/titanic_41/usr/src/uts/common/disp/ |
H A D | priocntl.c | 312 if ((procset.p_lidtype == P_LWPID) || in priocntl_common() 313 (procset.p_ridtype == P_LWPID)) { in priocntl_common() 343 if ((procset.p_lidtype != P_LWPID) || in priocntl_common() 344 (procset.p_ridtype != P_LWPID)) { in priocntl_common() 354 if ((procset.p_lidtype == P_LWPID) || in priocntl_common() 355 (procset.p_ridtype == P_LWPID)) { in priocntl_common() 423 if ((procset.p_lidtype == P_LWPID) || in priocntl_common() 424 (procset.p_ridtype == P_LWPID)) { in priocntl_common() 487 if ((procset.p_lidtype != P_LWPID) || in priocntl_common() 488 (procset.p_ridtype != P_LWPID)) { in priocntl_common() [all …]
|
/titanic_41/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/ |
H A D | Lgrp.t | 263 $home1 = lgrp_home(P_LWPID, 1); 265 $home1 = $c->home(P_LWPID, 1); 275 ok(P_LWPID); 280 $affinity = $c->affinity_set(P_LWPID, 1, $home, LGRP_AFF_WEAK); 286 $affinity = lgrp_affinity_set(P_LWPID, 1, $home, LGRP_AFF_WEAK); 296 $affinity = lgrp_affinity_get(P_LWPID, 1, $home); 302 $affinity = $c->affinity_get(P_LWPID, 1, $home);
|
/titanic_41/usr/src/uts/common/os/ |
H A D | procset.c | 216 case P_LWPID: in checkprocset() 236 case P_LWPID: in checkprocset() 293 case P_LWPID: in procinset() 383 case P_LWPID: in procinset() 537 case P_LWPID: in lwpinset() 623 case P_LWPID: in lwpinset() 761 ((psp->p_lidtype == P_LWPID) && in cur_inset_only() 770 ((psp->p_ridtype == P_LWPID) && in cur_inset_only() 790 case P_LWPID: in getmyid()
|
/titanic_41/usr/src/cmd/ptools/plgrp/ |
H A D | plgrp.c | 921 affs[i] = Plgrp_affinity_get(Ph, P_LWPID, lwpid, in do_op() 951 if (Plgrp_home_set(Ph, P_LWPID, lwpid, lgrps[i]) != 0) { in do_op() 963 home = Plgrp_home(Ph, P_LWPID, lwpid); in do_op() 1030 Plgrp_affinity_get(Ph, P_LWPID, in do_op() 1066 if (Plgrp_affinity_set(Ph, P_LWPID, lwpid, lgrpid, in do_op() 1084 Plgrp_affinity_get(Ph, P_LWPID, lwpid, lgrpid); in do_op() 1143 home = Plgrp_home(Ph, P_LWPID, lwpid); in do_op()
|
/titanic_41/usr/src/lib/libc/port/threads/ |
H A D | pthread.c | 69 } else if ((cid = setparam(P_LWPID, tid, policy, prio)) == -1) { in _thr_setparam() 204 cid = getparam(P_LWPID, ulwp->ul_lwpid, policy, param); in pthread_getschedparam()
|
H A D | spawn.c | 184 if (setparam(P_LWPID, P_MYID, in perform_flag_actions() 188 if (setprio(P_LWPID, P_MYID, sap->sa_priority, NULL) == -1) in perform_flag_actions()
|
H A D | synch.c | 258 (void) priocntl(P_LWPID, self->ul_lwpid, PC_SETPARMS, &pcparm); in set_rt_priority()
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | procset.h | 74 P_LWPID, /* An LWP identifier. */ enumerator
|
/titanic_41/usr/src/cmd/fs.d/nfs/lib/ |
H A D | thrpool.c | 161 if (priocntl(P_LWPID, P_MYID, PC_SETXPARMS, "FX", in svcsetprio()
|
/titanic_41/usr/src/cmd/truss/ |
H A D | procset.c | 97 case P_LWPID: str = "P_LWPID"; break; in idtype_enum()
|
/titanic_41/usr/src/lib/libc/port/gen/ |
H A D | setpriority.c | 75 return (P_LWPID); in prio_to_idtype()
|
/titanic_41/usr/src/lib/libcpc/common/ |
H A D | libcpc.c | 517 if (processor_bind(P_LWPID, P_MYID, id, &set->cs_obind) == -1) { in cpc_bind_cpu() 524 (void) processor_bind(P_LWPID, P_MYID, set->cs_obind, NULL); in cpc_bind_cpu() 540 (void) processor_bind(P_LWPID, P_MYID, set->cs_obind, NULL); in cpc_bind_cpu() 553 (void) processor_bind(P_LWPID, P_MYID, set->cs_obind, NULL); in cpc_bind_cpu() 608 (void) processor_bind(P_LWPID, P_MYID, set->cs_obind, NULL); in cpc_unbind()
|
/titanic_41/usr/src/lib/liblgrp/common/ |
H A D | lgrp.c | 123 if (id == P_MYID && (idtype == P_LWPID || idtype == P_PID)) in lgrp_home() 474 if (pset_bind(PS_QUERY, P_LWPID, P_MYID, &pset) == -1) in lgrp_init() 541 if (pset_bind(PS_QUERY, P_LWPID, P_MYID, &pset) == -1) in lgrp_cookie_stale()
|
/titanic_41/usr/src/lib/libc/port/rt/ |
H A D | sched.c | 595 pccp = get_parms(P_LWPID, P_MYID, &pcparm); in update_sched() 624 if (priocntl(P_LWPID, P_MYID, PC_DOPRIO, &pcprio) == 0) in update_sched()
|
/titanic_41/usr/src/uts/common/syscall/ |
H A D | processor_bind.c | 234 case P_LWPID: in processor_bind()
|
H A D | lgrpsys.c | 406 case P_LWPID: in lgrp_affinity_get() 729 if (idtype != P_LWPID && idtype != P_PID) in lgrp_affinity_set() 737 case P_LWPID: in lgrp_affinity_set() 986 case P_LWPID: in lgrp_home_get()
|
H A D | pset.c | 579 case P_LWPID: in pset_bind()
|
/titanic_41/usr/src/cmd/cpc/common/ |
H A D | cpustat.c | 810 if (processor_bind(P_LWPID, P_MYID, state->cpuid, NULL) != 0) in soaker() 824 if (priocntl(P_LWPID, P_MYID, PC_SETPARMS, &pcparms) != 0) in soaker()
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_main.c | 1024 if (priocntl(P_LWPID, P_MYID, PC_GETCID, (caddr_t)&pci) != -1) { in main() 1034 if (priocntl(P_LWPID, P_MYID, PC_SETPARMS, in main()
|
/titanic_41/usr/src/cmd/pbind/ |
H A D | pbind.c | 222 if (pr_processor_bind(Pr, P_LWPID, lwpid, cpu, &old_cpu) < 0) { in bind_lwp()
|
/titanic_41/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/ |
H A D | Lgrp.xs | 185 newCONSTSUB(stash, "P_LWPID", newSViv(P_LWPID));
|
/titanic_41/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/pod/ |
H A D | Lgrp.pod | 161 P_LWPID 224 process id. Otherwise, the B<$idtype> argument should be C<P_LWPID> to specify a 392 $id if idtype is C<P_LWPID>. If $id is C<P_MYID>, then the current LWP or 626 P_PID, P_LWPID P_MYID
|
/titanic_41/usr/src/cmd/picl/plugins/sun4u/snowbird/watchdog/ |
H A D | piclwatchdog.c | 556 if (priocntl(P_LWPID, P_MYID, PC_GETCID, (caddr_t)&pci) != -1) { in wd_patting_thread() 563 if (priocntl(P_LWPID, P_MYID, PC_SETPARMS, in wd_patting_thread()
|
/titanic_41/usr/src/cmd/avs/nsctl/ |
H A D | nskernd.c | 255 if (priocntl(P_LWPID, P_MYID, in _newlwp()
|
/titanic_41/usr/src/uts/common/c2/ |
H A D | audit_event.c | 5032 case P_LWPID: in aus_processor_bind() 5100 (!(uap->id_type == P_LWPID && lwpcnt > 1))) in aus_processor_bind()
|