Searched refs:SCALAR_VALUE (Results 1 – 5 of 5) sorted by relevance
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/bpf/ |
D | verifier.c | 59 if (reg2->type != SCALAR_VALUE || !tnum_is_const(reg2->var_off)) in nfp_record_adjust_head() 234 BUILD_BUG_ON(NFP_BPF_SCALAR_VALUE != SCALAR_VALUE || in nfp_bpf_check_helper_call() 263 if (reg1->type != SCALAR_VALUE /* NULL ptr */ && in nfp_bpf_check_helper_call() 320 if (!(reg0->type == SCALAR_VALUE && tnum_is_const(reg0->var_off))) { in nfp_bpf_check_exit() 542 if (sreg->type != SCALAR_VALUE) { in nfp_bpf_check_atomic()
|
/linux-6.6.21/kernel/bpf/ |
D | verifier.c | 613 [SCALAR_VALUE] = "scalar", in reg_type_str() 1346 stack->spilled_ptr.type == SCALAR_VALUE; in is_spilled_scalar_reg() 1375 if (t == SCALAR_VALUE && reg->precise) in print_verifier_state() 1377 if ((t == SCALAR_VALUE || t == PTR_TO_STACK) && in print_verifier_state() 1380 verbose(env, "%s", t == SCALAR_VALUE ? "" : reg_type_str(env, t)); in print_verifier_state() 1401 if (t != SCALAR_VALUE) in print_verifier_state() 1474 verbose(env, "=%s", t == SCALAR_VALUE ? "" : reg_type_str(env, t)); in print_verifier_state() 1475 if (t == SCALAR_VALUE && reg->precise) in print_verifier_state() 1477 if (t == SCALAR_VALUE && tnum_is_const(reg->var_off)) in print_verifier_state() 2142 reg->type = SCALAR_VALUE; in __mark_reg_const_zero() [all …]
|
D | btf.c | 6429 return SCALAR_VALUE; in btf_struct_access() 6437 return SCALAR_VALUE; in btf_struct_access() 6809 if (reg->type == SCALAR_VALUE) in btf_check_func_arg_match() 7029 reg->type = SCALAR_VALUE; in btf_prepare_func_args()
|
/linux-6.6.21/Documentation/bpf/ |
D | verifier.rst | 20 If R1=PTR_TO_CTX and insn is R2=R1+R1, then R2=SCALAR_VALUE, 118 written to), SCALAR_VALUE (some value which is not usable as a pointer), or a 172 branches. For instance, if a SCALAR_VALUE is compared > 8, in the 'true' branch 260 operation will set the register state to 'SCALAR_VALUE' and it won't be
|
/linux-6.6.21/include/linux/ |
D | bpf.h | 844 SCALAR_VALUE, /* reg doesn't contain a valid pointer */ enumerator
|