Home
last modified time | relevance | path

Searched refs:P_MYID (Results 1 – 25 of 39) sorted by relevance

12

/titanic_44/usr/src/uts/common/syscall/
H A Dprocessor_bind.c237 if (id == P_MYID) { in processor_bind()
263 if (id == P_MYID) { in processor_bind()
275 if (id == P_MYID) { in processor_bind()
292 if (id == P_MYID) in processor_bind()
306 if (id == P_MYID) in processor_bind()
320 if (id == P_MYID) in processor_bind()
336 if (id == P_MYID || bind != PBIND_NONE || cpu_get(id) == NULL) in processor_bind()
343 if (id == P_MYID || bind != PBIND_NONE) { in processor_bind()
H A Dpset.c490 if ((pid == P_MYID && id == P_MYID) || in pset_bind_lwp()
491 (pid == curproc->p_pid && id == P_MYID)) { in pset_bind_lwp()
496 if (pid == P_MYID) { in pset_bind_lwp()
502 if (pp != curproc && id == P_MYID) { in pset_bind_lwp()
583 if (id == P_MYID) { in pset_bind()
600 if (id == P_MYID) { in pset_bind()
613 if (id == P_MYID) in pset_bind()
627 if (id == P_MYID) in pset_bind()
642 if (id == P_MYID) in pset_bind()
655 if (id == P_MYID) in pset_bind()
[all …]
H A Dsigqueue.c55 setprocset(&set, POP_AND, P_ALL, P_MYID, P_ALL, P_MYID); in sigqkill()
H A Dlgrpsys.c412 if (id != P_MYID) /* different thread */ in lgrp_affinity_get()
431 if (id == P_MYID) in lgrp_affinity_get()
751 if (id == P_MYID) { /* current thread */ in lgrp_affinity_set()
796 if (id == P_MYID) in lgrp_affinity_set()
840 if (id != P_MYID) in lgrp_affinity_set()
993 if (id == P_MYID) { /* current thread */ in lgrp_home_get()
1020 if (id == P_MYID) in lgrp_home_get()
H A Ducredsys.c136 if (pid == P_MYID || pid == curproc->p_pid) { in ucred_get()
H A Dcorectl.c484 setprocset(&set, POP_AND, P_ALL, P_MYID, P_ALL, P_MYID); in set_proc_info()
/titanic_44/usr/src/lib/libc/port/gen/
H A Dsetpriority.c123 } else if (who != P_MYID) { in getpriority()
135 id = P_MYID; in getpriority()
165 } else if (who != P_MYID) { in setpriority()
172 id = P_MYID; in setpriority()
H A Dsigsend.c43 setprocset(&set, POP_AND, idtype, id, P_ALL, P_MYID); in sigsend()
/titanic_44/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/t/
H A DLgrp.t259 $home = lgrp_home(P_PID, P_MYID);
261 my $home1 = $c->home(P_PID, P_MYID);
277 $affinity = $c->affinity_set(P_PID, P_MYID, $home, LGRP_AFF_WEAK);
283 $affinity = lgrp_affinity_set(P_PID, P_MYID, $home, LGRP_AFF_WEAK);
293 $affinity = lgrp_affinity_get(P_PID, P_MYID, $home);
299 $affinity = $c->affinity_get(P_PID, P_MYID, $home);
H A DLgrp_api.t143 $home = $c->home(P_PID, P_MYID);
148 $c->affinity_set(P_PID, P_MYID, $lgrp, LGRP_AFF_STRONG) or
151 $home = $c->home(P_PID, P_MYID);
154 $c->affinity_set(P_PID, P_MYID, $lgrp, LGRP_AFF_NONE) or
165 $c->affinity_set(P_PID, P_MYID, $root, $aff) or
/titanic_44/usr/src/uts/common/os/
H A Dprocset.c107 if (psp->p_lid == P_MYID) { in dotoprocs()
110 if (psp->p_rid == P_MYID) { in dotoprocs()
759 (psp->p_lid == P_MYID || in cur_inset_only()
762 (psp->p_lid == P_MYID || in cur_inset_only()
768 (psp->p_rid == P_MYID || in cur_inset_only()
771 (psp->p_rid == P_MYID || in cur_inset_only()
857 if (id == P_MYID) in getlwpptr()
905 if (psp->p_lid == P_MYID) { in dotolwp()
908 if (psp->p_rid == P_MYID) { in dotolwp()
/titanic_44/usr/src/lib/libc/port/rt/
H A Dsched.c335 pid = P_MYID; in sched_setparam()
403 pid = P_MYID; in sched_getparam()
444 pid = P_MYID; in sched_setscheduler()
464 pid = P_MYID; in sched_getscheduler()
518 pid = P_MYID; in sched_rr_get_interval()
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_44/usr/src/cmd/priocntl/
H A Dfsspriocntl.c346 if (fss_priocntl(idtype, P_MYID, PC_SETXPARMS, "FSS", in set_fssprocs()
444 if (fss_priocntl(P_PID, P_MYID, PC_SETXPARMS, "FSS", args) == -1) in exec_fsscmd()
450 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, "FSS", in exec_fsscmd()
H A Dtspriocntl.c362 if (ts_priocntl(idtype, P_MYID, PC_SETXPARMS, "TS", in set_tsprocs()
460 if (ts_priocntl(P_PID, P_MYID, PC_SETXPARMS, "TS", args) == -1) in exec_tscmd()
466 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, "TS", in exec_tscmd()
H A Diapriocntl.c385 if (ia_priocntl(idtype, P_MYID, PC_SETXPARMS, "IA", in set_iaprocs()
492 if (ia_priocntl(P_PID, P_MYID, PC_SETXPARMS, "IA", args) == -1) in exec_iacmd()
498 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, "IA", in exec_iacmd()
H A Dfxpriocntl.c424 if (fx_priocntl(idtype, P_MYID, PC_SETXPARMS, "FX", in set_fxprocs()
533 if (fx_priocntl(P_PID, P_MYID, PC_SETXPARMS, "FX", args) == -1) in exec_fxcmd()
539 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, "FX", in exec_fxcmd()
H A Drtpriocntl.c419 if (rt_priocntl(idtype, P_MYID, PC_SETXPARMS, "RT", in set_rtprocs()
516 if (rt_priocntl(P_PID, P_MYID, PC_SETXPARMS, "RT", args) == -1) in exec_rtcmd()
H A Dsubr.c190 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, NULL,
258 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, NULL,
/titanic_44/usr/src/cmd/fs.d/nfs/lib/
H A Dthrpool.c161 if (priocntl(P_LWPID, P_MYID, PC_SETXPARMS, "FX", in svcsetprio()
/titanic_44/usr/src/lib/libcpc/common/
H A Dlibcpc.c517 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_44/usr/src/cmd/cpc/common/
H A Dcpustat.c690 if (pset_bind(PS_QUERY, P_PID, P_MYID, &mypset) == -1) { in cpustat()
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_44/usr/src/lib/liblgrp/common/
H A Dlgrp.c123 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_44/usr/src/ucbhead/sys/
H A Dtypes.h430 #define P_MYID (-1) macro
/titanic_44/usr/src/cmd/perl/contrib/Sun/Solaris/Lgrp/pod/
H A DLgrp.pod48 $home = lgrp_home(P_PID, P_MYID);
49 $home = l->home(P_PID, P_MYID);
162 P_MYID
225 thread and the B<$id> argument should be its LWP id. The value C<P_MYID> can be
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_44/usr/src/lib/libc/port/threads/
H A Dspawn.c184 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()

12