Home
last modified time | relevance | path

Searched refs:tnum_is_const (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/include/linux/
Dtnum.h54 static inline bool tnum_is_const(struct tnum a) in tnum_is_const() function
62 return tnum_is_const(a) && a.value == b; in tnum_equals_const()
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/bpf/
Dverifier.c59 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()
/linux-5.19.10/kernel/bpf/
Dverifier.c837 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 …]
Dbtf.c6148 if (!tnum_is_const(reg->var_off)) { in btf_check_func_arg_match()