Symbol: threshold
lib/libpcap/gencode.c
3405
long long threshold = 0x100000000LL; /* 0xffffffff + 1 */
lib/libpcap/gencode.c
3416
threshold /= rate;
lib/libpcap/gencode.c
3417
b0 = gen_relation(BPF_JGT, gen_loadrnd(), gen_loadi(threshold), 1);
lib/librthread/rthread.h
62
int threshold;
lib/librthread/rthread_barrier.c
116
_rthread_debug(6, "in: %d, threshold: %d\n", b->in, b->threshold);
lib/librthread/rthread_barrier.c
117
if (++b->in == b->threshold) {
lib/librthread/rthread_barrier.c
54
b->threshold = count;
sbin/atactl/atactl.c
1631
struct threshold *thr;
sbin/atactl/atactl.c
1667
thr = attr_thr.threshold;
sbin/atactl/atasmart.h
103
struct threshold threshold[30];
sys/arch/riscv64/dev/plic.c
673
plic_set_threshold(int cpu, uint32_t threshold)
sys/arch/riscv64/dev/plic.c
678
if (threshold < 4) // enable everything (as far as plic is concerned)
sys/arch/riscv64/dev/plic.c
680
else if (threshold >= 12) // invalid priority level ?
sys/arch/riscv64/dev/plic.c
683
prival = threshold - 4; // XXX Device-specific threshold offset
sys/dev/ic/malo.c
201
uint32_t threshold;
sys/dev/ic/malo.c
2204
malo_cmd_set_rts(struct malo_softc *sc, uint32_t threshold)
sys/dev/ic/malo.c
2217
body->threshold = htole32(threshold);
sys/dev/ic/malo.c
292
int malo_cmd_set_rts(struct malo_softc *sc, uint32_t threshold);
sys/dev/pci/drm/amd/amdgpu/ih_v6_0.c
106
RB_USED_INT_THRESHOLD, threshold);
sys/dev/pci/drm/amd/amdgpu/ih_v6_0.c
94
u32 threshold, u32 timeout, bool enabled)
sys/dev/pci/drm/amd/amdgpu/ih_v6_1.c
106
RB_USED_INT_THRESHOLD, threshold);
sys/dev/pci/drm/amd/amdgpu/ih_v6_1.c
94
u32 threshold, u32 timeout, bool enabled)
sys/dev/pci/drm/amd/amdgpu/ih_v7_0.c
106
RB_USED_INT_THRESHOLD, threshold);
sys/dev/pci/drm/amd/amdgpu/ih_v7_0.c
94
u32 threshold, u32 timeout, bool enabled)
sys/dev/pci/drm/amd/amdgpu/navi10_ih.c
106
u32 threshold, u32 timeout, bool enabled)
sys/dev/pci/drm/amd/amdgpu/navi10_ih.c
121
RB_USED_INT_THRESHOLD, threshold);
sys/dev/pci/drm/amd/amdgpu/navi10_ih.c
132
RB_USED_INT_THRESHOLD, threshold);
sys/dev/pci/drm/amd/display/modules/color/color_gamma.c
280
struct fixed31_32 threshold;
sys/dev/pci/drm/amd/display/modules/color/color_gamma.c
288
threshold = dc_fixpt_from_fraction(1, 2);
sys/dev/pci/drm/amd/display/modules/color/color_gamma.c
290
if (dc_fixpt_lt(in_x, threshold)) {
sys/dev/pci/drm/amd/display/modules/color/color_gamma.c
311
struct fixed31_32 threshold;
sys/dev/pci/drm/amd/display/modules/color/color_gamma.c
319
threshold = dc_fixpt_from_fraction(1, 12);
sys/dev/pci/drm/amd/display/modules/color/color_gamma.c
323
if (dc_fixpt_lt(x, threshold)) {
sys/dev/pci/drm/amd/pm/legacy-dpm/si_dpm.c
5734
u32 threshold;
sys/dev/pci/drm/amd/pm/legacy-dpm/si_dpm.c
5740
threshold = state->performance_levels[state->performance_level_count-1].sclk * 100 / 100;
sys/dev/pci/drm/amd/pm/legacy-dpm/si_dpm.c
5774
(state->performance_levels[i].sclk < threshold) ?
sys/dev/pci/drm/amd/pm/legacy-dpm/si_dpm.c
5790
threshold / 512);
sys/dev/pci/drm/i915/display/i9xx_wm.c
609
static bool is_disabling(int old, int new, int threshold)
sys/dev/pci/drm/i915/display/i9xx_wm.c
611
return old >= threshold && new < threshold;
sys/dev/pci/drm/i915/display/i9xx_wm.c
614
static bool is_enabling(int old, int new, int threshold)
sys/dev/pci/drm/i915/display/i9xx_wm.c
616
return old < threshold && new >= threshold;
sys/dev/pci/drm/i915/display/intel_hotplug.c
159
const int threshold = hpd->hpd_storm_threshold;
sys/dev/pci/drm/i915/display/intel_hotplug.c
162
if (!threshold ||
sys/dev/pci/drm/i915/display/intel_hotplug.c
172
if (hpd->stats[pin].count > threshold) {
sys/dev/pci/drm/i915/gt/intel_rps.c
2610
static int rps_set_threshold(struct intel_rps *rps, u8 *threshold, u8 val)
sys/dev/pci/drm/i915/gt/intel_rps.c
2621
if (*threshold == val)
sys/dev/pci/drm/i915/gt/intel_rps.c
2624
*threshold = val;
sys/dev/pci/drm/i915/gt/intel_rps.c
2642
int intel_rps_set_up_threshold(struct intel_rps *rps, u8 threshold)
sys/dev/pci/drm/i915/gt/intel_rps.c
2644
return rps_set_threshold(rps, &rps->power.up_threshold, threshold);
sys/dev/pci/drm/i915/gt/intel_rps.c
2652
int intel_rps_set_down_threshold(struct intel_rps *rps, u8 threshold)
sys/dev/pci/drm/i915/gt/intel_rps.c
2654
return rps_set_threshold(rps, &rps->power.down_threshold, threshold);
sys/dev/pci/drm/i915/gt/intel_rps.h
41
int intel_rps_set_up_threshold(struct intel_rps *rps, u8 threshold);
sys/dev/pci/drm/i915/gt/intel_rps.h
43
int intel_rps_set_down_threshold(struct intel_rps *rps, u8 threshold);
sys/dev/pci/drm/i915/gt/selftest_rc6.c
139
threshold = (9 * NSEC_PER_MSEC * sleep_time) / 10;
sys/dev/pci/drm/i915/gt/selftest_rc6.c
140
if (diff < threshold)
sys/dev/pci/drm/i915/gt/selftest_rc6.c
46
u64 threshold;
sys/dev/pci/drm/include/drm/gpu_scheduler.h
683
int threshold)
sys/dev/pci/drm/include/drm/gpu_scheduler.h
685
return s_job && atomic_inc_return(&s_job->karma) > threshold;
sys/dev/pci/drm/radeon/ni_dpm.c
2636
u32 threshold = state->performance_levels[state->performance_level_count - 1].sclk * 100 / 100;
sys/dev/pci/drm/radeon/ni_dpm.c
2657
(state->performance_levels[i].sclk < threshold) ?
sys/dev/pci/drm/radeon/ni_dpm.c
2672
cpu_to_be32(threshold / 512));
sys/dev/pci/drm/radeon/si_dpm.c
5142
u32 threshold;
sys/dev/pci/drm/radeon/si_dpm.c
5148
threshold = state->performance_levels[state->performance_level_count-1].sclk * 100 / 100;
sys/dev/pci/drm/radeon/si_dpm.c
5182
(state->performance_levels[i].sclk < threshold) ?
sys/dev/pci/drm/radeon/si_dpm.c
5198
threshold / 512);
sys/dev/pci/maestro.c
1073
sc->record.threshold = sc->record.start;
sys/dev/pci/maestro.c
1187
sc->play.threshold = sc->play.start;
sys/dev/pci/maestro.c
1406
if (pos >= ch->threshold &&
sys/dev/pci/maestro.c
1407
pos < ch->threshold + ch->blocksize/2)
sys/dev/pci/maestro.c
1409
ch->threshold += ch->blocksize/2;
sys/dev/pci/maestro.c
1410
if (ch->threshold >= ch->end)
sys/dev/pci/maestro.c
1411
ch->threshold = ch->start;
sys/dev/pci/maestro.c
413
u_int16_t threshold;
sys/dev/usb/if_mue.c
323
uint32_t flow, threshold;
sys/dev/usb/if_mue.c
364
threshold = 0;
sys/dev/usb/if_mue.c
372
threshold = 0x820;
sys/dev/usb/if_mue.c
374
threshold =
sys/dev/usb/if_mue.c
383
MUE_FCT_FLOW : MUE_7800_FCT_FLOW, threshold);
sys/dev/usb/utpms.c
170
int threshold; /* Changes less than this are ignored. */
sys/dev/usb/utpms.c
186
.threshold = 5, \
sys/dev/usb/utpms.c
315
sc->sc_threshold = pd->threshold;
sys/dev/usb/utpms.c
626
detect_pos(int *sensors, int n_sensors, int threshold, int fact,
sys/dev/usb/utpms.c
638
if (sensors[i] >= threshold) {
sys/dev/usb/utpms.c
639
if (i == 0 || sensors[i - 1] < threshold)
sys/dev/usb/utpms.c
641
s += sensors[i] - threshold;
sys/dev/usb/utpms.c
642
w += (sensors[i] - threshold) * i;
sys/net/pf.c
685
pf_init_threshold(struct pf_threshold *threshold,
sys/net/pf.c
688
threshold->limit = limit * PF_THRESHOLD_MULT;
sys/net/pf.c
689
threshold->seconds = seconds;
sys/net/pf.c
690
threshold->count = 0;
sys/net/pf.c
691
threshold->last = getuptime();
sys/net/pf.c
695
pf_add_threshold(struct pf_threshold *threshold)
sys/net/pf.c
697
u_int32_t t = getuptime(), diff = t - threshold->last;
sys/net/pf.c
699
if (diff >= threshold->seconds)
sys/net/pf.c
700
threshold->count = 0;
sys/net/pf.c
702
threshold->count -= threshold->count * diff /
sys/net/pf.c
703
threshold->seconds;
sys/net/pf.c
704
threshold->count += PF_THRESHOLD_MULT;
sys/net/pf.c
705
threshold->last = t;
sys/net/pf.c
709
pf_check_threshold(struct pf_threshold *threshold)
sys/net/pf.c
711
return (threshold->count > threshold->limit);
sys/net/rtable.c
510
int threshold, npaths = 1;
sys/net/rtable.c
521
threshold = (0xffff / npaths) + 1;
sys/net/rtable.c
531
while (hash > threshold) {
sys/net/rtable.c
534
hash -= threshold;
usr.bin/ssh/log.c
486
log_ratelimit_init(struct log_ratelimit_ctx *rl, u_int threshold,
usr.bin/ssh/log.c
490
rl->threshold = threshold;
usr.bin/ssh/log.c
495
rl, rl->threshold, rl->max_accum, rl->hysteresis, rl->log_every));
usr.bin/ssh/log.c
511
"accum=%u since=%ld since_last=%u", rl, rl->threshold,
usr.bin/ssh/log.c
544
rl->accumulated_events, rl->threshold));
usr.bin/ssh/log.c
547
if (rl->accumulated_events < rl->threshold) {
usr.bin/ssh/log.h
100
void log_ratelimit_init(struct log_ratelimit_ctx *rl, u_int threshold,
usr.bin/ssh/log.h
83
u_int threshold; /* events per second */
usr.sbin/map-mbone/mapper.c
307
u_char metric, threshold, ncount;
usr.sbin/map-mbone/mapper.c
321
threshold = *p++;
usr.sbin/map-mbone/mapper.c
357
|| nb_i->threshold != nb_n->threshold)
usr.sbin/map-mbone/mapper.c
401
if (metric != nb->metric || threshold != nb->threshold)
usr.sbin/map-mbone/mapper.c
414
nb->threshold = threshold;
usr.sbin/map-mbone/mapper.c
442
u_char metric, threshold, ncount, flags;
usr.sbin/map-mbone/mapper.c
456
threshold = *p++;
usr.sbin/map-mbone/mapper.c
498
|| nb_i->threshold != nb_n->threshold)
usr.sbin/map-mbone/mapper.c
545
if (metric != nb->metric || threshold != nb->threshold)
usr.sbin/map-mbone/mapper.c
558
nb->threshold = threshold;
usr.sbin/map-mbone/mapper.c
58
u_char threshold; /* TTL threshold to forward */
usr.sbin/map-mbone/mapper.c
650
printf(" [%d/%d", nb->metric, nb->threshold);
usr.sbin/map-mbone/mapper.c
715
nb_node->addr, nb->metric, nb->threshold);
usr.sbin/map-mbone/mapper.c
717
|| nb2->threshold != nb->threshold))
usr.sbin/map-mbone/mapper.c
718
printf(",%d/%d", nb2->metric, nb2->threshold);
usr.sbin/mrouted/rsrr.c
227
vif_list[vifi].threshold = v->uv_threshold;
usr.sbin/mrouted/rsrr.h
110
u_char threshold; /* vif threshold ttl */