Searched refs:pri (Results 76 - 100 of 197) sorted by relevance

12345678

/freebsd-current/usr.sbin/ppp/
H A Dacf.c60 int pri __unused, u_short *proto)
H A Dncp.c212 ncp_Enqueue(struct ncp *ncp, int af, unsigned pri, char *ptr, int count) argument
229 if (pri >= IPCP_QUEUES(ipcp)) {
230 log_Printf(LogERROR, "Can't store in ip queue %u\n", pri);
238 m_enqueue(ipcp->Queue + pri, bp);
243 if (pri >= IPV6CP_QUEUES(ipcp)) {
244 log_Printf(LogERROR, "Can't store in ipv6 queue %u\n", pri);
252 m_enqueue(ipv6cp->Queue + pri, bp);
H A Dip.c574 int cproto, mask, len, n, pri, logit, result, datalen, frag; local
581 pri = 0;
652 pri++;
656 pri++;
816 pri++;
820 pri++;
822 pri++;
854 snprintf(logbuf + loglen, sizeof logbuf - loglen, " pri:%d", pri);
900 result = pri;
[all...]
/freebsd-current/sys/sys/
H A Dmsgbuf.h71 void msgbuf_addstr(struct msgbuf *mbp, int pri, const char *str, int filter_cr);
H A Dcondvar.h60 void cv_broadcastpri(struct cv *cvp, int pri);
H A Dtaskqueue.h80 int taskqueue_start_threads(struct taskqueue **tqp, int count, int pri,
83 int pri, struct proc *p, const char *name, ...) __printflike(5, 6);
85 int pri, cpuset_t *mask, const char *name, ...) __printflike(5, 6);
/freebsd-current/usr.bin/tr/
H A Dstr.c188 int i, p, pri; local
220 pri = (unsigned char)*dst;
223 if (strxfrm(dst, src, sizeof(dst)) == 1 && pri &&
224 pri == (unsigned char)*dst)
/freebsd-current/sys/dev/bnxt/bnxt_en/
H A Dbnxt_dcb.h68 uint8_t pri; member in struct:bnxt_dscp2pri_entry
H A Dbnxt_dcb.c249 uint8_t i, pri, lltc_count = 0; local
256 for (pri = 0; pri < BNXT_IEEE_8021QAZ_MAX_TCS; pri++) {
257 if ((pfc->pfc_en & (1 << pri)) &&
258 (my_ets->prio_tc[pri] == i)) {
259 pri_mask |= 1 << pri;
507 app[*num_inputs].priority = dscp2pri[i].pri;
544 dscp2pri->pri = app->priority;
/freebsd-current/sys/contrib/openzfs/lib/libzpool/
H A Dtaskq.c254 taskq_create(const char *name, int nthreads, pri_t pri, argument
257 (void) pri;
299 NULL, 0, taskq_thread, tq, 0, &p0, TS_RUN, pri)) != NULL);
347 taskq_create_synced(const char *name, int nthreads, pri_t pri, argument
354 (void) pri; (void) minalloc; (void) maxalloc;
/freebsd-current/sys/contrib/dev/mediatek/mt76/
H A Dmt76x02_dfs.c436 int i, j, end, pri, factor, cur_pri; local
470 pri = event->ts - cur_event->ts;
472 pri < sw_params->min_pri)
475 if (pri > sw_params->max_pri)
478 seq.pri = event->ts - cur_event->ts;
488 factor = mt76x02_dfs_get_multiple(cur_pri, seq.pri,
520 int factor, pri; local
533 pri = event->ts - seq->last_ts;
534 factor = mt76x02_dfs_get_multiple(pri, seq->pri,
[all...]
H A Dmt76x02_dfs.h79 u32 pri; member in struct:mt76x02_dfs_sequence
/freebsd-current/sys/net80211/
H A Dieee80211_superg.c772 const int pri = M_WME_GETAC(m); local
782 ic->ic_wme.wme_chanParams.cap_wmeParams[pri].wmep_txopLimit);
793 tap = &ni->ni_tx_ampdu[WME_AC_TO_TID(pri)];
794 mstaged = ni->ni_tx_superg[WME_AC_TO_TID(pri)];
822 sq = &sg->ff_stageq[pri];
837 ni->ni_tx_superg[WME_AC_TO_TID(pri)] = NULL;
860 ni->ni_tx_superg[WME_AC_TO_TID(pri)] = NULL;
878 KASSERT(ni->ni_tx_superg[WME_AC_TO_TID(pri)] == NULL,
880 ni->ni_tx_superg[WME_AC_TO_TID(pri)]));
881 ni->ni_tx_superg[WME_AC_TO_TID(pri)]
[all...]
/freebsd-current/sys/kern/
H A Dkern_synch.c119 * (0 means no timeout). If pri includes the PCATCH flag, let signals
137 int catch, pri, rval, sleepq_flags; local
167 pri = priority & PRIMASK;
215 rval = sleepq_timedwait_sig(ident, pri);
217 rval = sleepq_timedwait(ident, pri);
219 rval = sleepq_wait_sig(ident, pri);
221 sleepq_wait(ident, pri);
H A Dsched_4bsd.c142 static void kick_other_cpu(int pri, int cpuid);
322 int cpri, pri; local
350 pri = td->td_priority;
352 if (KERNEL_PANICKED() || pri >= cpri /* || dumping */ ||
356 if (pri > PRI_MAX_ITHD && cpri < PRI_MIN_IDLE)
993 sched_sleep(struct thread *td, int pri) argument
999 if (pri != 0 && PRI_BASE(td->td_pri_class) == PRI_TIMESHARE)
1000 sched_prio(td, pri);
1001 if (TD_IS_SUSPENDED(td) || pri >= PSOCK)
1249 kick_other_cpu(int pri, in argument
[all...]
H A Dkern_condvar.c463 cv_broadcastpri(struct cv *cvp, int pri) argument
470 * XXX sleepq_broadcast pri argument changed from -1 meaning
471 * no pri to 0 meaning no pri.
474 if (pri == -1)
475 pri = 0;
479 wakeup_swapper = sleepq_broadcast(cvp, SLEEPQ_CONDVAR, pri, 0);
H A Dkern_umtx.c1850 int pri; local
1853 pri = UPRI(td);
1870 if (td->td_lend_user_pri > pri)
1871 sched_lend_user_prio(td, pri);
1899 int pri; local
1906 pri = PRI_MAX;
1912 if (pri > UPRI(uq->uq_thread))
1913 pri = UPRI(uq->uq_thread);
1917 if (pri > uq_owner->uq_inherited_pri)
1918 pri
1961 int pri; local
2021 int error, pri; local
2156 int pri; local
2524 int error, pri, old_inherited_pri, new_pri, rv; local
2691 int error, pri, new_inherited_pri; local
[all...]
H A Dsubr_taskqueue.c700 _taskqueue_start_threads(struct taskqueue **tqp, int count, int pri, argument
760 sched_prio(td, pri);
768 taskqueue_start_threads(struct taskqueue **tqp, int count, int pri, argument
775 error = _taskqueue_start_threads(tqp, count, pri, NULL, NULL, name, ap);
781 taskqueue_start_threads_in_proc(struct taskqueue **tqp, int count, int pri, argument
788 error = _taskqueue_start_threads(tqp, count, pri, NULL, proc, name, ap);
794 taskqueue_start_threads_cpuset(struct taskqueue **tqp, int count, int pri, argument
801 error = _taskqueue_start_threads(tqp, count, pri, mask, NULL, name, ap);
H A Dsubr_kdb.c567 int cur_pri, pri; local
575 pri = (be->dbbe_init != NULL) ? be->dbbe_init() : -1;
576 be->dbbe_active = (pri >= 0) ? 0 : -1;
577 if (pri > cur_pri) {
578 cur_pri = pri;
/freebsd-current/cddl/usr.sbin/dwatch/libexec/
H A DMakefile44 LINKS+= ${LIBEXECDIR}/dwatch/sched ${LIBEXECDIR}/dwatch/sched-change-pri
49 LINKS+= ${LIBEXECDIR}/dwatch/sched ${LIBEXECDIR}/dwatch/sched-lend-pri
54 LINKS+= ${LIBEXECDIR}/dwatch/sched ${LIBEXECDIR}/dwatch/sched-pri
/freebsd-current/contrib/unbound/util/
H A Dlog.c220 log_vmsg(int pri, const char* type, argument
232 (void)pri;
236 syslog(pri, "[%d:%x] %s: %s",
/freebsd-current/sys/net/altq/
H A Daltq_rmclass.c122 * 'pri' on the interface given by 'ifd'.
179 rmc_newclass(int pri, struct rm_ifdat *ifd, u_int nsecPerByte, argument
188 if (pri >= RM_MAXPRIO)
233 cl->pri_ = pri;
311 if ((peer = ifd->active_[pri]) != NULL) {
312 /* find the last class at this pri */
314 while (peer->peer_ != ifd->active_[pri])
318 ifd->active_[pri] = cl;
338 ifd->num_[pri]++;
339 ifd->alloc_[pri]
446 rmc_get_weight(struct rm_ifdat *ifd, int pri) argument
[all...]
/freebsd-current/contrib/wpa/src/ap/
H A Dieee802_11_ht.c183 int pri = 2407 + 5 * channel; local
197 if ((pri < affected_start || pri > affected_end))
202 wpa_printf(MSG_ERROR, "Neighboring BSS: freq=%d", pri);
/freebsd-current/sys/contrib/dev/athk/
H A Ddfs_pri_detector.c236 /* ignore too small pri */
240 /* stop on too large pri (sorted list) */
243 /* build a new sequence with new potential pri */
248 ps.pri = GET_PRI_TO_USE(pde->rs->pri_min,
250 ps.dur = ps.pri * (pde->rs->ppb - 1)
263 factor = pde_get_multiple(ps.last_ts - p2->ts, ps.pri,
320 factor = pde_get_multiple(delta_ts, ps->pri,
/freebsd-current/sys/geom/part/
H A Dg_part_gpt.c604 gpt_matched_hdrs(struct gpt_hdr *pri, struct gpt_hdr *sec) argument
607 if (pri == NULL || sec == NULL)
610 if (!EQUUID(&pri->hdr_uuid, &sec->hdr_uuid))
612 return ((pri->hdr_revision == sec->hdr_revision &&
613 pri->hdr_size == sec->hdr_size &&
614 pri->hdr_lba_start == sec->hdr_lba_start &&
615 pri->hdr_lba_end == sec->hdr_lba_end &&
616 pri->hdr_entries == sec->hdr_entries &&
617 pri->hdr_entsz == sec->hdr_entsz &&
618 pri
862 int error, index, pri, res; local
[all...]

Completed in 502 milliseconds

12345678