/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | bufq_readprio.c | 110 struct bufq_prio *prio = bufq->bq_private; local 120 TAILQ_INSERT_TAIL(&prio->bq_read, bp, b_actq); 124 bq = TAILQ_FIRST(&prio->bq_write); 130 TAILQ_INSERT_TAIL(&prio->bq_write, bp, b_actq); 131 prio->bq_write_next = bp; 138 if (buf_inorder(prio->bq_write_next, bp, sortby)) 139 bq = prio->bq_write_next; 151 TAILQ_INSERT_TAIL(&prio->bq_write, bp, b_actq); 157 struct bufq_prio *prio = bufq->bq_private; local 163 if (prio 220 struct bufq_prio *prio = bufq->bq_private; local 271 struct bufq_prio *prio; local [all...] |
H A D | sched_m2.c | 176 sched_nice(struct proc *p, int prio) argument 183 p->p_nice = prio; 184 n = (prio - NZERO) >> 2; 240 pri_t prio; local 252 prio = l->l_priority; 253 if (batch && prio != 0) 254 prio--; 259 prio = high_pri[prio]; 261 if (prio ! [all...] |
H A D | kern_turnstile.c | 209 pri_t prio; local 219 prio = lwp_eprio(l); 255 prio = lwp_eprio(l); 258 if (prio <= lwp_eprio(owner)) { 267 ts->ts_eprio = prio; 269 lwp_lendpri(owner, prio); 270 } else if (prio > ts->ts_eprio) { 271 ts->ts_eprio = prio; 272 lwp_lendpri(owner, prio); 297 pri_t prio; local [all...] |
H A D | subr_workqueue.c | 142 pri_t prio, int ipl) 147 wq->wq_prio = prio; 229 pri_t prio, int ipl, int flags) 243 workqueue_init(wq, name, callback_func, callback_arg, prio, ipl); 140 workqueue_init(struct workqueue *wq, const char *name, void (*callback_func)(struct work *, void *), void *callback_arg, pri_t prio, int ipl) argument 227 workqueue_create(struct workqueue **wqp, const char *name, void (*callback_func)(struct work *, void *), void *callback_arg, pri_t prio, int ipl, int flags) argument
|
/netbsd-6-1-5-RELEASE/lib/libc/gen/ |
H A D | nice.c | 58 int prio; local 61 prio = getpriority(PRIO_PROCESS, 0); 62 if (prio == -1 && errno) 64 if (setpriority(PRIO_PROCESS, 0, prio + incr) == -1) {
|
/netbsd-6-1-5-RELEASE/usr.bin/renice/ |
H A D | renice.c | 67 int prio, errs = 0, incr = 0; local 79 if (getnum("priority", *argv, &prio)) 117 errs += donice(which, who, prio, incr); 145 donice(int which, id_t who, int prio, int incr) argument 156 prio = oldprio + prio; 158 if (prio > PRIO_MAX) 159 prio = PRIO_MAX; 160 if (prio < PRIO_MIN) 161 prio [all...] |
/netbsd-6-1-5-RELEASE/sys/compat/freebsd/ |
H A D | freebsd_rtprio.h | 61 u_short prio; member in struct:freebsd_rtprio
|
/netbsd-6-1-5-RELEASE/regress/sys/kern/priority_inheritance1/ |
H A D | test_priority_inheritance1.c | 61 changepri(int prio) argument 66 lwp_changepri(l, prio); 85 thread_enter(int *nlocks, int prio) argument 90 changepri(prio); 96 thread_exit(int nlocks, int prio) argument 106 if (lwp_eprio(l) != prio) 108 if (l->l_priority != prio || l->l_usrpri != prio) 122 int prio = (int)cookie; local 124 thread_enter(&nlocks, prio); 141 int prio = (int)cookie; local 163 int prio = (int)cookie; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/arc/arc/ |
H A D | interrupt.c | 79 int prio) 82 if (prio >= ARC_NINTPRI) 85 if (cpu_int_tab[prio].int_mask != 0 && 86 (cpu_int_tab[prio].int_mask != mask || 87 cpu_int_tab[prio].int_hand != int_hand)) { 91 cpu_int_tab[prio].int_hand = int_hand; 92 cpu_int_tab[prio].int_mask = mask; 78 arc_set_intr(uint32_t mask, uint32_t (*int_hand)(uint32_t, struct clockframe *), int prio) argument
|
H A D | c_nec_jazz.c | 113 uint32_t (*int_hand)(uint32_t, struct clockframe *), int prio) 116 arc_set_intr(mask, int_hand, prio); 112 c_nec_jazz_set_intr(uint32_t mask, uint32_t (*int_hand)(uint32_t, struct clockframe *), int prio) argument
|
H A D | c_magnum.c | 174 uint32_t (*int_hand)(uint32_t, struct clockframe *), int prio) 177 arc_set_intr(mask, int_hand, prio); 173 c_magnum_set_intr(uint32_t mask, uint32_t (*int_hand)(uint32_t, struct clockframe *), int prio) argument
|
/netbsd-6-1-5-RELEASE/external/bsd/wpa/dist/src/rsn_supp/ |
H A D | preauth.h | 30 int prio, int preauth); 68 int prio, int preauth) 66 pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, int prio, int preauth) argument
|
H A D | preauth.c | 349 * @prio: Priority (the smaller number, the higher priority) 357 int prio, int preauth) 384 if (prio < PMKID_CANDIDATE_PRIO_SCAN) 385 cand->priority = prio; 391 cand->priority = prio; 408 "candidate " MACSTR " prio %d", MAC2STR(bssid), prio); 356 pmksa_candidate_add(struct wpa_sm *sm, const u8 *bssid, int prio, int preauth) argument
|
/netbsd-6-1-5-RELEASE/usr.sbin/ldpd/ |
H A D | ldp_errors.c | 92 do_syslog(int prio, const char *fmt, va_list va) argument 94 vsyslog(prio, fmt, va);
|
/netbsd-6-1-5-RELEASE/sys/sys/ |
H A D | bufq_impl.h | 133 #define BUFQ_DEFINE(name, prio, initfn) \ 136 .bs_prio = prio, \
|
H A D | buf.h | 233 #define BIO_SETPRIO(bp, prio) (bp)->b_prio = (prio)
|
H A D | disk.h | 206 #define DKWEDGE_DISCOVERY_METHOD_DECL(name, prio, discover) \ 210 prio, \
|
/netbsd-6-1-5-RELEASE/sys/rump/librump/rumpkern/ |
H A D | ltsleep.c | 125 tsleep(wchan_t ident, pri_t prio, const char *wmesg, int timo) argument 144 mtsleep(wchan_t ident, pri_t prio, const char *wmesg, int timo, kmutex_t *lock) argument 149 if (prio & PNORELOCK)
|
/netbsd-6-1-5-RELEASE/sys/netinet/ |
H A D | ip_encap.c | 181 int prio, matchprio; local 223 prio = (*ep->func)(m, off, proto, ep->arg); 228 prio = mask_match(ep, (struct sockaddr *)&pack.mine, 254 if (prio <= 0) 256 if (prio > matchprio) { 257 matchprio = prio; 304 int prio, matchprio; local 347 prio = (*ep->func)(m, off, proto, ep->arg); 352 prio = mask_match(ep, (struct sockaddr *)&pack.mine, 358 if (prio < [all...] |
/netbsd-6-1-5-RELEASE/lib/libpthread/ |
H A D | pthread_misc.c | 116 pthread_setschedprio(pthread_t thread, int prio) argument 123 sp.sched_priority = prio;
|
/netbsd-6-1-5-RELEASE/sys/arch/macppc/macppc/ |
H A D | pic_ohare.c | 227 uint16_t prio; local 253 prio = ohare->priority_masks[bit]; 256 prio |= ohare->priority_masks[bit]; 264 lvl = 31 - __builtin_clz(prio);
|
/netbsd-6-1-5-RELEASE/external/bsd/top/dist/machine/ |
H A D | m_svr4.c | 673 int prio; local 682 prio = niceval; 683 if (prio > PRIO_MAX) 684 prio = PRIO_MAX; 685 else if (prio < PRIO_MIN) 686 prio = PRIO_MIN; 690 tsparms->ts_uprilim = tsparms->ts_upri = -(scale * prio) / 20;
|
/netbsd-6-1-5-RELEASE/sys/compat/linux/common/ |
H A D | linux_sched.c | 321 int prio = linux_params->sched_priority; local 326 if (prio != 0) { 331 if (prio < LINUX_SCHED_RTPRIO_MIN || 332 prio > LINUX_SCHED_RTPRIO_MAX) { 336 (prio - LINUX_SCHED_RTPRIO_MIN) 375 int prio = native_params->sched_priority; local 377 KASSERT(prio >= SCHED_PRI_MIN); 378 KASSERT(prio <= SCHED_PRI_MAX); 382 __func__, native_policy, prio)); 388 (prio [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/vme/ |
H A D | vmevar.h | 126 #define vme_intr_establish(vc, handle, prio, func, arg) \ 128 (handle), (prio), (func), (arg))
|
/netbsd-6-1-5-RELEASE/external/bsd/pkg_install/dist/lib/ |
H A D | pkgdb.c | 314 pkgdb_set_dir(const char *dir, int prio) argument 317 if (prio < pkgdb_dir_prio) 320 pkgdb_dir_prio = prio;
|