/illumos-gate/usr/src/cmd/dispadmin/ |
H A D | dispadmin.c | 184 if ((nclass = priocntl(0, 0, PC_GETCLINFO, NULL)) == -1) in print_classlist() 193 if (priocntl(0, 0, PC_GETCLINFO, (caddr_t)&pcinfo) == -1) in print_classlist() 219 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in exec_cscmd() 320 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in set_scheduler() 332 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in set_scheduler() 365 if (priocntl(0, 0, PC_SETDFLCL, clname) == -1) in set_scheduler() 391 if (priocntl(0, 0, PC_SETDFLCL, clname) == -1) in set_default_class()
|
H A D | svc-scheduler | 35 if [ -x /usr/sbin/dispadmin ] && [ -x /usr/bin/priocntl ]; then 47 /usr/bin/priocntl -s -c $DEFAULT_SCHEDULER -i all 56 /usr/bin/priocntl -s -c $DEFAULT_SCHEDULER -i pid 1
|
H A D | fxdispadmin.c | 162 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in get_fxdptbl() 170 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1) in get_fxdptbl() 181 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1) in get_fxdptbl() 236 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in set_fxdptbl() 244 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1) in set_fxdptbl() 351 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1) in set_fxdptbl()
|
H A D | rtdispadmin.c | 158 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in get_rtdptbl() 166 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1) in get_rtdptbl() 177 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1) in get_rtdptbl() 230 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) 238 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1) 378 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1)
|
H A D | iadispadmin.c | 159 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in get_iadptbl() 168 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1) in get_iadptbl() 180 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1) in get_iadptbl() 237 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) 245 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1) 425 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1)
|
H A D | tsdispadmin.c | 158 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in get_tsdptbl() 166 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1) in get_tsdptbl() 177 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1) in get_tsdptbl() 232 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) 240 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1) 420 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1)
|
H A D | fssdispadmin.c | 155 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in getadmin() 163 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1) in getadmin() 205 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in setadmin() 274 if (priocntl(0, 0, PC_ADMIN, (caddr_t)&pcadmin) == -1) in setadmin()
|
/illumos-gate/usr/src/cmd/priocntl/ |
H A D | fsspriocntl.c | 202 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in print_fssinfo() 239 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "FSS", in print_fssprocs() 247 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_fssprocs() 278 return (priocntl(idtype, id, cmd, clname, argsp[0], argsp[1], in fss_priocntl() 304 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in set_fssprocs() 366 if (priocntl(0, 0, PC_GETCID, in set_fssprocs() 422 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in exec_fsscmd() 448 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, "FSS", in exec_fsscmd()
|
H A D | tspriocntl.c | 217 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in print_tsinfo() 255 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "TS", TS_KY_UPRI, in print_tsprocs() 262 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_tsprocs() 293 return (priocntl(idtype, id, cmd, clname, argsp[0], argsp[1], in ts_priocntl() 320 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in set_tsprocs() 382 if (priocntl(0, 0, PC_GETCID, in set_tsprocs() 438 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in exec_tscmd() 464 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, "TS", in exec_tscmd()
|
H A D | iapriocntl.c | 234 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in print_iainfo() 274 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "IA", in print_iaprocs() 282 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_iaprocs() 313 return (priocntl(idtype, id, cmd, clname, argsp[0], argsp[1], in ia_priocntl() 340 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in set_iaprocs() 406 if (priocntl(0, 0, PC_GETCID, in set_iaprocs() 464 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in exec_iacmd() 496 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, "IA", in exec_iacmd()
|
H A D | fxpriocntl.c | 254 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in print_fxinfo() 295 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "FX", in print_fxprocs() 311 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_fxprocs() 342 return (priocntl(idtype, id, cmd, clname, argsp[0], argsp[1], in fx_priocntl() 369 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in set_fxprocs() 444 if (priocntl(0, 0, PC_GETCID, in set_fxprocs() 501 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in exec_fxcmd() 537 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, "FX", in exec_fxcmd()
|
H A D | rtpriocntl.c | 258 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in print_rtinfo() 297 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, "RT", in print_rtprocs() 312 if (priocntl(P_PID, pidlist[i], PC_GETXPARMS, NULL, in print_rtprocs() 344 return (priocntl(idtype, id, cmd, clname, argsp[0], argsp[1], in rt_priocntl() 374 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in set_rtprocs() 435 if (priocntl(0, 0, PC_GETCID, in set_rtprocs() 488 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in exec_rtcmd()
|
H A D | subr.c | 155 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) 187 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, NULL, 189 priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) 255 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, NULL, 316 if (priocntl(P_PID, id, PC_GETXPARMS, clname, key, in verifyupri() 440 if (priocntl(P_PID, prinfo.pr_pid, PC_GETXPARMS, in verifyupri()
|
H A D | priocntl.c | 267 if ((nclass = priocntl(0, 0, PC_GETCLINFO, NULL)) == -1) in print_classlist() 277 if (priocntl(0, 0, PC_GETCLINFO, (caddr_t)&pcinfo) == -1) in print_classlist() 378 if ((nclass = priocntl(0, 0, PC_GETCLINFO, NULL)) == -1) in print_procs() 388 if (priocntl(0, 0, PC_GETCLINFO, (caddr_t)&pcinfo) == -1) in print_procs() 495 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, NULL, in set_procs() 512 if (priocntl(P_PID, id, PC_GETXPARMS, in set_procs() 705 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in set_procs() 751 if (priocntl(P_PID, P_MYID, PC_GETXPARMS, NULL, in exec_cmd() 764 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in exec_cmd()
|
H A D | Makefile | 26 PROG= priocntl
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | sched.c | 119 if (priocntl(0, 0, PC_GETCLINFO, &pccp->pcc_info) == -1 || in get_info_by_policy() 138 priocntl(0, 0, PC_GETCID, &pccp->pcc_info) == -1) { in get_info_by_policy() 164 if (priocntl(0, 0, PC_GETPRIRANGE, &pcpri) == 0) { in get_info_by_policy() 198 if (priocntl(0, 0, PC_GETCLINFO, &pcinfo) == -1) { in get_info_by_class() 237 if (priocntl(idtype, id, PC_GETPARMS, pcparmp) == -1) in get_parms() 280 rv = priocntl(idtype, id, PC_DOPRIO, &pcprio); in set_priority() 287 rv = priocntl(idtype, id, PC_SETPARMS, pcparmp); in set_priority() 376 if (priocntl(idtype, id, PC_DOPRIO, &pcprio) == 0) in getparam() 622 if (priocntl(P_LWPID, P_MYID, PC_DOPRIO, &pcprio) == 0) in update_sched()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | setpriority.c | 140 if (priocntl(idtype, id, PC_DONICE, &pcnice) == -1) in getpriority() 182 ret = priocntl(idtype, id, PC_DONICE, &pcnice); in setpriority() 200 if (priocntl(idtype, id, PC_DONICE, &gpcnice) == 0 && in setpriority()
|
H A D | priocntl.c | 65 priocntl(idtype_t idtype, id_t id, int cmd, ...) in priocntl() function
|
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/ |
H A D | thrpool.c | 159 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) != -1) { in svcsetprio() 161 if (priocntl(P_LWPID, P_MYID, PC_SETXPARMS, "FX", in svcsetprio()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | priocntl.h | 44 extern long priocntl(idtype_t, id_t, int, ...);
|
/illumos-gate/usr/src/cmd/prstat/ |
H A D | prutil.c | 271 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) { in Priocntl() 279 if (priocntl(P_PID, getpid(), PC_SETPARMS, (caddr_t)&pcparms) == -1) in Priocntl()
|
/illumos-gate/usr/src/cmd/cpc/common/ |
H A D | cpustat.c | 664 if (priocntl(0, 0, PC_GETCID, &fxinfo) == -1) { in cpustat() 844 if (priocntl(P_LWPID, P_MYID, PC_SETPARMS, &pcparms) != 0) in soaker()
|
/illumos-gate/usr/src/man/man2/ |
H A D | Makefile | 104 priocntl.2 \
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_main.c | 1054 if (priocntl(P_LWPID, P_MYID, PC_GETCID, (caddr_t)&pci) != -1) { in main() 1064 if (priocntl(P_LWPID, P_MYID, PC_SETPARMS, in main()
|
/illumos-gate/usr/src/cmd/ |
H A D | Makefile | 330 priocntl \
|