| /linux/tools/perf/util/ | 
| H A D | bpf-filter.l | 57 static int constant(int val) in constant()   function 128 na		{ return constant(PERF_MEM_OP_NA); }
 129 load		{ return constant(PERF_MEM_OP_LOAD); }
 130 store		{ return constant(PERF_MEM_OP_STORE); }
 131 pfetch		{ return constant(PERF_MEM_OP_PFETCH); }
 132 exec		{ return constant(PERF_MEM_OP_EXEC); }
 134 l1		{ return constant(PERF_MEM_LVLNUM_L1); }
 135 l2		{ return constant(PERF_MEM_LVLNUM_L2); }
 136 l3		{ return constant(PERF_MEM_LVLNUM_L3); }
 137 l4		{ return constant(PERF_MEM_LVLNUM_L
 [all...]
 | 
| H A D | expr.y | 35 		 * read from a counter, a constant or some computed value. When36 		 * creating ids the value is either a constant or BOTTOM. NAN is
 71  * of all values. NAN is selected as it isn't a useful constant value.
 75 /* During computing ids, does val represent a constant (non-BOTTOM) value? */
 127  * constant value using OP. Its invariant that there are no ids.  If computing
 172 		 * constant, then also evaluate the true case.
 180 		 * LHS == RHS, so both are an identical constant. No need to
 330 		 * Division by constant zero always yields zero and no events
 
 | 
| /linux/tools/testing/selftests/bpf/progs/ | 
| H A D | verifier_const_or.c | 9 __description("constant register |= constant should keep constant type")27 __description("constant register |= constant should not bypass stack boundary checks")
 45 __description("constant register |= constant register should keep constant type")
 64 __description("constant register |= constant register should not bypass stack boundary checks")
 
 | 
| /linux/include/linux/ | 
| H A D | compiler.h | 292  * This returns a constant expression while determining if an argument is293  * a constant expression, most importantly without evaluating the argument.
 297  * - sizeof() return an integer constant expression, and does not evaluate
 299  * - The results of comparing two integer constant expressions is also
 300  *   an integer constant expression.
 306  * - The C Standard defines "null pointer constant", "(void *)0", as
 308  * - If (x) is an integer constant expression, then the "* 0l" resolves
 309  *   it into an integer constant expression of value 0. Since it is cast to
 310  *   "void *", this makes the second operand a null pointer constant.
 311  * - If (x) is not an integer constant expression, then the second operand
 [all …]
 
 | 
| H A D | log2.h | 15  * non-constant log of base 2 calculators71  * const_ilog2 - log base 2 of 32-bit or a 64-bit constant unsigned value
 74  * Use this where sparse expects a true constant expression, e.g. for array
 150  * constant-capable log of base 2 calculation
 151  * - this can be used to initialise global variables from constant data, hence
 172  * - this can be used to initialise global variables from constant data
 189  * - this can be used to initialise global variables from constant data
 239  * This is constant-capable and can be used for compile time
 
 | 
| /linux/Documentation/trace/postprocess/ | 
| H A D | trace-vmscan-postprocess.pl | 17 use constant MM_VMSCAN_DIRECT_RECLAIM_BEGIN	=> 1;18 use constant MM_VMSCAN_DIRECT_RECLAIM_END	=> 2;
 19 use constant MM_VMSCAN_KSWAPD_WAKE		=> 3;
 20 use constant MM_VMSCAN_KSWAPD_SLEEP		=> 4;
 21 use constant MM_VMSCAN_LRU_SHRINK_ACTIVE	=> 5;
 22 use constant MM_VMSCAN_LRU_SHRINK_INACTIVE	=> 6;
 23 use constant MM_VMSCAN_LRU_ISOLATE		=> 7;
 24 use constant MM_VMSCAN_WRITEPAGE_FILE_SYNC	=> 8;
 25 use constant MM_VMSCAN_WRITEPAGE_ANON_SYNC	=> 9;
 26 use constant MM_VMSCAN_WRITEPAGE_FILE_ASYNC	=> 10;
 [all …]
 
 | 
| H A D | trace-pagealloc-postprocess.pl | 19 use constant MM_PAGE_ALLOC		=> 1;20 use constant MM_PAGE_FREE		=> 2;
 21 use constant MM_PAGE_FREE_BATCHED	=> 3;
 22 use constant MM_PAGE_PCPU_DRAIN		=> 4;
 23 use constant MM_PAGE_ALLOC_ZONE_LOCKED	=> 5;
 24 use constant MM_PAGE_ALLOC_EXTFRAG	=> 6;
 25 use constant EVENT_UNKNOWN		=> 7;
 28 use constant STATE_PCPU_PAGES_DRAINED	=> 8;
 29 use constant STATE_PCPU_PAGES_REFILLED	=> 9;
 32 use constant HIGH_PCPU_DRAINS		=> 10;
 [all …]
 
 | 
| /linux/tools/perf/pmu-events/ | 
| H A D | metric.py | 87     return Constant(1 if val else 0)89     return Constant(val)
 164     if isinstance(lhs, Constant) and isinstance(rhs, Constant):
 165       return Constant(ast.literal_eval(lhs + self.operator + rhs))
 167     if isinstance(self.lhs, Constant):
 175         return Constant(0)
 180     if isinstance(rhs, Constant):
 185         return Constant(0)
 232     if isinstance(cond, Constant):
 279     if isinstance(lhs, Constant) and isinstance(rhs, Constant):
 [all …]
 
 | 
| H A D | metric_test.py | 4 from metric import Constant26     one = Constant(1)
 80     after = (r'Select(Event(r"Event1") + Constant(1), Event(r"Event2") < '
 81              r'Constant(2), Event(r"Event3") + Constant(3))')
 85     after = (r'Select(Event(r"Event1") > Constant(1), Event(r"Event2") < '
 86              r'Constant(2), Event(r"Event3") > Constant(3))')
 
 | 
| /linux/drivers/input/joystick/iforce/ | 
| H A D | iforce-ff.c | 12  * Set the magnitude of a constant force effect215 	return old->u.constant.level != effect->u.constant.level;  in need_magnitude_modifier()
 227 		if (old->u.constant.envelope.attack_length != effect->u.constant.envelope.attack_length  in need_envelope_modifier()
 228 		|| old->u.constant.envelope.attack_level != effect->u.constant.envelope.attack_level  in need_envelope_modifier()
 229 		|| old->u.constant.envelope.fade_length != effect->u.constant.envelope.fade_length  in need_envelope_modifier()
 230 		|| old->u.constant.envelope.fade_level != effect->u.constant.envelope.fade_level)  in need_envelope_modifier()
 399  * Upload a constant force effect
 418 			effect->u.constant.level);  in iforce_upload_constant()
 427 			effect->u.constant.envelope.attack_length,  in iforce_upload_constant()
 428 			effect->u.constant.envelope.attack_level,  in iforce_upload_constant()
 [all …]
 
 | 
| /linux/drivers/md/dm-vdo/ | 
| H A D | cpu.h | 16  * @for_write: must be constant at compile time--false if for reading, true if for writing21 	 * for_write won't be a constant if we are compiled with optimization turned off, in which  in uds_prefetch_address()
 23 	 * constant, it can be passed as the second, mandatorily constant argument to prefetch(),  in uds_prefetch_address()
 40  * @for_write: must be constant at compile time--false if for reading, true if for writing
 
 | 
| /linux/Documentation/devicetree/bindings/power/supply/ | 
| H A D | rohm,bd99954.yaml | 33 #    a) Trickle-charge with constant current (8).34 #    b) pre-charge with constant current (6)
 36 #       First a constant current (5) phase (CC)
 37 #       Then constant voltage (CV) phase (after the battery voltage has reached
 80 # - constant-charge-current-max-microamp
 81 #     Current used at fast charge constant current phase (5 in above chart)
 85 # - constant-charge-voltage-max-microvolt
 86 #     The constant voltage used in fast charging phase (4 in above chart)
 
 | 
| H A D | battery.yaml | 73     description: limit when to change to constant charging78   constant-charge-current-max-microamp:
 79     description: maximum constant input current
 81   constant-charge-voltage-max-microvolt:
 82     description: maximum constant input voltage
 159         constant-charge-current-max-microamp = <900000>;
 160         constant-charge-voltage-max-microvolt = <4200000>;
 
 | 
| H A D | maxim,max77693.yaml | 23   maxim,constant-microvolt:25       Battery constant voltage in uV. The charger will operate in fast
 26       charge constant current mode till battery voltage reaches this level.
 27       Then the charger will switch to fast charge constant voltage mode.
 
 | 
| /linux/arch/mips/include/asm/sibyte/ | 
| H A D | sb1250_defs.h | 103 /* Default constant value for all chips, all revisions */158     *  M_xxx	       MASK constant (identifies bits in a register).
 162     *  K_xxx	       "Code" constant (value for data in a multi-bit
 165     *  V_xxx	       "Value" constant.  This is the same as the
 166     *		       corresponding "K_xxx" constant, except it is
 169     *  S_xxx	       SHIFT constant.	This is the number of bits that
 174     *  A_xxx	       ADDRESS constant.  This will be a physical
 178     *  R_xxx	       RELATIVE offset constant.  This is an offset from
 179     *		       an A_xxx constant (usually the first register in
 188     *		       K_xxx constant shifted to the correct position
 
 | 
| /linux/drivers/hid/ | 
| H A D | hid-uclogic-rdesc.c | 39 	0x81, 0x01,         /*          Input (Constant),           */84 	0x81, 0x01,         /*          Input (Constant),           */
 122 	0x81, 0x01,         /*          Input (Constant),           */
 136 	0x81, 0x01,         /*          Input (Constant),           */
 161 	0x81, 0x01,         /*          Input (Constant),           */
 199 	0x81, 0x01,         /*          Input (Constant),           */
 213 	0x81, 0x01,         /*          Input (Constant),           */
 238 	0x81, 0x01,         /*          Input (Constant),           */
 286 	0x81, 0x01,         /*          Input (Constant),           */
 324 	0x81, 0x01,         /*          Input (Constant),           */
 [all …]
 
 | 
| H A D | hid-waltop.c | 68 	0x81, 0x03,         /*          Input (Constant, Variable), */119 	0x81, 0x03,         /*          Input (Constant, Variable), */
 170 	0x81, 0x03,         /*          Input (Constant, Variable), */
 223 	0x81, 0x03,         /*          Input (Constant, Variable), */
 274 	0x81, 0x03,         /*          Input (Constant, Variable), */
 305 	0x81, 0x03,         /*          Input (Constant, Variable), */
 314 	0x81, 0x03,         /*          Input (Constant, Variable), */
 323 	0x81, 0x03,         /*      Input (Constant, Variable),     */
 341 	0x81, 0x03,         /*      Input (Constant, Variable),     */
 343 	0x81, 0x03,         /*      Input (Constant, Variable),     */
 [all …]
 
 | 
| /linux/include/asm-generic/ | 
| H A D | access_ok.h | 13  * override this to a constant.21  * 'size' is a compile-time constant for most callers, so optimize for
 22  * this case to turn the check into a single comparison against a constant
 29  * for constant 'size' and 'limit' values.
 
 | 
| /linux/scripts/coccinelle/misc/ | 
| H A D | secs_to_jiffies.cocci | 16 @pconst depends on patch@ constant C; @@21 @pconstms depends on patch@ constant C; @@
 37 constant C;
 53 constant C;
 
 | 
| H A D | orplus.cocci | 18 constant c,c1;30 constant r.c, r.c1;
 55 constant c1,c2;
 
 | 
| H A D | returnvar.cocci | 20 constant C;33 constant C;
 43 constant C;
 
 | 
| /linux/net/sunrpc/auth_gss/ | 
| H A D | gss_krb5_keys.c | 290  * K(i) = CMAC(key, K(i-1) | i | constant | 0x00 | k)295  *    constant: The label input to the KDF is the usage constant supplied
 305 krb5_cmac_Ki(struct crypto_shash *tfm, const struct xdr_netobj *constant,  in krb5_cmac_Ki()  argument
 325 	ret = crypto_shash_update(desc, constant->data, constant->len);  in krb5_cmac_Ki()
 348  * @constant: subkey usage label
 358  *	K(i) = CMAC(key, K(i-1) | i | constant | 0x00 | k)
 359  *	DR(key, constant) = k-truncate(K(1) | K(2) | ... | K(n))
 360  *	KDF-FEEDBACK-CMAC(key, constant) = random-to-key(DR(key, constant))
 371 		       const struct xdr_netobj *constant,  in krb5_kdf_feedback_cmac()  argument
 412 		ret = krb5_cmac_Ki(tfm, constant, outkey->len, count, &step);  in krb5_kdf_feedback_cmac()
 
 | 
| /linux/arch/arm/include/asm/ | 
| H A D | delay.h | 23  * Therefore the constant part is HZ / 1000000 which is a small25  * scale up this constant by 2^31, perform the actual multiplication,
 76  * first constant multiplications gets optimized away if the delay is
 77  * a constant)
 
 | 
| /linux/include/uapi/linux/ | 
| H A D | am437x-vpfe.h | 92 	/* Constant value to subtract from Red component */94 	/* Constant value to subtract from Gr component */
 96 	/* Constant value to subtract from Blue component */
 98 	/* Constant value to subtract from Gb component */
 
 | 
| /linux/kernel/trace/ | 
| H A D | trace_branch.c | 76 	entry->constant = f->constant;  in probe_likely_condition()204 	/* A constant is always correct */  in ftrace_likely_update()
 206 		f->constant++;  in ftrace_likely_update()
 299 	if (!p->constant)  in annotate_branch_stat_show()
 302 	l = snprintf(NULL, 0, "/%lu", p->constant);  in annotate_branch_stat_show()
 306 		   p->data.correct, p->constant, l, p->data.incorrect);  in annotate_branch_stat_show()
 
 |