Home
last modified time | relevance | path

Searched refs:SCALAR_VALUE (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/net/ethernet/netronome/nfp/bpf/
H A Dverifier.c59 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/kernel/bpf/
H A Dlog.c445 [SCALAR_VALUE] = "scalar", in reg_type_str()
688 if (t == SCALAR_VALUE && reg->precise) in print_reg_state()
690 if (t == SCALAR_VALUE && tnum_is_const(reg->var_off)) { in print_reg_state()
725 if (t != SCALAR_VALUE && reg->off) { in print_reg_state()
H A Dverifier.c1804 reg->type = SCALAR_VALUE; in __mark_reg_const_zero()
2305 reg->type = SCALAR_VALUE; in __mark_reg_unknown_imprecise()
2363 if (reg_type == SCALAR_VALUE) { in mark_btf_ld_reg()
4571 tmp_reg->type = SCALAR_VALUE; in check_stack_write_fixed_off()
8508 case SCALAR_VALUE: in check_func_arg_reg_off()
14066 off_reg.type = SCALAR_VALUE; in adjust_reg_min_max_vals()
14895 if (false_reg1->type != SCALAR_VALUE || false_reg2->type != SCALAR_VALUE) in reg_set_min_max()
14937 reg->type = SCALAR_VALUE; in mark_ptr_or_null_reg()
15201 src_reg->type = SCALAR_VALUE; in check_cond_jmp_op()
16747 case SCALAR_VALUE: in regsafe()
[all …]
H A Dbtf.c6884 return SCALAR_VALUE; in btf_struct_access()
6892 return SCALAR_VALUE; in btf_struct_access()
/linux/Documentation/bpf/
H A Dverifier.rst20 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/include/linux/
H A Dbpf.h866 SCALAR_VALUE, /* reg doesn't contain a valid pointer */ enumerator