/illumos-gate/usr/src/lib/libbc/libc/compat/4.1/ |
H A D | nice.c | 34 * Backwards compatible nice. 37 nice(incr) function
|
/illumos-gate/usr/src/lib/libbc/libc/compat/sys5/ |
H A D | nice.c | 35 * Backwards compatible nice. 38 nice(incr) function
|
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | nice.c | 50 * Backwards compatible nice. 53 nice(int incr) function
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | nice.c | 45 * We support the nice system call for compatibility although 46 * the priocntl system call supports a superset of nice's functionality. 47 * We support nice only for time sharing threads. It will fail 52 nice(int niceness) function
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | priocntl.c | 913 int nice; local 930 if ((error = CL_DONICE(tp, CRED(), 0, &nice)) != 0) 939 if (nice < pcnice->pc_val) 940 pcnice->pc_val = nice; 944 * Try to change the nice value of the thread. 946 inc = pcnice->pc_val - nice; 971 * Check permissions before changing the nice value. 991 * Update the nice value of the specified LWP or set of processes. 1008 * possible nice value to help us find the lowest nice valu [all...] |
H A D | fx.c | 1015 char nice; local 1070 * Set fx_nice to the nice value corresponding to the user 1071 * priority we are setting. Note that setting the nice field 1072 * of the parameter struct won't affect upri or nice. 1075 nice = NZERO - (reqfxupri * NZERO) / fx_maxupri; 1077 if (nice > NZERO) 1078 nice = NZERO; 1090 fxpp->fx_nice = nice; 1481 * Increment the nice value of the specified thread by incr and 1506 * Specifying a nice incremen [all...] |
H A D | ts.c | 1161 char nice; local 1205 * Set ts_nice to the nice value corresponding to the user 1206 * priority we are setting. Note that setting the nice field 1207 * of the parameter struct won't affect upri or nice. 1209 nice = NZERO - (reqtsupri * NZERO) / ts_maxupri; 1210 if (nice >= 2 * NZERO) 1211 nice = 2 * NZERO - 1; 1218 tspp->ts_nice = nice; 2080 * Increment the nice value of the specified thread by incr and 2105 * Specifying a nice incremen [all...] |
H A D | fss.c | 98 * decay rate of processes based on their nice value. Entries in this 125 * the next seconds worth of nice-adjusted time for the project. 218 * using the fss_nice_tick array entry for the thread's nice value. The idea 220 * positive nice values (so that it doesn't increase the project's usage 229 * - FSS_TICK_COST is 1000, the tick cost for threads with nice level 0 316 #define FSS_TICK_COST 1000 /* tick cost for threads with nice level = 0 */ 327 #define FSS_DECAY_MIN 83 /* fsspri decay pct for threads w/ nice -20 */ 328 #define FSS_DECAY_MAX 108 /* fsspri decay pct for threads w/ nice +19 */ 869 * The cost of a tick is lower at positive nice values (so that it 872 * The fsspri decay is slower at positive nice value 1985 char nice; local [all...] |
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prcontrol.c | 84 long nice; /* PCNICE */ member in union:__anon142 387 case PCNICE: /* set nice priority */ 388 error = pr_nice(p, (int)argp->nice, cr); 500 int32_t nice; /* PCNICE */ member in union:__anon143 825 case PCNICE: /* set nice priority */ 826 error = pr_nice(p, (int)argp->nice, cr); 1556 pr_nice(proc_t *p, int nice, cred_t *cr) argument 1565 err = CL_DONICE(t, cr, nice, (int *)NULL);
|
H A D | prioctl.c | 178 int nice; member in union:__anon144 338 case PIOCNICE: /* set nice priority */ 339 if (copyin(cmaddr, &un.nice, sizeof (un.nice))) 685 case PIOCNICE: /* set nice priority */ 686 error = pr_nice(p, (int)un.nice, cr); 1716 int nice; member in union:__anon145 1742 int nice; member in union:__anon146 1901 case PIOCNICE: /* set nice priority */ 1902 if (copyin(cmaddr, &un32.nice, sizeo [all...] |
/illumos-gate/usr/src/cmd/cron/ |
H A D | cron.c | 225 int nice; /* nice for execution */ member in struct:queue 2539 (void) nice(qp->nice); 3090 qt[i].nice = qd.nice; 3105 qt[j].nice = qq.nice; 3128 qq.nice = i;
|
/illumos-gate/usr/src/cmd/zdb/ |
H A D | zdb.c | 1318 char nice[32]; local 1335 zdb_nicenum(dd->dd_used_bytes, nice); 1336 (void) printf("\t\tused_bytes = %s\n", nice); 1337 zdb_nicenum(dd->dd_compressed_bytes, nice); 1338 (void) printf("\t\tcompressed_bytes = %s\n", nice); 1339 zdb_nicenum(dd->dd_uncompressed_bytes, nice); 1340 (void) printf("\t\tuncompressed_bytes = %s\n", nice); 1341 zdb_nicenum(dd->dd_quota, nice); 1342 (void) printf("\t\tquota = %s\n", nice); 1343 zdb_nicenum(dd->dd_reserved, nice); [all...] |