Home
last modified time | relevance | path

Searched refs:pcprio (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/disp/
H A Dpriocntl.c133 pcprio_t pcprio; in priocntl_common() local
693 if ((*copyinfn)(arg, &pcprio, sizeof (pcprio)) || in priocntl_common()
697 error = doprio(&procset, &pcprio); in priocntl_common()
699 if (!error && (pcprio.pc_op == PC_GETPRIO)) { in priocntl_common()
700 if ((*copyoutfn)(&pcprio, arg, sizeof (pcprio))) in priocntl_common()
1070 setthreadprio(pcprio_t *pcprio, kthread_t *tp) in setthreadprio() argument
1079 if (pcprio->pc_op == PC_SETPRIO && pcprio->pc_cid != tp->t_cid) { in setthreadprio()
1091 if (CL_ALLOC(&bufp, pcprio->pc_cid, KM_NOSLEEP) != 0) in setthreadprio()
1093 error = CL_ENTERCLASS(tp, pcprio->pc_cid, NULL, CRED(), bufp); in setthreadprio()
1095 CL_FREE(pcprio->pc_cid, bufp); in setthreadprio()
[all …]
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dsched.c274 pcprio_t pcprio; in set_priority() local
276 pcprio.pc_op = PC_SETPRIO; in set_priority()
277 pcprio.pc_cid = pcparmp->pc_cid; in set_priority()
278 pcprio.pc_val = prio; in set_priority()
280 rv = priocntl(idtype, id, PC_DOPRIO, &pcprio); in set_priority()
371 pcprio_t pcprio; in getparam() local
373 pcprio.pc_op = PC_GETPRIO; in getparam()
374 pcprio.pc_cid = 0; in getparam()
375 pcprio.pc_val = 0; in getparam()
376 if (priocntl(idtype, id, PC_DOPRIO, &pcprio) == 0) in getparam()
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dpriocntl.h95 typedef struct pcprio { struct