Home
last modified time | relevance | path

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

/titanic_50/usr/src/uts/common/disp/
H A Dpriocntl.c132 pcprio_t pcprio; in priocntl_common() local
692 if ((*copyinfn)(arg, &pcprio, sizeof (pcprio)) || in priocntl_common()
696 error = doprio(&procset, &pcprio); in priocntl_common()
698 if (!error && (pcprio.pc_op == PC_GETPRIO)) { in priocntl_common()
699 if ((*copyoutfn)(&pcprio, arg, sizeof (pcprio))) in priocntl_common()
1069 setthreadprio(pcprio_t *pcprio, kthread_t *tp) in setthreadprio() argument
1078 if (pcprio->pc_op == PC_SETPRIO && pcprio->pc_cid != tp->t_cid) { in setthreadprio()
1090 if (CL_ALLOC(&bufp, pcprio->pc_cid, KM_NOSLEEP) != 0) in setthreadprio()
1092 error = CL_ENTERCLASS(tp, pcprio->pc_cid, NULL, CRED(), bufp); in setthreadprio()
1094 CL_FREE(pcprio->pc_cid, bufp); in setthreadprio()
[all …]
/titanic_50/usr/src/lib/libc/port/rt/
H A Dsched.c276 pcprio_t pcprio; in set_priority() local
278 pcprio.pc_op = PC_SETPRIO; in set_priority()
279 pcprio.pc_cid = pcparmp->pc_cid; in set_priority()
280 pcprio.pc_val = prio; in set_priority()
282 rv = priocntl(idtype, id, PC_DOPRIO, &pcprio); in set_priority()
373 pcprio_t pcprio; in getparam() local
375 pcprio.pc_op = PC_GETPRIO; in getparam()
376 pcprio.pc_cid = 0; in getparam()
377 pcprio.pc_val = 0; in getparam()
378 if (priocntl(idtype, id, PC_DOPRIO, &pcprio) == 0) in getparam()
[all …]
/titanic_50/usr/src/uts/common/sys/
H A Dpriocntl.h95 typedef struct pcprio { struct