Searched refs:thresh (Results 1 - 25 of 30) sorted by last modified time

12

/freebsd-11-stable/sys/ufs/ffs/
H A Dffs_softdep.c2908 journal_space(ump, thresh)
2910 int thresh;
2928 if (thresh)
2929 thresh = jblocks->jb_min;
2931 thresh = jblocks->jb_low;
2935 return (avail > thresh);
/freebsd-11-stable/sys/net/
H A Diflib.c3482 iflib_completed_tx_reclaim(iflib_txq_t txq, int thresh) argument
3487 KASSERT(thresh >= 0, ("invalid threshold to reclaim"));
3488 MPASS(thresh /*+ MAX_TX_DESC(txq->ift_ctx) */ < txq->ift_size);
3496 if (reclaim <= thresh /* + MAX_TX_DESC(txq->ift_ctx) */) {
3499 printf("%s processed=%ju cleaned=%ju tx_nsegments=%d reclaim=%d thresh=%d\n", __FUNCTION__,
3501 reclaim, thresh);
/freebsd-11-stable/contrib/tcpdump/
H A Dprint-dvmrp.c259 register u_char thresh; local
267 thresh = *bp++;
274 ipaddr_string(ndo, bp), metric, thresh));
291 register u_char metric, thresh, flags; local
301 thresh = *bp++;
308 metric, thresh));
/freebsd-11-stable/sys/dev/iwn/
H A Dif_iwn.c6223 int thresh; local
6261 thresh = sc->base_params->plcp_err_threshold * delta_msec;
6264 "%s: time delta: %d; cck=%d, ofdm=%d, ht=%d, total=%d, thresh=%d\n",
6271 thresh);
6281 if (thresh > 0 && (delta_cck + delta_ofdm + delta_ht) * 100 > thresh) {
6288 thresh);
/freebsd-11-stable/sys/dev/virtio/network/
H A Dif_vtnet.c3650 int size, thresh; local
3664 thresh = size / 4;
3671 thresh < sc->vtnet_tx_nsegs)
3672 thresh = sc->vtnet_tx_nsegs;
3674 sc->vtnet_tx_intr_thresh = thresh;
/freebsd-11-stable/sys/dev/vnic/
H A Dnicvf_queues.c363 rbdr->thresh = RBDR_THRESH;
925 cq->thresh = pass1_silicon(nic->dev) ? 0 : CMP_QUEUE_CQE_THRESH;
1077 sq->thresh = SND_QUEUE_THRESH;
1400 nicvf_queue_reg_write(nic, NIC_QSET_CQ_0_7_THRESH, qidx, cq->thresh);
1449 nicvf_queue_reg_write(nic, NIC_QSET_SQ_0_7_THRESH, qidx, sq->thresh);
1486 rbdr->thresh - 1);
/freebsd-11-stable/crypto/openssh/
H A Dmisc.h124 u_int64_t rate, thresh, lamt; member in struct:bwlimit
H A Dmisc.c1009 bw->thresh = bw->rate;
1028 if (bw->lamt < bw->thresh)
1047 bw->thresh /= 2;
1048 if (bw->thresh < bw->buflen / 4)
1049 bw->thresh = bw->buflen / 4;
1051 bw->thresh *= 2;
1052 if (bw->thresh > bw->buflen * 8)
1053 bw->thresh = bw->buflen * 8;
/freebsd-11-stable/sys/dev/bxe/
H A Dbxe_elink.c3332 uint32_t thresh = (ELINK_ETH_MAX_JUMBO_PACKET_SIZE + local
3336 REG_WR(sc, PBF_REG_P0_ARB_THRSH + port*4, thresh);
3340 init_crd = thresh + 553 - 22;
/freebsd-11-stable/tools/tools/whereintheworld/
H A Dwhereintheworld.pl18 my $thresh = 10;
56 while (@lines > $thresh) {
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/buffering/
H A Dtst.cputime.ksh36 int thresh;
41 thresh = 10;
63 /((total * 100) / (timestamp - start)) > thresh/
67 printf("expected no more than %d%%!\n", thresh);
/freebsd-11-stable/contrib/diff/src/
H A Dcontext.c394 lin thresh;
410 thresh = (prev->ignore || (start && start->ignore)
420 && start->line0 - top0 < thresh);
388 lin thresh; local
/freebsd-11-stable/usr.sbin/pmcstudy/
H A Dpmcstudy.c194 const char *thresh; member in struct:cpu_entry
215 mythresh = "thresh > .05";
218 mythresh = "thresh > .05";
221 mythresh = "thresh >= .2";
224 mythresh = "thresh >= .1";
227 mythresh = "thresh >= .01";
230 mythresh = "thresh >= .05";
233 mythresh = "thresh >= .05";
239 mythresh = "thresh >= .2";
242 mythresh = "thresh >
[all...]
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-fpa-defs.h2250 uint64_t thresh : 32; /**< Packet Threshold. */ member in struct:cvmx_fpa_packet_threshold::cvmx_fpa_packet_threshold_s
2252 uint64_t thresh : 32;
2332 uint64_t thresh : 32; /**< The Threshold. */ member in struct:cvmx_fpa_poolx_threshold::cvmx_fpa_poolx_threshold_s
2334 uint64_t thresh : 32;
2341 uint64_t thresh : 29; /**< The Threshold. */ member in struct:cvmx_fpa_poolx_threshold::cvmx_fpa_poolx_threshold_cn61xx
2343 uint64_t thresh : 29;
2632 uint64_t thresh : 32; /**< WQE Threshold. */ member in struct:cvmx_fpa_wqe_threshold::cvmx_fpa_wqe_threshold_s
2634 uint64_t thresh : 32;
H A Dcvmx-gmxx-defs.h10468 uint64_t thresh : 6; /**< Transmit threshold in 16B blocks - cannot be zero member in struct:cvmx_gmxx_tx_spi_thresh::cvmx_gmxx_tx_spi_thresh_s
10478 uint64_t thresh : 6;
10578 uint64_t thresh : 4; /**< Threshhold on the TX FIFO member in struct:cvmx_gmxx_xaui_ext_loopback::cvmx_gmxx_xaui_ext_loopback_s
10584 uint64_t thresh : 4;
H A Dcvmx-pcmx-defs.h487 uint64_t thresh : 4; /**< If number of bytes remaining in the DMA fifo is <=| NS member in struct:cvmx_pcmx_dma_cfg::cvmx_pcmx_dma_cfg_s
496 uint64_t thresh : 4;
H A Dcvmx-spi.c386 gmxx_tx_spi_thresh.s.thresh = 4;
/freebsd-11-stable/sys/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300.h1550 extern void ar9300_bt_coex_setup_bmiss_thresh(struct ath_hal *ah, u_int32_t thresh);
1564 u_int32_t *thresh);
H A Dar9300_mci.c67 u_int32_t thresh; local
80 thresh = MS(ah->ah_config.ath_hal_mci_config,
83 AR_BTCOEX_CTRL_AGGR_THRESH, thresh);
87 "(MCI) SCHED aggr thresh: on, thresh=%d (%d.%d%%)\n",
88 thresh, (thresh + 1)*125/10, (thresh + 1)*125%10);
94 HALDEBUG(ah, HAL_DEBUG_BT_COEX, "(MCI) SCHED aggr thresh: off\n");
H A Dar9300_misc.c2447 ar9300_bt_coex_setup_bmiss_thresh(struct ath_hal *ah, u_int32_t thresh) argument
2453 ahp->ah_bt_coex_mode2 |= SM(thresh, AR_BT_BCN_MISS_THRESH);
H A Dar9300_timer.c146 /* Enable both trigger and thresh interrupt masks */
166 /* Disable both trigger and thresh interrupt masks */
176 u_int32_t *thresh)
180 *thresh = ahp->ah_intr_gen_timer_thresh;
173 ar9300_get_gen_timer_interrupts( struct ath_hal *ah, u_int32_t *trigger, u_int32_t *thresh) argument
/freebsd-11-stable/sys/dev/vr/
H A Dif_vr.c1634 int thresh; local
1638 thresh = sc->vr_txthresh;
1645 vr_tx_threshold_tables[thresh].value,
1646 vr_tx_threshold_tables[thresh + 1].value);
/freebsd-11-stable/sys/dev/hatm/
H A Dif_hatm.c766 (q->thresh << HE_REGS_IRQ_HEAD_THRESH));
1148 (q->thresh << HE_REGS_RBP_THRESH));
1183 (rq->thresh << HE_REGS_RBRQ_THRESH) |
1221 WRITE4(sc, HE_REGO_TBRQ_THRESH(group), tq->thresh);
1352 kenv_getuint(sc, "rbps0_thresh", &sc->rbp_s0.thresh,
1359 kenv_getuint(sc, "rbpl0_thresh", &sc->rbp_l0.thresh,
1366 kenv_getuint(sc, "rbrq0_thresh", &sc->rbrq_0.thresh,
1376 kenv_getuint(sc, "rbps1_thresh", &sc->rbp_s1.thresh,
1383 kenv_getuint(sc, "rbrq1_thresh", &sc->rbrq_1.thresh,
1393 kenv_getuint(sc, "irq0_thresh", &sc->irq_0.thresh,
[all...]
H A Dif_hatm_intr.c722 (q->thresh << HE_REGS_IRQ_HEAD_THRESH) |
H A Dif_hatmvar.h109 u_int thresh; /* interrupt treshold */ member in struct:herbp
123 u_int thresh; /* interrupt threshold */ member in struct:herbrq
147 u_int thresh; /* interrupt threshold */ member in struct:hetbrq
318 u_int thresh; /* re-interrupt threshold */ member in struct:heirq

Completed in 506 milliseconds

12