/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | InlineCost.h | 1 //===- InlineCost.h - Cost analysis for inliner -----------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 37 /// Use when optsize (-Os) is specified. 38 const int OptSizeThreshold = 50; 40 /// Use when minsize (-Oz) is specified. 41 const int OptMinSizeThreshold = 5; 43 /// Use when -O3 is specified. 44 const int OptAggressiveThreshold = 250; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | InlineCost.cpp | 1 //===- InlineCost.cpp - Cost analysis for inliner -------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 //===----------------------------------------------------------------------===// 31 #include "llvm/Config/llvm-config.h" 52 #define DEBUG_TYPE "inline-cost" 56 static cl::opt<int> 57 DefaultThreshold("inlinedefault-threshold", cl::Hidden, cl::init(225), 60 // We introduce this option since there is a minor compile-time win by avoiding 61 // addition of TTI attributes (target-features in particular) to inline [all …]
|
/freebsd/sys/arm/nvidia/ |
H A D | tegra_efuse.c | 1 /*- 50 #define RD4(_sc, _r) bus_read_4((_sc)->mem_res, (FUSES_START + (_r))) 91 {"nvidia,tegra124-efuse", (intptr_t)&tegra124_efuse_soc}, 92 {"nvidia,tegra210-efuse", (intptr_t)&tegra210_efuse_soc}, 96 /* ---------------------- Tegra 124 specific code & data --------------- */ 140 struct tegra_sku_info *sku, int *threshold) in tegra124_rev_sku_to_speedo_ids() argument 144 sku->cpu_speedo_id = 0; in tegra124_rev_sku_to_speedo_ids() 145 sku->soc_speedo_id = 0; in tegra124_rev_sku_to_speedo_ids() 146 sku->gpu_speedo_id = 0; in tegra124_rev_sku_to_speedo_ids() 147 *threshold = TEGRA124_THRESHOLD_INDEX_0; in tegra124_rev_sku_to_speedo_ids() [all …]
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_loopfilter.c | 2 * ntp_loopfilter.c - implements the NTP loop filter algorithm 33 * in UDel TR 97-4-3, as amended. It operates as an adaptive parameter, 34 * hybrid phase/frequency-lock loop. A number of sanity checks are 38 #define CLOCK_MAX .128 /* default step threshold (s) */ 39 #define CLOCK_MINSTEP 300. /* default stepout threshold (s) */ 40 #define CLOCK_PANIC 1000. /* default panic threshold (s) */ 41 #define CLOCK_PHI 15e-6 /* max frequency error (s/s) */ 47 #define CLOCK_LIMIT 30 /* poll-adjust threshold */ [all...] |
/freebsd/sys/netinet/ |
H A D | ip_mroute.h | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 50 * and PIM-SMv2 and PIM-DM support, advanced API support, 77 #define ALL_VIFS (vifi_t)-1 101 #define VIFF_TUNNEL 0x1 /* no-op; retained for old source */ 102 #define VIFF_SRCRT 0x2 /* no-op; retained for old source */ 132 * The advanced-API flags. 149 * measured bandwidth is above or below a threshold. 152 * bandwidth used by some data flow is above or below some threshold. 153 * This interface allows the userland to specify the threshold (in [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/ |
H A D | AMDGPUTargetTransformInfo.cpp | 1 //===- AMDGPUTargetTransformInfo.cpp - AMDGPU specific TTI pass -----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 15 //===----------------------------------------------------------------------===// 36 "amdgpu-unroll-threshold-private", 37 cl::desc("Unroll threshold for AMDGPU if private memory used in a loop"), 41 "amdgpu-unroll-threshold-local", 42 cl::desc("Unroll threshold for AMDGPU if local memory used in a loop"), 46 "amdgpu-unroll-threshold-if", 47 cl::desc("Unroll threshold increment for AMDGPU for each if statement inside loop"), [all …]
|
/freebsd/sys/contrib/zstd/lib/common/ |
H A D | entropy_common.c | 6 * - FSE+HUF source repository : https://github.com/Cyan4973/FiniteStateEntropy 7 * - Public forum : https://groups.google.com/forum/#!forum/lz4c 9 * This source code is licensed under both the BSD-style license (found in the 12 * You may select, at your option, one of the above-listed licenses. 38 /*-************************************************************** 39 * FSE NCount encoding-decoding 76 int nbBits; in FSE_readNCount_body() 77 int remaining; in FSE_readNCount_body() 78 int threshold; in FSE_readNCount_body() local 80 int bitCount; in FSE_readNCount_body() [all …]
|
/freebsd/sys/vm/ |
H A D | vm_pagequeue.h | 1 /*- 2 * SPDX-License-Identifier: (BSD-3-Clause AND MIT-CMU) 8 * The Mach Operating System project at Carnegie-Mellon University. 35 * Copyright (c) 1987, 1990 Carnegie-Mellon University. 55 * Pittsburgh PA 15213-3890 68 int pq_cn [all...] |
/freebsd/sys/contrib/openzfs/module/zstd/lib/common/ |
H A D | entropy_common.c | 3 * Copyright (c) 2016-2020, Yann Collet, Facebook, Inc. 6 * - FSE+HUF source repository : https://github.com/Cyan4973/FiniteStateEntropy 7 * - Public forum : https://groups.google.com/forum/#!forum/lz4c 9 * This source code is licensed under both the BSD-style license (found in the 12 * You may select, at your option, one of the above-listed licenses. 38 /*-************************************************************** 39 * FSE NCount encoding-decoding 47 int nbBits; in FSE_readNCount() 48 int remaining; in FSE_readNCount() 49 int threshold; in FSE_readNCount() local [all …]
|
/freebsd/usr.bin/du/ |
H A D | du.c | 1 /*- 2 * SPDX-License-Identifier: BSD-3-Clause 66 static int linkchk(FTSENT *); 71 static int ignorep(FTSENT *); 72 static void siginfo(int __unused); 74 static int nodumpflag = 0; 75 static int Aflag, hflag; 85 int 86 main(int argc, char *argv[]) in main() 91 off_t threshold, threshold_sign; in main() local [all …]
|
/freebsd/sys/contrib/ck/src/ |
H A D | ck_hp.c | 2 * Copyright 2010-2015 Samy Al Bahra. 33 * http://www.apache.org/licenses/LICENSE-2.0 44 * http://www.research.ibm.com/people/m/michael/ieeetpds-2004.pdf 47 * hazard pointers until it is safe to do so. Preventing arbitrary re-use 69 unsigned int degree, in CK_STACK_CONTAINER() 70 unsigned int threshold, in CK_STACK_CONTAINER() 74 state->threshold = threshold; in CK_STACK_CONTAINER() 75 state->degree = degree; in CK_STACK_CONTAINER() 76 state->destroy = destroy; in CK_STACK_CONTAINER() 77 state->n_subscribers = 0; in CK_STACK_CONTAINER() [all …]
|
/freebsd/sys/contrib/pcg-c/include/ |
H A D | pcg_variants.h | 4 * Copyright 2014-2019 Melissa O'Neill <oneill@pcg-random.org>, 7 * SPDX-License-Identifier: (Apache-2.0 OR MIT) 10 * LICENSE-APACHE.txt and at http://www.apache.org/licenses/LICENSE-2.0) 11 * or under the MIT license (provided in LICENSE-MIT.txt and at 19 * visit http://www.pcg-random.org/. 30 * (from https://github.com/draperlaboratory/llvm-cbe), and then 33 * Much of the remaining code was generated by C-preprocessor metaprogramming. 56 static inline uint8_t pcg_rotr_8(uint8_t value, unsigned int rot) in pcg_rotr_8() 66 return (value >> rot) | (value << ((- rot) & 7)); in pcg_rotr_8() 70 static inline uint16_t pcg_rotr_16(uint16_t value, unsigned int rot) in pcg_rotr_16() [all …]
|
/freebsd/sys/net/altq/ |
H A D | altq_red.h | 1 /*- 2 * Copyright (C) 1997-2003 38 #define REDF_FLOWVALVE 0x04 /* use flowvalve (aka penalty-box) */ 45 int th_min; /* red min threshold */ 46 int th_max; /* red max threshold */ 47 int inv_pmax; /* inverse of max drop probability */ 51 int q_avg; 64 int w_weight; 65 int w_param_max; 66 int w_refcount; [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopUnrollPass.cpp | 1 //===- LoopUnroll.cpp - Loop unroller pass --------------------------------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // been canonicalized by the -indvars pass, allowing it to determine the trip 12 //===----------------------------------------------------------------------===// 74 #define DEBUG_TYPE "loop-unroll" 77 "forget-scev-loop-unroll", cl::init(false), cl::Hidden, 79 " the current top-most loop. This is sometimes preferred to reduce" 83 UnrollThreshold("unroll-threshold", cl::Hidden, 84 cl::desc("The cost threshold for loop unrolling")); [all …]
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Remarks/ |
H A D | HotnessThresholdParser.h | 1 //===- HotnessThresholdParser.h - Parser for hotness threshold --*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 11 /// remarks hotness threshold that supports both int and a special 'auto' value. 13 //===----------------------------------------------------------------------===// 24 // Parse remarks hotness threshold argument value. 26 // 1. integer: manually specified threshold; or 27 // 2. string 'auto': automatically get threshold from profile summary. 40 // Negative integer effectively means no threshold in parseHotnessThresholdOption() 44 // A simple CL parser for '*-remarks-hotness-threshold='
|
/freebsd/sys/contrib/device-tree/Bindings/timestamp/ |
H A D | nvidia,tegra194-hte.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/timestamp/nvidia,tegra194-hte.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Dipen Patel <dipenp@nvidia.com> 24 - nvidia,tegra194-gte-aon 25 - nvidia,tegra194-gte-lic 26 - nvidia,tegra234-gte-aon 27 - nvidia,tegra234-gte-lic 35 nvidia,int-threshold: [all …]
|
/freebsd/share/man/man4/ |
H A D | multicast.4 | 1 .\" Copyright (c) 2001-2003 International Computer Science Institute 43 .Fn getsockopt "int s" IPPROTO_IP MRT_INIT "void *optval" "socklen_t *optlen" 45 .Fn setsockopt "int s" IPPROTO_IP MRT_INIT "const void *optval" "socklen_t optlen" 47 .Fn getsockopt "int s" IPPROTO_IPV6 MRT6_INIT "void *optval" "socklen_t *optlen" 49 .Fn setsockopt "int s" IPPROTO_IPV6 MRT6_INIT "const void *optval" "socklen_t optlen" 60 All multicast-capable routers must run a common multicast routing 63 Protocol Independent Multicast - Sparse Mode (PIM-SM), 64 or Protocol Independent Multicast - Dense Mode (PIM-DM) 76 and must run a multicast routing capable user-level process. 84 The so-called [all …]
|
/freebsd/contrib/ntp/libntp/ |
H A D | adjtime.c | 8 * a sub-second accuracy bug documented in SR 5003462838 which prevents ntpd 10 * implementation as used by ntpd has a side-effect of screwing up the hardware 18 * The one-time clock adjustment functionality of ntpdate and ntp_timeset can 24 int adjtime(struct timeval *delta, struct timeval *olddelta); 26 int adjtime(struct timeval *delta, struct timeval *olddelta) in adjtime() 39 extern long long pdc_time(int *); in adjtime() 40 extern void set_time_correction(long long, int, int); in adjtime() 47 /* Adjustment required. Convert delta to 64-bit microseconds. */ in adjtime() 48 big_sec = (long)delta->tv_se in adjtime() [all...] |
/freebsd/sys/contrib/device-tree/Bindings/iio/light/ |
H A D | us5182d.txt | 4 - compatible: must be "upisemi,usd5182" 5 - reg: the I2C address of the device 8 - upisemi,glass-coef: glass attenuation factor - compensation factor of 11 - upisemi,dark-ths: array of 8 elements containing 16-bit thresholds (adc 14 - upisemi,upper-dark-gain: 8-bit dark gain compensation factor(4 int and 4 15 fractional bits - Q4.4) applied when light > threshold 17 - upisemi,lower-dark-gain: 8-bit dark gain compensation factor(4 int and 4 18 fractional bits - Q4.4) applied when light < threshold 20 - upisemi,continuous: This chip has two power modes: one-shot (chip takes one 22 chip takes continuous measurements). The one-shot mode is [all …]
|
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | ibccconfig.c | 2 * Copyright (c) 2004-2009 Voltaire Inc. All rights reserved. 16 * - Redistributions of source code must retain the above 20 * - Redistributions in binary form must reproduce the above 60 static int with_grh; 72 "<controlmap> <victimmask> <creditmask> <threshold> <packetsize> " 75 "<valid> <control_type> <threshold> <packet_size> <cong_parm_marking_rate>"}, 103 static char *parseint(char *arg, uint32_t *val, int hexonly) in parseint() 119 static char *congestion_key_info(ib_portid_t * dest, char **argv, int argc) in congestion_key_info() 165 * they gotta input non-zero in congestion_key_info() 182 int numdigits = 0; in parse256() [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/sound/ |
H A D | cs35l36.txt | 5 - compatible : "cirrus,cs35l36" 7 - reg : the I2C address of the device for I2C 9 - VA-supply, VP-supply : power supplies for the device, 13 - cirrus,boost-ctl-millivolt : Boost Voltage Value. Configures the boost 18 - cirrus,boost-pea [all...] |
/freebsd/sys/dev/dpaa/ |
H A D | bman.h | 1 /*- 2 * Copyright (c) 2011-2012 Semihalf. 56 int sc_rrid; /* register rid */ 58 int sc_irid; /* interrupt rid */ 66 unsigned int sc_bpool_cpu[BM_MAX_NUM_OF_POOLS]; 96 * @param dep_sw_entry The software portal depletion entry threshold. 100 * @param dep_sw_exit The software portal depletion exit threshold. 104 * @param dep_hw_entry The hardware portal depletion entry threshold. 108 * @param dep_hw_exit The hardware portal depletion exit threshold. 151 int bman_pool_fill(t_Handle pool, uint16_t nbufs); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86PadShortFunction.cpp | 1 //===-------- X86PadShortFunction.cpp - pad short functions -----------===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===// 33 #define DEBUG_TYPE "x86-pad-short-functions" 39 // HasReturn - Whether the BB contains a return instruction 42 // Cycles - Number of cycles until return if HasReturn is true, otherwise 44 unsigned int Cycles = 0; 47 VisitedBBInfo(bool HasReturn, unsigned int Cycles) in VisitedBBInfo() 75 unsigned int Cycles = 0); [all …]
|
/freebsd/sys/net80211/ |
H A D | ieee80211_rssadapt.c | 2 /*- 3 * SPDX-License-Identifier: BSD-3-Clause 54 /* RSS threshold decay. */ 57 /* RSS threshold update. */ 78 (parm##_denom - parm##_old) * (new)) / \ 81 static void rssadapt_setinterval(const struct ieee80211vap *, int); 87 static int rssadapt_rate(struct ieee80211_node *, void *, uint32_t); 88 static void rssadapt_lower_rate(struct ieee80211_rssadapt_node *, int, int); 90 int, int); 97 static int nrefs = 0; [all …]
|
/freebsd/sys/arm/ti/ |
H A D | ti_i2c.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 87 int sc_bus_inuse; 88 int sc_buffer_pos; 89 int sc_error; 90 int sc_fifo_trsh; 91 int sc_timeout; 117 /* { 3200000, 1, 113, 115, 7, 10}, - HS mode */ 138 #define TI_I2C_LOCK(_sc) mtx_lock(&(_sc)->sc_mtx) 139 #define TI_I2C_UNLOCK(_sc) mtx_unlock(&(_sc)->sc_mtx) [all …]
|