Searched refs:tnum_add (Results 1 – 3 of 3) sorted by relevance
/linux-5.19.10/kernel/bpf/ |
D | tnum.c | 62 struct tnum tnum_add(struct tnum a, struct tnum b) in tnum_add() function 130 acc_m = tnum_add(acc_m, TNUM(0, b.mask)); in tnum_mul() 133 acc_m = tnum_add(acc_m, TNUM(0, b.value | b.mask)); in tnum_mul() 138 return tnum_add(TNUM(acc_v, 0), acc_m); in tnum_mul()
|
D | verifier.c | 4087 reg_off = tnum_add(reg->var_off, tnum_const(ip_align + reg->off + off)); in check_pkt_ptr_alignment() 4112 reg_off = tnum_add(reg->var_off, tnum_const(reg->off + off)); in check_generic_ptr_alignment() 8150 dst_reg->var_off = tnum_add(ptr_reg->var_off, off_reg->var_off); in adjust_ptr_min_max_vals() 8899 dst_reg->var_off = tnum_add(dst_reg->var_off, src_reg.var_off); in adjust_scalar_min_max_vals()
|
/linux-5.19.10/include/linux/ |
D | tnum.h | 35 struct tnum tnum_add(struct tnum a, struct tnum b);
|