Home
last modified time | relevance | path

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

/Linux-v6.6/kernel/bpf/
Dtnum.c12 #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 …]