Lines Matching defs:procset

42 #include <sys/procset.h>
135 procset_t procset;
297 * Get the procset from the user.
299 if ((*copyinfn)(psp, &procset, sizeof (procset)))
310 if (cur_inset_only(&procset) == B_TRUE) {
312 if ((procset.p_lidtype == P_LWPID) ||
313 (procset.p_ridtype == P_LWPID)) {
340 * specified procset. setparms() will in turn
343 if ((procset.p_lidtype != P_LWPID) ||
344 (procset.p_ridtype != P_LWPID)) {
345 error1 = dotoprocs(&procset, setparms,
354 if ((procset.p_lidtype == P_LWPID) ||
355 (procset.p_ridtype == P_LWPID)) {
356 error = dotolwp(&procset, parmsset,
413 if ((*copyinfn)(psp, &procset, sizeof (procset)))
421 if (cur_inset_only(&procset) == B_TRUE) {
423 if ((procset.p_lidtype == P_LWPID) ||
424 (procset.p_ridtype == P_LWPID)) {
487 if ((procset.p_lidtype != P_LWPID) ||
488 (procset.p_ridtype != P_LWPID)) {
489 error1 = dotoprocs(&procset, proccmp,
495 * set case in a procset
497 if ((procset.p_lidtype == P_LWPID) ||
498 (procset.p_ridtype == P_LWPID)) {
499 error = dotolwp(&procset, threadcmp,
543 if (procinset(initpp, &procset)) {
674 * Get pcnice and procset structures from the user.
677 (*copyinfn)(psp, &procset, sizeof (procset)))
680 error = donice(&procset, &pcnice);
690 * Get pcprio and procset structures from the user.
693 (*copyinfn)(psp, &procset, sizeof (procset)))
696 error = doprio(&procset, &pcprio);
753 * function to select one thread from a specified procset based on class
994 donice(procset_t *procset, pcnice_t *pcnice)
1014 if (procset->p_lidtype != P_LWPID ||
1015 procset->p_ridtype != P_LWPID)
1016 err_proc = dotoprocs(procset, setprocnice, (char *)pcnice);
1018 if (procset->p_lidtype == P_LWPID || procset->p_ridtype == P_LWPID) {
1019 err_thread = dotolwp(procset, setthreadnice, (char *)pcnice);
1047 if (procinset(initpp, procset)) {
1164 doprio(procset_t *procset, pcprio_t *pcprio)
1187 if (procset->p_lidtype != P_LWPID ||
1188 procset->p_ridtype != P_LWPID)
1189 err_proc = dotoprocs(procset, setprocprio, (char *)pcprio);
1191 if (procset->p_lidtype == P_LWPID || procset->p_ridtype == P_LWPID) {
1192 err_thread = dotolwp(procset, setthreadprio, (char *)pcprio);
1220 if (procinset(initpp, procset)) {