Symbol: cnum_t
kernel/bpf/cnum_defs.h
106
b1 = (struct cnum_t){ dbase, b.size };
kernel/bpf/cnum_defs.h
135
return (struct cnum_t) {
kernel/bpf/cnum_defs.h
158
return (struct cnum_t) {
kernel/bpf/cnum_defs.h
167
void FN(intersect_with)(struct cnum_t *dst, struct cnum_t src)
kernel/bpf/cnum_defs.h
172
void FN(intersect_with_urange)(struct cnum_t *dst, ut min, ut max)
kernel/bpf/cnum_defs.h
177
void FN(intersect_with_srange)(struct cnum_t *dst, st min, st max)
kernel/bpf/cnum_defs.h
182
static inline struct cnum_t FN(normalize)(struct cnum_t cnum)
kernel/bpf/cnum_defs.h
189
struct cnum_t FN(add)(struct cnum_t a, struct cnum_t b)
kernel/bpf/cnum_defs.h
194
return (struct cnum_t){ 0, (ut)UT_MAX };
kernel/bpf/cnum_defs.h
196
return FN(normalize)((struct cnum_t){ a.base + b.base, a.size + b.size });
kernel/bpf/cnum_defs.h
199
struct cnum_t FN(negate)(struct cnum_t a)
kernel/bpf/cnum_defs.h
203
return FN(normalize)((struct cnum_t){ -((ut)a.base + a.size), a.size });
kernel/bpf/cnum_defs.h
206
bool FN(is_empty)(struct cnum_t cnum)
kernel/bpf/cnum_defs.h
211
bool FN(contains)(struct cnum_t cnum, ut v)
kernel/bpf/cnum_defs.h
221
bool FN(is_const)(struct cnum_t cnum)
kernel/bpf/cnum_defs.h
226
bool FN(is_subset)(struct cnum_t bigger, struct cnum_t smaller)
kernel/bpf/cnum_defs.h
23
struct cnum_t FN(from_urange)(ut min, ut max)
kernel/bpf/cnum_defs.h
25
return (struct cnum_t){ .base = min, .size = (ut)max - min };
kernel/bpf/cnum_defs.h
28
struct cnum_t FN(from_srange)(st min, st max)
kernel/bpf/cnum_defs.h
33
return (struct cnum_t){ .base = base, .size = size };
kernel/bpf/cnum_defs.h
37
static inline bool FN(urange_overflow)(struct cnum_t cnum)
kernel/bpf/cnum_defs.h
48
ut FN(umin)(struct cnum_t cnum)
kernel/bpf/cnum_defs.h
54
ut FN(umax)(struct cnum_t cnum)
kernel/bpf/cnum_defs.h
61
static inline bool FN(srange_overflow)(struct cnum_t cnum)
kernel/bpf/cnum_defs.h
71
st FN(smin)(struct cnum_t cnum)
kernel/bpf/cnum_defs.h
78
st FN(smax)(struct cnum_t cnum)
kernel/bpf/cnum_defs.h
90
struct cnum_t FN(intersect)(struct cnum_t a, struct cnum_t b)
kernel/bpf/cnum_defs.h
92
struct cnum_t b1;