Searched refs:TNUM (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/kernel/bpf/ |
D | tnum.c | 12 #define TNUM(_v, _m) (struct tnum){.value = _v, .mask = _m} macro 18 return TNUM(value, 0); in tnum_const() 34 return TNUM(min & ~delta, delta); in tnum_range() 39 return TNUM(a.value << shift, a.mask << shift); in tnum_lshift() 44 return TNUM(a.value >> shift, a.mask >> shift); in tnum_rshift() 55 return TNUM((u32)(((s32)a.value) >> min_shift), in tnum_arshift() 58 return TNUM((s64)a.value >> min_shift, in tnum_arshift() 71 return TNUM(sv & ~mu, mu); in tnum_add() 83 return TNUM(dv & ~mu, mu); in tnum_sub() 93 return TNUM(v, alpha & beta & ~v); in tnum_and() [all …]
|