Searched refs:threshold (Results 1 - 25 of 80) sorted by relevance

1234

/freebsd-current/sys/contrib/pcg-c/include/
H A Dpcg_variants.h843 * bound, which we do by dropping output less than a threshold.
845 * threshold would be to do
847 * uint32_t threshold = 0x100000000ull % bound;
852 * uint32_t threshold = (0x100000000ull-bound) % bound;
876 uint8_t threshold = ((uint8_t)(-bound)) % bound; local
879 if (r >= threshold)
894 uint16_t threshold = ((uint16_t)(-bound)) % bound; local
897 if (r >= threshold)
912 uint32_t threshold = -bound % bound; local
915 if (r >= threshold)
933 uint64_t threshold = -bound % bound; local
952 uint8_t threshold = ((uint8_t)(-bound)) % bound; local
970 uint16_t threshold = ((uint16_t)(-bound)) % bound; local
988 uint32_t threshold = -bound % bound; local
1009 uint64_t threshold = -bound % bound; local
1029 uint8_t threshold = ((uint8_t)(-bound)) % bound; local
1049 uint16_t threshold = ((uint16_t)(-bound)) % bound; local
1069 uint32_t threshold = -bound % bound; local
1091 uint64_t threshold = -bound % bound; local
1110 uint8_t threshold = ((uint8_t)(-bound)) % bound; local
1128 uint16_t threshold = ((uint16_t)(-bound)) % bound; local
1146 uint32_t threshold = -bound % bound; local
1166 uint64_t threshold = -bound % bound; local
1187 uint8_t threshold = ((uint8_t)(-bound)) % bound; local
1205 uint16_t threshold = ((uint16_t)(-bound)) % bound; local
1223 uint32_t threshold = -bound % bound; local
1244 uint64_t threshold = -bound % bound; local
1263 uint8_t threshold = ((uint8_t)(-bound)) % bound; local
1281 uint16_t threshold = ((uint16_t)(-bound)) % bound; local
1299 uint32_t threshold = -bound % bound; local
1320 uint64_t threshold = -bound % bound; local
1340 uint8_t threshold = ((uint8_t)(-bound)) % bound; local
1360 uint16_t threshold = ((uint16_t)(-bound)) % bound; local
1380 uint32_t threshold = -bound % bound; local
1402 uint64_t threshold = -bound % bound; local
1421 uint8_t threshold = ((uint8_t)(-bound)) % bound; local
1439 uint16_t threshold = ((uint16_t)(-bound)) % bound; local
1457 uint32_t threshold = -bound % bound; local
1477 uint64_t threshold = -bound % bound; local
1500 uint8_t threshold = ((uint8_t)(-bound)) % bound; local
1519 uint16_t threshold = ((uint16_t)(-bound)) % bound; local
1538 uint32_t threshold = -bound % bound; local
1557 uint64_t threshold = -bound % bound; local
1578 pcg128_t threshold = -bound % bound; local
1598 uint16_t threshold = ((uint16_t)(-bound)) % bound; local
1617 uint32_t threshold = -bound % bound; local
1636 uint64_t threshold = -bound % bound; local
1657 pcg128_t threshold = -bound % bound; local
1677 uint8_t threshold = ((uint8_t)(-bound)) % bound; local
1697 uint16_t threshold = ((uint16_t)(-bound)) % bound; local
1717 uint32_t threshold = -bound % bound; local
1737 uint64_t threshold = -bound % bound; local
1759 pcg128_t threshold = -bound % bound; local
1780 uint8_t threshold = ((uint8_t)(-bound)) % bound; local
1798 uint16_t threshold = ((uint16_t)(-bound)) % bound; local
1816 uint32_t threshold = -bound % bound; local
1836 uint64_t threshold = -bound % bound; local
1855 uint8_t threshold = ((uint8_t)(-bound)) % bound; local
1873 uint16_t threshold = ((uint16_t)(-bound)) % bound; local
1891 uint32_t threshold = -bound % bound; local
1911 uint64_t threshold = -bound % bound; local
1931 uint8_t threshold = ((uint8_t)(-bound)) % bound; local
1950 uint16_t threshold = ((uint16_t)(-bound)) % bound; local
1969 uint32_t threshold = -bound % bound; local
1991 uint64_t threshold = -bound % bound; local
2010 uint8_t threshold = ((uint8_t)(-bound)) % bound; local
2028 uint16_t threshold = ((uint16_t)(-bound)) % bound; local
2046 uint32_t threshold = -bound % bound; local
2066 uint64_t threshold = -bound % bound; local
2087 uint32_t threshold = -bound % bound; local
2108 uint64_t threshold = -bound % bound; local
2127 uint32_t threshold = -bound % bound; local
2148 uint64_t threshold = -bound % bound; local
2169 uint32_t threshold = -bound % bound; local
2191 uint64_t threshold = -bound % bound; local
2210 uint32_t threshold = -bound % bound; local
2230 uint64_t threshold = -bound % bound; local
2252 uint64_t threshold = -bound % bound; local
2273 pcg128_t threshold = -bound % bound; local
2293 uint64_t threshold = -bound % bound; local
2314 pcg128_t threshold = -bound % bound; local
2335 uint64_t threshold = -bound % bound; local
2357 pcg128_t threshold = -bound % bound; local
[all...]
/freebsd-current/sys/arm/nvidia/
H A Dtegra_efuse.c140 struct tegra_sku_info *sku, int *threshold)
147 *threshold = TEGRA124_THRESHOLD_INDEX_0;
165 *threshold = TEGRA124_THRESHOLD_INDEX_0;
173 *threshold = TEGRA124_THRESHOLD_INDEX_1;
181 *threshold = TEGRA124_THRESHOLD_INDEX_1;
192 int i, threshold; local
207 tegra124_rev_sku_to_speedo_ids(sc, sku, &threshold);
211 tegra124_soc_process_speedos[threshold][i])
218 tegra124_cpu_process_speedos[threshold][i])
225 tegra124_gpu_process_speedos[threshold][
139 tegra124_rev_sku_to_speedo_ids(struct tegra_efuse_softc *sc, struct tegra_sku_info *sku, int *threshold) argument
296 tegra210_rev_sku_to_speedo_ids(struct tegra_efuse_softc *sc, struct tegra_sku_info *sku, int speedo_rev, int *threshold) argument
332 int i, threshold, speedo_rev; local
[all...]
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/common/
H A Dentropy_common.c49 int threshold; local
77 threshold = 1<<nbBits;
109 { int const max = (2*threshold-1) - remaining;
112 if ((bitStream & (threshold-1)) < (U32)max) {
113 count = bitStream & (threshold-1);
116 count = bitStream & (2*threshold-1);
117 if (count >= threshold) count -= max;
125 while (remaining < threshold) {
127 threshold >>= 1;
H A Dfse.h549 U32 const threshold = (minNbBits+1) << 16; local
553 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize);
556 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold);
/freebsd-current/sys/contrib/zstd/lib/common/
H A Dentropy_common.c78 int threshold; local
106 threshold = 1<<nbBits;
160 int const max = (2*threshold-1) - remaining;
163 if ((bitStream & (threshold-1)) < (U32)max) {
164 count = bitStream & (threshold-1);
167 count = bitStream & (2*threshold-1);
168 if (count >= threshold) count -= max;
185 assert(threshold > 1);
186 if (remaining < threshold) {
188 * threshold updat
[all...]
H A Dfse.h575 U32 const threshold = (minNbBits+1) << 16; local
579 U32 const deltaFromThreshold = threshold - (symbolTT[symbolValue].deltaNbBits + tableSize);
582 assert(symbolTT[symbolValue].deltaNbBits + tableSize <= threshold);
/freebsd-current/sys/contrib/ck/src/
H A Dck_hp.c70 unsigned int threshold,
74 state->threshold = threshold;
86 ck_hp_set_threshold(struct ck_hp *state, unsigned int threshold) argument
89 ck_pr_store_uint(&state->threshold, threshold);
305 if (thread->n_pending >= global->threshold)
68 ck_hp_init(struct ck_hp *state, unsigned int degree, unsigned int threshold, ck_hp_destructor_t destroy) argument
/freebsd-current/sys/kern/
H A Dsubr_prng.c58 uint64_t threshold = -bound % bound; local
61 if (r >= threshold)
/freebsd-current/usr.bin/du/
H A Ddu.c89 off_t threshold, threshold_sign; local
104 threshold = 0;
187 if (expand_number(optarg, &threshold) != 0 ||
188 threshold == 0) {
189 xo_warnx("invalid threshold: %s", optarg);
191 } else if (threshold < 0)
251 if (threshold != 0)
252 threshold = howmany(threshold / DEV_BSIZE * cblocksize,
280 if (p->fts_level <= depth && threshold <
[all...]
/freebsd-current/sys/dev/nvme/
H A Dnvme_ctrlr_cmd.c231 uint32_t microseconds, uint32_t threshold, nvme_cb_fn_t cb_fn, void *cb_arg)
239 threshold = 0;
242 if (threshold >= 0x100) {
243 nvme_printf(ctrlr, "invalid threshold %d, disabling\n",
244 threshold);
245 threshold = 0;
249 cdw11 = ((microseconds/100) << 8) | threshold;
230 nvme_ctrlr_cmd_set_interrupt_coalescing(struct nvme_controller *ctrlr, uint32_t microseconds, uint32_t threshold, nvme_cb_fn_t cb_fn, void *cb_arg) argument
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DInlineModelFeatureMaps.h64 M(int64_t, {1}, threshold, "Threshold for the heuristic inliner")
89 Feature != InlineCostFeatureIndex::threshold;
109 M(int64_t, {1}, cost_estimate, "total cost estimate (threshold - free)") \
/freebsd-current/sys/contrib/ck/include/
H A Dck_hp.h46 unsigned int threshold; member in struct:ck_hp
/freebsd-current/contrib/ofed/infiniband-diags/src/
H A Dibccconfig.c72 "<controlmap> <victimmask> <creditmask> <threshold> <packetsize> "
75 "<valid> <control_type> <threshold> <packet_size> <cong_parm_marking_rate>"},
260 uint32_t threshold; local
281 if ((errstr = parseint(argv[3], &threshold, 0)))
315 &threshold);
348 uint32_t threshold; local
368 if ((errstr = parseint(argv[3], &threshold, 0)))
407 &threshold);
/freebsd-current/sys/contrib/ncsw/inc/Peripherals/
H A Dqm_ext.h343 @Description Change the pfdr threshold from its default
345 An interrupt if enables is asserted when the number of PFDRs is below this threshold.
348 @Param[in] threshold - threshold value.
354 t_Error QM_ConfigPfdrThreshold(t_Handle h_Qm, uint32_t threshold);
359 @Description Change the sfdr threshold from its default
363 @Param[in] threshold - threshold value.
369 t_Error QM_ConfigSfdrReservationThreshold(t_Handle h_Qm, uint32_t threshold);
1103 uint32_t maxTh; /**< minimum threshold
1143 uint32_t threshold; /**< If Tail drop - used as Tail drop threshold, otherwise member in struct:t_QmCgParams
[all...]
H A Dbm_ext.h189 @Description Change the fbpr threshold from its default
191 An interrupt if enables is asserted when the number of FBPRs is below this threshold.
195 @Param[in] threshold - threshold value.
201 t_Error BM_ConfigFbprThreshold(t_Handle h_Bm, uint32_t threshold);
/freebsd-current/sys/contrib/openzfs/module/zstd/lib/compress/
H A Dfse_compress.c86 assert(tableLog < 16); /* required for threshold strategy to work */
203 int threshold; local
216 threshold = tableSize;
251 int const max = (2*threshold-1) - remaining;
254 if (count>=threshold)
255 count += max; /* [0..max[ [max..threshold[ (...) [threshold+max 2*threshold[ */
261 while (remaining<threshold) { nbBits--; threshold>>
[all...]
/freebsd-current/sys/contrib/xen/xsm/
H A Dflask_op.h118 uint32_t threshold; member in struct:xen_flask_setavc_threshold
/freebsd-current/sys/powerpc/cpufreq/
H A Dmpc85xx_jog.c100 int threshold; /* Threshold frequency, in MHz, for setting CORE_SPD bit. */ member in struct:mpc85xx_constraints
204 sc->min_freq = constraints->threshold;
/freebsd-current/contrib/arm-optimized-routines/math/tools/
H A Dremez.jl426 # Decide on a 'good enough' threshold.
427 threshold = abs(c-a) * 2^(-epsbits/2)
447 while abs(c-a) > threshold
730 threshold = 2^(-epsbits/2) # convergence threshold
740 if abs(e1-e0) <= threshold
758 while abs(e1-e0) > threshold
842 threshold = 2^(-epsbits/3)
865 if variation < threshold
/freebsd-current/contrib/bc/src/
H A Drand.c521 BcRand threshold; local
523 // Calculate the threshold below which we have to try again.
524 threshold = (0 - bound) % bound;
530 while (rand < threshold);
/freebsd-current/sys/contrib/zstd/lib/compress/
H A Dfse_compress.c90 assert(tableLog < 16); /* required for threshold strategy to work */
243 int threshold; local
256 threshold = tableSize;
291 int const max = (2*threshold-1) - remaining;
294 if (count>=threshold)
295 count += max; /* [0..max[ [max..threshold[ (...) [threshold+max 2*threshold[ */
301 while (remaining<threshold) { nbBits--; threshold>>
[all...]
/freebsd-current/sys/dev/sound/pci/
H A Dhdspe-pcm.c831 int threshold; local
859 threshold = hr->speed + ((rate_map[i + 1].speed != 0) ?
861 if (speed < threshold)
904 int threshold; local
939 threshold = hl->period + ((latency_map[i + 1].period != 0) ?
941 if (blocksize < threshold)
H A Dhdsp-pcm.c849 int threshold; local
881 threshold = hr->speed + ((rate_map[i + 1].speed != 0) ?
883 if (speed < threshold)
911 int threshold; local
946 threshold = hl->period + ((latency_map[i + 1].period != 0) ?
948 if (blocksize < threshold)
/freebsd-current/sys/dev/sound/pcm/
H A Dchannel.c706 device_printf(c->dev, "%s(): %s (%s) threshold "
760 * a threshold. The threshold is checked against fl or rl respectively.
764 chn_sync(struct pcm_channel *c, int threshold) argument
778 (threshold < 1 && sndbuf_getready(bs) < 1))
783 if (threshold > 0 || sndbuf_getready(bs) > 0) {
793 minflush = threshold + sndbuf_xbytes(sndbuf_getready(b), b, bs);
797 if (syncdelay < 0 && (threshold > 0 || sndbuf_getready(bs) > 0))
812 threshold = min(minflush, sndbuf_getfree(bs));
813 sndbuf_clear(bs, threshold);
[all...]
/freebsd-current/sys/contrib/zstd/lib/legacy/
H A Dzstd_v01.c486 int threshold; local
500 threshold = 1<<nbBits;
542 const short max = (short)((2*threshold-1)-remaining);
545 if ((bitStream & (threshold-1)) < (U32)max)
547 count = (short)(bitStream & (threshold-1));
552 count = (short)(bitStream & (2*threshold-1));
553 if (count >= threshold) count -= max;
561 while (remaining < threshold)
564 threshold >>= 1;

Completed in 183 milliseconds

1234