/illumos-gate/usr/src/cmd/dispadmin/ |
H A D | dispadmin.c | 90 char *clname; local 101 clname = optarg; 106 clname = argv[optind]; 157 exec_cscmd(clname, argv); 162 set_scheduler(clname); 203 * specified by clname, passing it the arguments in subcmdargv. 206 exec_cscmd(char *clname, char **subcmdargv) argument 212 * Do a quick check to make sure clname is valid. 218 (void) strncpy(pcinfo.pc_clname, clname, PC_CLNMSZ); 221 clname); 294 set_scheduler(char *clname) argument 373 char *clname; local [all...] |
/illumos-gate/usr/src/uts/common/disp/ |
H A D | class.c | 50 alloc_cid(char *clname, id_t *cidp) argument 57 * If the clname doesn't already have a cid, allocate one. 59 if (getcidbyname_locked(clname, cidp) != 0) { 72 clp->cl_name = kmem_alloc(strlen(clname) + 1, KM_SLEEP); 73 (void) strcpy(clp->cl_name, clname); 85 scheduler_load(char *clname, sclass_t *clp) argument 88 char *tmp = clname + 1; 91 if (*clname == '\0' || *clname == '`' || (*clname 115 getcid(char *clname, id_t *cidp) argument 151 getcidbyname_locked(char *clname, id_t *cidp) argument 173 getcidbyname(char *clname, id_t *cidp) argument 339 char *clname; local [all...] |
H A D | priocntl.c | 139 char clname[PC_CLNMSZ]; local 281 if ((*copyinfn)(arg, clname, PC_CLNMSZ) || 285 clname[PC_CLNMSZ-1] = '\0'; 287 if (getcid(clname, &pcparms.pc_cid)) 394 if ((*copyinfn)(arg, clname, PC_CLNMSZ)) 397 clname[PC_CLNMSZ-1] = '\0'; 399 if (getcid(clname, &pcparms.pc_cid)) 708 if (copyin(arg, (caddr_t)clname, PC_CLNMSZ) != 0) 710 clname[PC_CLNMSZ-1] = '\0'; 712 if (getcid(clname, [all...] |
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | sched.c | 81 is_base_class(const char *clname) argument 89 if (strcmp(clname, pccp->pcc_info.pc_clname) == 0)
|
/illumos-gate/usr/src/cmd/priocntl/ |
H A D | fsspriocntl.c | 222 char clname[PC_CLNMSZ]; local 250 PC_KY_CLNAME, clname, 0) == -1 && 251 strcmp(clname, "FSS")) 260 " priocntl command executing\n", clname); 278 fss_priocntl(idtype_t idtype, id_t id, int cmd, char *clname, uintptr_t *argsp) argument 280 return (priocntl(idtype, id, cmd, clname, argsp[0], argsp[1],
|
H A D | fxpriocntl.c | 274 char clname[PC_CLNMSZ]; local 314 PC_KY_CLNAME, clname, 0) != -1 && 315 strcmp(clname, "FX")) { 324 " command executing\n", clname); 342 fx_priocntl(idtype_t idtype, id_t id, int cmd, char *clname, uintptr_t *argsp) argument 344 return (priocntl(idtype, id, cmd, clname, argsp[0], argsp[1],
|
H A D | iapriocntl.c | 256 char clname[PC_CLNMSZ]; local 285 PC_KY_CLNAME, clname, 0) != -1 && 286 strcmp(clname, "IA")) 295 " priocntl command executing\n", clname); 313 ia_priocntl(idtype_t idtype, id_t id, int cmd, char *clname, uintptr_t *argsp) argument 315 return (priocntl(idtype, id, cmd, clname, argsp[0], argsp[1],
|
H A D | rtpriocntl.c | 278 char clname[PC_CLNMSZ]; local 315 PC_KY_CLNAME, clname, 0) != -1 && 316 strcmp(clname, "RT")) 325 " priocntl command executing\n", clname); 344 rt_priocntl(idtype_t idtype, id_t id, int cmd, char *clname, uintptr_t *argsp) argument 346 return (priocntl(idtype, id, cmd, clname, argsp[0], argsp[1],
|
H A D | tspriocntl.c | 238 char clname[PC_CLNMSZ]; local 265 PC_KY_CLNAME, clname, 0) != -1 && 266 strcmp(clname, "TS")) 275 " priocntl command executing\n", clname); 293 ts_priocntl(idtype_t idtype, id_t id, int cmd, char *clname, uintptr_t *argsp) argument 295 return (priocntl(idtype, id, cmd, clname, argsp[0], argsp[1],
|
H A D | subr.c | 149 clname2cid(clname) 150 char *clname; 154 (void) strncpy(pcinfo.pc_clname, clname, PC_CLNMSZ); 235 char clname[PC_CLNMSZ]; local 256 PC_KY_CLNAME, clname, 0) == -1) 258 (void) strncpy(idstr, clname, PC_CLNMSZ); 300 verifyupri(idtype_t idtype, id_t id, char *clname, int key, argument 316 if (priocntl(P_PID, id, PC_GETXPARMS, clname, key, 378 if (strncmp(clname, prinfo.pr_lwp.pr_clname, PC_CLNMSZ) != 0) 441 clname, ke [all...] |
H A D | priocntl.c | 108 char *clname; local 139 clname = prio_optarg; 215 clname = NULL; 224 set_procs(clname, idtype, idargc, idargv, argv); 231 clname = NULL; 236 exec_cmd(clname, argv); 470 set_procs(clname, idtype, idargc, idargv, subcmdargv) 471 char *clname; 494 if (clname == NULL && idtype == P_PID && idargc <= 1) { 530 clname 810 char *clname; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/excalibur/envd/ |
H A D | piclenvsetup.c | 304 char clname[PICL_CLASSNAMELEN_MAX+1]; local 315 clname, strlen(classname) + 1); 317 if ((err == PICL_SUCCESS) && (strcmp(clname, classname) == 0))
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/grover/envd/ |
H A D | piclenvsetup.c | 281 char clname[PICL_CLASSNAMELEN_MAX+1]; local 292 clname, strlen(classname) + 1); 294 if ((err == PICL_SUCCESS) && (strcmp(clname, classname) == 0))
|
/illumos-gate/usr/src/lib/libc/port/locale/ |
H A D | regcomp.c | 806 char clname[16]; local 811 if (len >= sizeof (clname) - 1) { 815 (void) memcpy(clname, sp, len); 816 clname[len] = '\0'; 817 if ((wct = wctype(clname)) == 0) {
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/bsc/ |
H A D | picllom.c | 236 char clname[PICL_CLASSNAMELEN_MAX+1]; local 247 clname, strlen(classname) + 1); 249 if ((err == PICL_SUCCESS) && (strcmp(clname, classname) == 0))
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/envmon/ |
H A D | piclenvmon.c | 331 char clname[PICL_CLASSNAMELEN_MAX+1]; local 342 clname, strlen(classname) + 1); 344 if ((err == PICL_SUCCESS) && (strcmp(clname, classname) == 0))
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | print.c | 1485 char clname[PC_CLNMSZ]; local 1502 if (Pread(Proc, &clname, PC_CLNMSZ, pri->sys_args[3]) != PC_CLNMSZ) { 1507 if (strcmp(clname, "TS") == 0) { 1513 } else if (strcmp(clname, "IA") == 0) { 1520 } else if (strcmp(clname, "RT") == 0) { 1528 } else if (strcmp(clname, "FSS") == 0) { 1534 } else if (strcmp(clname, "FX") == 0) {
|
/illumos-gate/usr/src/lib/libpicltree/ |
H A D | picltree.c | 1154 check_ref_handle(picl_nodehdl_t refh, char *clname) argument 1169 (strcmp(propp->prop_val, clname) != 0)) 1789 ptree_create_node(const char *name, const char *clname, picl_nodehdl_t *nodeh) argument 1798 (clname == NULL) || (*clname == '\0')) 1802 (strlen(clname) >= PICL_CLASSNAMELEN_MAX)) 1818 pobj->node_classname = strdup(clname); 1852 propinfo.piclinfo.size = strlen(clname) + 1; 1856 err = ptree_create_prop(&propinfo, (const void *)clname, &cphdl);
|
/illumos-gate/usr/src/cmd/picl/plugins/common/devtree/ |
H A D | picldevtree.c | 3277 char clname[PICL_CLASSNAMELEN_MAX]; local 3283 err = ptree_get_propval_by_name(nodeh, PICL_PROP_CLASSNAME, clname, 3284 sizeof (clname)); 3286 (void) strcpy(clname, ""); /* NULL class name */ 3289 if (strcmp(clname, uamap->class) == 0)
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/mpxu/frudr/ |
H A D | piclfrudr.c | 1967 char clname[PICL_CLASSNAMELEN_MAX+1]; local 1978 clname, sizeof (clname)); 1980 if ((err == PICL_SUCCESS) && (strcmp(clname, classname) == 0)) {
|
/illumos-gate/usr/src/cmd/zonestat/zonestatd/ |
H A D | zonestatd.c | 2144 zsd_schedname2int(char *clname, int pri) argument 2148 if (strcmp(clname, "TS") == 0) { 2150 } else if (strcmp(clname, "IA") == 0) { 2152 } else if (strcmp(clname, "FX") == 0) { 2158 } else if (strcmp(clname, "RT") == 0) { 2161 } else if (strcmp(clname, "FSS") == 0) {
|