Home
last modified time | relevance | path

Searched refs:priocntl (Results 1 – 25 of 45) sorted by relevance

12

/illumos-gate/usr/src/cmd/dispadmin/
H A Ddispadmin.c184 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 Dsvc-scheduler35 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 Dfxdispadmin.c162 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 Drtdispadmin.c158 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 Diadispadmin.c159 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 Dtsdispadmin.c158 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 Dfssdispadmin.c155 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 Dfsspriocntl.c202 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 Dtspriocntl.c217 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 Diapriocntl.c234 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 Dfxpriocntl.c254 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 Drtpriocntl.c258 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 Dsubr.c155 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 Dpriocntl.c267 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 DMakefile26 PROG= priocntl
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dsched.c119 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 Dsetpriority.c140 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 Dpriocntl.c65 priocntl(idtype_t idtype, id_t id, int cmd, ...) in priocntl() function
/illumos-gate/usr/src/cmd/fs.d/nfs/lib/
H A Dthrpool.c159 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 Dpriocntl.h44 extern long priocntl(idtype_t, id_t, int, ...);
/illumos-gate/usr/src/cmd/prstat/
H A Dprutil.c271 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 Dcpustat.c664 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 DMakefile104 priocntl.2 \
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_main.c1054 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 DMakefile330 priocntl \

12