Searched refs:prio (Results 1 - 25 of 67) sorted by relevance

123

/netbsd-6-1-5-RELEASE/sys/kern/
H A Dbufq_readprio.c110 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 Dsched_m2.c176 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 Dkern_turnstile.c209 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 Dsubr_workqueue.c142 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 Dnice.c58 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 Drenice.c67 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 Dfreebsd_rtprio.h61 u_short prio; member in struct:freebsd_rtprio
/netbsd-6-1-5-RELEASE/regress/sys/kern/priority_inheritance1/
H A Dtest_priority_inheritance1.c61 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 Dinterrupt.c79 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 Dc_nec_jazz.c113 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 Dc_magnum.c174 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 Dpreauth.h30 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 Dpreauth.c349 * @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 Dldp_errors.c92 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 Dbufq_impl.h133 #define BUFQ_DEFINE(name, prio, initfn) \
136 .bs_prio = prio, \
H A Dbuf.h233 #define BIO_SETPRIO(bp, prio) (bp)->b_prio = (prio)
H A Ddisk.h206 #define DKWEDGE_DISCOVERY_METHOD_DECL(name, prio, discover) \
210 prio, \
/netbsd-6-1-5-RELEASE/sys/rump/librump/rumpkern/
H A Dltsleep.c125 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 Dip_encap.c181 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 Dpthread_misc.c116 pthread_setschedprio(pthread_t thread, int prio) argument
123 sp.sched_priority = prio;
/netbsd-6-1-5-RELEASE/sys/arch/macppc/macppc/
H A Dpic_ohare.c227 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 Dm_svr4.c673 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 Dlinux_sched.c321 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 Dvmevar.h126 #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 Dpkgdb.c314 pkgdb_set_dir(const char *dir, int prio) argument
317 if (prio < pkgdb_dir_prio)
320 pkgdb_dir_prio = prio;

Completed in 421 milliseconds

123