Searched refs:tnum_is_const (Results 1 – 4 of 4) sorted by relevance
54 static inline bool tnum_is_const(struct tnum a) in tnum_is_const() function62 return tnum_is_const(a) && a.value == b; in tnum_equals_const()
59 if (reg2->type != SCALAR_VALUE || !tnum_is_const(reg2->var_off)) in nfp_record_adjust_head()135 if (!tnum_is_const(reg->var_off)) { in nfp_bpf_stack_arg_ok()320 if (!(reg0->type == SCALAR_VALUE && tnum_is_const(reg0->var_off))) { in nfp_bpf_check_exit()353 if (!tnum_is_const(reg->var_off)) { in nfp_bpf_check_stack_access()426 if (!tnum_is_const(reg->var_off)) { in nfp_bpf_map_mark_used()
837 tnum_is_const(reg->var_off)) { in print_verifier_state()868 if (tnum_is_const(reg->var_off)) { in print_verifier_state()933 if (t == SCALAR_VALUE && tnum_is_const(reg->var_off)) in print_verifier_state()2945 return reg->type == SCALAR_VALUE && tnum_is_const(reg->var_off); in register_is_const()3425 bool var_off = !tnum_is_const(reg->var_off); in check_stack_read()3486 if (tnum_is_const(reg->var_off)) { in check_stack_write()3635 if (!tnum_is_const(reg->var_off) || reg->var_off.value) { in __check_ptr_off_reg()3832 if (!tnum_is_const(reg->var_off)) { in check_map_access()4333 if (!tnum_is_const(reg->var_off) || reg->var_off.value) { in __check_buffer_access()4488 if (!tnum_is_const(reg->var_off) || reg->var_off.value) { in check_ptr_to_btf_access()[all …]
6148 if (!tnum_is_const(reg->var_off)) { in btf_check_func_arg_match()