/illumos-gate/usr/src/lib/libbc/libc/compat/4.1/ |
H A D | nice.c | 40 int prio; local 46 prio = getpriority(PRIO_PROCESS, 0); 47 if (prio == -1 && errno) 49 if (setpriority(PRIO_PROCESS, 0, prio + incr) == -1)
|
/illumos-gate/usr/src/lib/libbc/libc/compat/sys5/ |
H A D | nice.c | 41 register int prio; local 52 prio = getpriority(PRIO_PROCESS, 0); 53 if (prio == -1 && errno) 55 prio += incr; 56 if (prio < -20) 57 prio = -20; 58 else if (prio > 19) 59 prio = 19; 60 if (setpriority(PRIO_PROCESS, 0, prio) == -1) { 71 return (prio); [all...] |
/illumos-gate/usr/src/ucblib/libucb/port/gen/ |
H A D | nice.c | 55 int prio; local 60 prio = getpriority(PRIO_PROCESS, 0); 61 if (prio == -1 && errno) 63 if (setpriority(PRIO_PROCESS, 0, prio + incr) == -1)
|
/illumos-gate/usr/src/lib/librstp/common/ |
H A D | vector.h | 32 unsigned short prio; member in struct:bridge_id
|
H A D | uid_stp.h | 38 unsigned short prio; member in struct:__anon3917
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | setpriority.c | 149 setpriority(int which, id_t who, int prio) argument 176 if (prio > NZERO - 1) 177 prio = NZERO - 1; 178 else if (prio < -NZERO) 179 prio = -NZERO; 181 pcnice.pc_val = prio; 203 prio < gpcnice.pc_val) {
|
/illumos-gate/usr/src/cmd/drd/ |
H A D | drd_log.c | 96 drd_log_msg(int prio, char *fmt, va_list vap) argument 111 (void) fprintf(stderr, "%s%s%s\n", timebuf, log_prio_str[prio], msgbuf); 114 syslog(prio, msgbuf);
|
/illumos-gate/usr/src/cmd/ldmad/ |
H A D | ldma_log.c | 96 ldma_log_msg(int prio, char *module, char *fmt, va_list vap) argument 113 log_prio_str[prio], msgbuf); 115 if (ldma_daemon && prio != LOG_DEBUG) { 117 syslog(prio, msgbuf);
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | tag.c | 35 int prio; member in struct:tag_entry 125 tag_put(const char *s, int prio, size_t line) argument 140 } else if (entry->prio <= prio) 143 entry->prio = prio;
|
H A D | main.c | 132 int prio, best_prio; local 421 prio = sec_prios[sec[0] - '1']; 423 prio += 10; 424 if (prio >= best_prio) 426 best_prio = prio;
|
/illumos-gate/usr/src/cmd/sh/ |
H A D | func.c | 40 static void prio(struct ionod *iop); 260 prio(comptr(t)->comio); 265 prio(forkptr(t)->forkio); 420 prio(struct ionod *iop) function
|
/illumos-gate/usr/src/cmd/renice/ |
H A D | renice.c | 59 static int donice(int which, id_t who, int prio, int increment, char *who_s); 257 int prio; local 268 prio = strtol(*argv, &end_ptr, 10); 273 if (prio == 20) { 314 errs += donice(which, who, prio, RENICE_PRIO_ABSOLUTE, *argv); 322 donice(int which, id_t who, int prio, int increment, char *who_s) argument 335 prio = oldprio + prio; 337 if (setpriority(which, who, prio) < 0) { 339 if (errno == EACCES && prio < oldpri [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | rrwlock.c | 163 rrw_enter_read_impl(rrwlock_t *rrl, boolean_t prio, void *tag) argument 179 refcount_is_zero(&rrl->rr_anon_rcount) && !prio &&
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | sched.c | 103 pri_t prio; local 150 prio = ((tsinfo_t *)pccp->pcc_info.pc_clinfo)->ts_maxupri; 151 pccp->pcc_primin = -prio; 152 pccp->pcc_primax = prio; 156 prio = ((rtinfo_t *)pccp->pcc_info.pc_clinfo)->rt_maxpri; 158 pccp->pcc_primax = prio; 248 set_priority(idtype_t idtype, id_t id, int policy, int prio, argument 257 tsp->ts_uprilim = prio; 258 tsp->ts_upri = prio; 268 rtp->rt_pri = prio; 300 setprio(idtype_t idtype, id_t id, int prio, int *policyp) argument 416 setparam(idtype_t idtype, id_t id, int policy, int prio) argument 437 pri_t prio = param->sched_priority; local [all...] |
H A D | mqueue.c | 269 uint_t prio = mqhp->mq_curmaxprio; local 271 mqhp->mq_mask &= ~(1u << prio); 273 for (; prio != 0; prio--) 274 if (mqhp->mq_mask & (1u << prio)) 276 mqhp->mq_curmaxprio = prio; 293 mq_putmsg(mqhdr_t *mqhp, const char *msgp, ssize_t len, uint_t prio) argument 319 headpp = HEAD_PTR(mqhp, prio); 320 tailpp = TAIL_PTR(mqhp, prio); 330 mqhp->mq_mask |= (1u << prio); [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/bridged/ |
H A D | rstp.c | 449 unsigned short prio; local 457 STP_IN_get_bridge_id(port->vlan_id, &prio, mac);
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | pthread.c | 66 _thr_setparam(pthread_t tid, int policy, int prio) argument 82 if (prio > ulwp->ul_epri) 85 ulwp->ul_pri = prio; 86 } else if ((cid = setparam(P_LWPID, tid, policy, prio)) == -1) { 92 ulwp->ul_pri = prio; 126 ap->prio < pccp->pcc_primin || ap->prio > pccp->pcc_primax)) 142 ap->prio != (self->ul_epri ? self->ul_epri : 149 error = _thr_setparam(tid, ap->policy, ap->prio); 280 thr_setprio(thread_t tid, int prio) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_whatis.c | 390 uint_t prio, uint_t flags) 417 if (prio > WHATIS_PRIO_MIN) 418 prio = WHATIS_PRIO_MIN; 426 wcp->wcb_prio = prio; 389 mdb_whatis_register(const char *name, mdb_whatis_cb_f *func, void *arg, uint_t prio, uint_t flags) argument
|
/illumos-gate/usr/src/uts/common/disp/ |
H A D | priocntl.c | 1071 int prio = 0; local 1101 if ((error = CL_DOPRIO(tp, CRED(), 0, &prio)) != 0) 1109 if (prio > pcprio->pc_val) { 1111 pcprio->pc_val = prio; 1113 } else if (prio != pcprio->pc_val) { 1117 incr = pcprio->pc_val - prio; 1118 error = CL_DOPRIO(tp, CRED(), incr, &prio); 1141 * Check permissions before changing the prio value. 1181 * possible prio value to help us find the highest priority
|
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/ |
H A D | events.c | 737 int64_t prio = INVALID_PRIORITY_GROUP; local 741 selected = nwamd_ncp_check_priority_group(&prio); 747 nwamd_ncp_activate_priority_group(prio); 748 nwamd_ncp_deactivate_priority_group_all(prio + 1); 756 while (nwamd_ncp_find_next_priority_group(++oldprio, &prio)) { 757 nwamd_ncp_activate_priority_group(prio); 758 oldprio = prio;
|
/illumos-gate/usr/src/lib/libsip/common/ |
H A D | sip_add_hdrs.c | 822 sip_add_priority(sip_msg_t sip_msg, char *prio) argument 826 if (prio == NULL) 828 ret = sip_add_str_to_msg(sip_msg, SIP_PRIORITY, prio, NULL, (char)NULL);
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | ip_mroute.c | 3246 int prio; local 3267 prio = 70; 3270 prio = 60; 3273 prio = 55; 3276 prio = 50; 3281 "priority: port %x prio %d\n", 3282 ntohs(udp->uh_dport), prio); 3285 prio = 50; /* default priority */ 3286 return (prio);
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | cpu_event.c | 503 cpu_idle_register_callback(uint_t prio, cpu_idle_callback_t *cbp, argument 521 } else if (prio < CPU_IDLE_CB_PRIO_LOW_BASE || 522 prio >= CPU_IDLE_CB_PRIO_RESV_BASE) { 524 "!cpu_event: priority 0x%x out of range.", prio); 535 if (prio != CPU_IDLE_CB_PRIO_DYNAMIC) { 538 if (cip->priority == prio) { 541 "priority 0x%x already exists.", prio); 550 cip->priority = prio;
|
/illumos-gate/usr/src/cmd/mdb/common/modules/mac/ |
H A D | mac.c | 100 mac_flow_priority2str(mac_priority_level_t prio) argument 102 switch (prio) {
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | dbutils.c | 232 int prio = LOG_NOTICE; local 249 prio = LOG_ERR; 253 idmapdlog(prio, "Error creating database %s (%s)", 276 idmapdlog(prio, 285 idmapdlog(prio, 312 idmapdlog(prio, "Error %s schema for db %s", dbname,
|