Searched refs:tnum_add (Results 1 – 3 of 3) sorted by relevance
/linux/kernel/bpf/ |
H A 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()
|
H A D | verifier.c | 6003 reg_off = tnum_add(reg->var_off, tnum_const(ip_align + reg->off + off)); in check_pkt_ptr_alignment() 6028 reg_off = tnum_add(reg->var_off, tnum_const(reg->off + off)); in check_generic_ptr_alignment() 13609 dst_reg->var_off = tnum_add(ptr_reg->var_off, off_reg->var_off); in adjust_ptr_min_max_vals() 14321 dst_reg->var_off = tnum_add(dst_reg->var_off, src_reg.var_off); in adjust_scalar_min_max_vals() 15568 reg->var_off = tnum_add(reg->var_off, fake_reg.var_off); in sync_linked_regs()
|
/linux/include/linux/ |
H A D | tnum.h | 40 struct tnum tnum_add(struct tnum a, struct tnum b);
|