bpf_func_state
Regular
4.4
: Absent ⚠️
4.8
: Absent ⚠️
4.10
: Absent ⚠️
4.13
: Absent ⚠️
4.15
: Absent ⚠️
4.18
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
struct bpf_verifier_state *parent;
int callsite;
u32 frameno;
u32 subprogno;
int allocated_stack;
struct bpf_stack_state *stack;
};
5.0
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
5.3
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
5.4
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
5.8
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
5.11
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
5.13
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
bool in_callback_fn;
struct bpf_stack_state *stack;
};
5.15
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
u32 async_entry_cnt;
bool in_callback_fn;
bool in_async_callback_fn;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
5.19
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
u32 async_entry_cnt;
bool in_callback_fn;
bool in_async_callback_fn;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
6.2
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
u32 async_entry_cnt;
bool in_callback_fn;
struct tnum callback_ret_range;
bool in_async_callback_fn;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
6.5
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
u32 async_entry_cnt;
bool in_callback_fn;
struct tnum callback_ret_range;
bool in_async_callback_fn;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
6.8
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
u32 async_entry_cnt;
struct bpf_retval_range callback_ret_range;
bool in_callback_fn;
bool in_async_callback_fn;
bool in_exception_callback_fn;
u32 callback_depth;
int acquired_refs;
struct bpf_reference_state *refs;
struct bpf_stack_state *stack;
int allocated_stack;
};
arm64
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
armhf
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
ppc64el
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
riscv64
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
aws
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
azure
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
gcp
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
lowlatency
: ✅struct bpf_func_state {
struct bpf_reg_state regs[11];
int callsite;
u32 frameno;
u32 subprogno;
int acquired_refs;
struct bpf_reference_state *refs;
int allocated_stack;
struct bpf_stack_state *stack;
};
Regular
4.18
and 5.0
⚠️int acquired_refs
struct bpf_reference_state *refs
struct bpf_verifier_state *parent
5.0
and 5.3
✅
5.3
and 5.4
✅
5.4
and 5.8
✅
5.8
and 5.11
✅
5.11
and 5.13
⚠️bool in_callback_fn
5.13
and 5.15
⚠️u32 async_entry_cnt
bool in_async_callback_fn
5.15
and 5.19
✅
5.19
and 6.2
⚠️struct tnum callback_ret_range
6.2
and 6.5
✅
6.5
and 6.8
⚠️bool in_exception_callback_fn
u32 callback_depth
struct tnum callback_ret_range
➡️ struct bpf_retval_range callback_ret_range
amd64
and arm64
✅
amd64
and armhf
✅
amd64
and ppc64el
✅
amd64
and riscv64
✅
generic
and aws
✅
generic
and azure
✅
generic
and gcp
✅
generic
and lowlatency
✅