Home
last modified time | relevance | path

Searched refs:pcinfo (Results 1 – 23 of 23) sorted by relevance

/titanic_41/usr/src/cmd/dispadmin/
H A Ddispadmin.c182 pcinfo_t pcinfo; in print_classlist() local
192 pcinfo.pc_cid = cid; in print_classlist()
193 if (priocntl(0, 0, PC_GETCLINFO, (caddr_t)&pcinfo) == -1) in print_classlist()
196 class_info(&pcinfo); in print_classlist()
208 pcinfo_t pcinfo; in exec_cscmd() local
218 (void) strncpy(pcinfo.pc_clname, clname, PC_CLNMSZ); in exec_cscmd()
219 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in exec_cscmd()
232 class_info(pcinfo_t *pcinfo) in class_info() argument
238 pcinfo->pc_clname, pcinfo->pc_clname, basenm); in class_info()
242 pcinfo->pc_clname, pcinfo->pc_clname); in class_info()
[all …]
H A Dfssdispadmin.c150 pcinfo_t pcinfo; in getadmin() local
156 (void) strcpy(pcinfo.pc_clname, "FSS"); in getadmin()
157 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in getadmin()
161 pcadmin.pc_cid = pcinfo.pc_cid; in getadmin()
194 pcinfo_t pcinfo; in setadmin() local
206 (void) strcpy(pcinfo.pc_clname, "FSS"); in setadmin()
207 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in setadmin()
272 pcadmin.pc_cid = pcinfo.pc_cid; in setadmin()
H A Dfxdispadmin.c157 pcinfo_t pcinfo; in get_fxdptbl() local
163 (void) strcpy(pcinfo.pc_clname, "FX"); in get_fxdptbl()
164 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in get_fxdptbl()
168 pcadmin.pc_cid = pcinfo.pc_cid; in get_fxdptbl()
223 pcinfo_t pcinfo; in set_fxdptbl() local
237 (void) strcpy(pcinfo.pc_clname, "FX"); in set_fxdptbl()
238 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in set_fxdptbl()
242 pcadmin.pc_cid = pcinfo.pc_cid; in set_fxdptbl()
H A Drtdispadmin.c154 pcinfo_t pcinfo; in get_rtdptbl() local
160 (void) strcpy(pcinfo.pc_clname, "RT"); in get_rtdptbl()
161 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in get_rtdptbl()
165 pcadmin.pc_cid = pcinfo.pc_cid; in get_rtdptbl()
221 pcinfo_t pcinfo; local
232 (void) strcpy(pcinfo.pc_clname, "RT");
233 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1)
237 pcadmin.pc_cid = pcinfo.pc_cid;
H A Diadispadmin.c154 pcinfo_t pcinfo; in get_iadptbl() local
160 (void) strcpy(pcinfo.pc_clname, "IA"); in get_iadptbl()
161 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in get_iadptbl()
166 pcadmin.pc_cid = pcinfo.pc_cid; in get_iadptbl()
227 pcinfo_t pcinfo; local
238 (void) strcpy(pcinfo.pc_clname, "IA");
239 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1)
243 pcadmin.pc_cid = pcinfo.pc_cid;
H A Dtsdispadmin.c154 pcinfo_t pcinfo; in get_tsdptbl() local
160 (void) strcpy(pcinfo.pc_clname, "TS"); in get_tsdptbl()
161 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in get_tsdptbl()
165 pcadmin.pc_cid = pcinfo.pc_cid; in get_tsdptbl()
223 pcinfo_t pcinfo; local
234 (void) strcpy(pcinfo.pc_clname, "TS");
235 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1)
239 pcadmin.pc_cid = pcinfo.pc_cid;
/titanic_41/usr/src/cmd/priocntl/
H A Dfsspriocntl.c198 pcinfo_t pcinfo; in print_fssinfo() local
200 (void) strcpy(pcinfo.pc_clname, "FSS"); in print_fssinfo()
204 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in print_fssinfo()
208 ((fssinfo_t *)pcinfo.pc_clinfo)->fss_maxupri, in print_fssinfo()
209 ((fssinfo_t *)pcinfo.pc_clinfo)->fss_maxupri); in print_fssinfo()
293 pcinfo_t pcinfo; in set_fssprocs() local
305 (void) strcpy(pcinfo.pc_clname, "FSS"); in set_fssprocs()
306 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in set_fssprocs()
309 maxupri = ((fssinfo_t *)pcinfo.pc_clinfo)->fss_maxupri; in set_fssprocs()
367 (void) strcpy(pcinfo.pc_clname, idargv[i]); in set_fssprocs()
[all …]
H A Dtspriocntl.c213 pcinfo_t pcinfo; in print_tsinfo() local
215 (void) strcpy(pcinfo.pc_clname, "TS"); in print_tsinfo()
219 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in print_tsinfo()
223 ((tsinfo_t *)pcinfo.pc_clinfo)->ts_maxupri, in print_tsinfo()
224 ((tsinfo_t *)pcinfo.pc_clinfo)->ts_maxupri); in print_tsinfo()
309 pcinfo_t pcinfo; in set_tsprocs() local
321 (void) strcpy(pcinfo.pc_clname, "TS"); in set_tsprocs()
322 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in set_tsprocs()
325 maxupri = ((tsinfo_t *)pcinfo.pc_clinfo)->ts_maxupri; in set_tsprocs()
383 (void) strcpy(pcinfo.pc_clname, idargv[i]); in set_tsprocs()
[all …]
H A Diapriocntl.c230 pcinfo_t pcinfo; in print_iainfo() local
232 (void) strcpy(pcinfo.pc_clname, "IA"); in print_iainfo()
236 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in print_iainfo()
240 ((iainfo_t *)pcinfo.pc_clinfo)->ia_maxupri, in print_iainfo()
241 ((iainfo_t *)pcinfo.pc_clinfo)->ia_maxupri); in print_iainfo()
329 pcinfo_t pcinfo; in set_iaprocs() local
341 (void) strcpy(pcinfo.pc_clname, "IA"); in set_iaprocs()
342 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in set_iaprocs()
345 maxupri = ((iainfo_t *)pcinfo.pc_clinfo)->ia_maxupri; in set_iaprocs()
407 (void) strcpy(pcinfo.pc_clname, idargv[i]); in set_iaprocs()
[all …]
H A Drtpriocntl.c254 pcinfo_t pcinfo; in print_rtinfo() local
256 (void) strcpy(pcinfo.pc_clname, "RT"); in print_rtinfo()
260 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in print_rtinfo()
264 ((rtinfo_t *)pcinfo.pc_clinfo)->rt_maxpri); in print_rtinfo()
361 pcinfo_t pcinfo; in set_rtprocs() local
375 (void) strcpy(pcinfo.pc_clname, "RT"); in set_rtprocs()
376 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in set_rtprocs()
379 maxrtpri = ((rtinfo_t *)pcinfo.pc_clinfo)->rt_maxpri; in set_rtprocs()
436 (void) strcpy(pcinfo.pc_clname, idargv[i]); in set_rtprocs()
438 (caddr_t)&pcinfo) == -1) in set_rtprocs()
[all …]
H A Dfxpriocntl.c250 pcinfo_t pcinfo; in print_fxinfo() local
252 (void) strcpy(pcinfo.pc_clname, "FX"); in print_fxinfo()
256 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in print_fxinfo()
260 ((fxinfo_t *)pcinfo.pc_clinfo)->fx_maxupri); in print_fxinfo()
357 pcinfo_t pcinfo; in set_fxprocs() local
370 (void) strcpy(pcinfo.pc_clname, "FX"); in set_fxprocs()
371 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) in set_fxprocs()
374 maxupri = ((fxinfo_t *)pcinfo.pc_clinfo)->fx_maxupri; in set_fxprocs()
445 (void) strcpy(pcinfo.pc_clname, idargv[i]); in set_fxprocs()
447 (caddr_t)&pcinfo) == -1) in set_fxprocs()
[all …]
H A Dpriocntl.c255 pcinfo_t pcinfo; in print_classlist() local
278 pcinfo.pc_cid = cid; in print_classlist()
279 if (priocntl(0, 0, PC_GETCLINFO, (caddr_t)&pcinfo) == -1) in print_classlist()
283 CLASSPATH, pcinfo.pc_clname, pcinfo.pc_clname, basenm) >= in print_classlist()
286 cmdpath, pcinfo.pc_clname); in print_classlist()
289 (void) printf("%s\n", pcinfo.pc_clname); in print_classlist()
291 pcinfo.pc_clname); in print_classlist()
293 (void) printf("%s\n", pcinfo.pc_clname); in print_classlist()
296 pcinfo.pc_clname); in print_classlist()
325 pcinfo_t pcinfo; in print_procs() local
[all …]
H A Dsubr.c155 pcinfo_t pcinfo; local
157 (void) strncpy(pcinfo.pc_clname, clname, PC_CLNMSZ);
158 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1)
160 return (pcinfo.pc_cid);
169 pcinfo_t pcinfo; local
191 PC_KY_CLNAME, pcinfo.pc_clname, 0) == -1 ||
192 priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1)
195 *idptr = pcinfo.pc_cid;
/titanic_41/usr/src/uts/common/disp/
H A Dpriocntl.c129 pcinfo_t pcinfo; in priocntl_common() local
188 if ((*copyinfn)(arg, &pcinfo, sizeof (pcinfo))) in priocntl_common()
192 pcinfo.pc_clname[PC_CLNMSZ-1] = '\0'; in priocntl_common()
197 error = getcid(pcinfo.pc_clname, &pcinfo.pc_cid); in priocntl_common()
204 if (pcinfo.pc_cid == 0) in priocntl_common()
214 scheduler_load(pcinfo.pc_clname, &sclass[pcinfo.pc_cid]); in priocntl_common()
217 error = CL_GETCLINFO(&sclass[pcinfo.pc_cid], pcinfo.pc_clinfo); in priocntl_common()
221 if ((*copyoutfn)(&pcinfo, arg, sizeof (pcinfo))) in priocntl_common()
238 if ((*copyinfn)(arg, &pcinfo, sizeof (pcinfo))) in priocntl_common()
242 if (pcinfo.pc_cid >= loaded_classes || pcinfo.pc_cid < 1) in priocntl_common()
[all …]
/titanic_41/usr/src/cmd/lvm/rpc.metamhd/
H A Dmhd_init.c95 pcinfo_t pcinfo; in mhd_setup() local
125 (void) memset(&pcinfo, 0, sizeof (pcinfo)); in mhd_setup()
126 (void) strncpy(pcinfo.pc_clname, "RT", sizeof (pcinfo.pc_clname)); in mhd_setup()
127 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) < 0) in mhd_setup()
130 pcparms.pc_cid = pcinfo.pc_cid; in mhd_setup()
/titanic_41/usr/src/cmd/fs.d/nfs/lib/
H A Dthrpool.c133 pcinfo_t pcinfo; in svcsetprio() local
158 (void) strcpy(pcinfo.pc_clname, "FX"); in svcsetprio()
159 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) != -1) { in svcsetprio()
160 maxupri = ((fxinfo_t *)pcinfo.pc_clinfo)->fx_maxupri; in svcsetprio()
/titanic_41/usr/src/cmd/avs/nsctl/
H A Dnskernd.c218 pcinfo_t pcinfo; in _newlwp() local
227 bzero(&pcinfo, sizeof (pcinfo)); in _newlwp()
228 (void) strcpy(pcinfo.pc_clname, allow_rt ? "RT" : "TS"); in _newlwp()
230 if (priocntl(0, 0, PC_GETCID, (char *)&pcinfo) < 0) { in _newlwp()
239 pcparms.pc_cid = pcinfo.pc_cid; in _newlwp()
250 ((tsinfo_t *)&pcinfo.pc_clinfo)->ts_maxupri; in _newlwp()
252 ((tsinfo_t *)&pcinfo.pc_clinfo)->ts_maxupri; in _newlwp()
/titanic_41/usr/src/cmd/prstat/
H A Dprutil.c267 pcinfo_t pcinfo; in Priocntl() local
269 (void) strcpy(pcinfo.pc_clname, class); in Priocntl()
270 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) { in Priocntl()
274 pcparms.pc_cid = pcinfo.pc_cid; in Priocntl()
/titanic_41/usr/src/lib/libc/port/rt/
H A Dsched.c182 pcinfo_t pcinfo; in get_info_by_class() local
199 pcinfo.pc_cid = classid; in get_info_by_class()
200 if (priocntl(0, 0, PC_GETCLINFO, &pcinfo) == -1) { in get_info_by_class()
210 strcmp(pcinfo.pc_clname, pccp->pcc_info.pc_clname) == 0) in get_info_by_class()
227 (void) strlcpy(pccp->pcc_info.pc_clname, pcinfo.pc_clname, PC_CLNMSZ); in get_info_by_class()
/titanic_41/usr/src/uts/common/sys/
H A Dpriocntl.h79 typedef struct pcinfo { struct
/titanic_41/usr/src/cmd/zonestat/zonestat/
H A Dzonestat.c2256 pcinfo_t pcinfo; in zonestat_set_fx() local
2259 (void) strlcpy(pcinfo.pc_clname, "FX", sizeof (pcinfo.pc_clname)); in zonestat_set_fx()
2260 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) { in zonestat_set_fx()
2263 pcparms.pc_cid = pcinfo.pc_cid; in zonestat_set_fx()
/titanic_41/usr/src/lib/libpool/common/
H A Dpool_internal.c553 pcinfo_t pcinfo; in pool_set_scheduler() local
560 (void) strncpy(pcinfo.pc_clname, sched, PC_CLNMSZ); in pool_set_scheduler()
561 if (priocntl(0, 0, PC_GETCID, &pcinfo) == -1) { in pool_set_scheduler()
/titanic_41/usr/src/cmd/zonestat/zonestatd/
H A Dzonestatd.c4654 pcinfo_t pcinfo; in zsd_set_fx() local
4657 (void) strlcpy(pcinfo.pc_clname, "FX", sizeof (pcinfo.pc_clname)); in zsd_set_fx()
4658 if (priocntl(0, 0, PC_GETCID, (caddr_t)&pcinfo) == -1) { in zsd_set_fx()
4662 pcparms.pc_cid = pcinfo.pc_cid; in zsd_set_fx()