Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\bpf_verifier.h Create Date:2022-07-28 12:55:17
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:cur_func

Proto:static inline struct bpf_func_state *cur_func(struct bpf_verifier_env *env)

Type:struct bpf_func_state

Parameter:

TypeParameterName
struct bpf_verifier_env *env
411  cur = current verifier state
413  Return call stack tracking [curframe]
Caller
NameDescribe
acquire_reference_stateAcquire a pointer id from the env and update the state->refs to include* this new pointer reference.* On success, returns a valid pointer id to associate with the register* On failure, returns a negative errno.
release_referenceThe pointer with the specified id has released its reference to kernel* resources. Identify all copies of the same pointer and clear the reference.
check_reference_leak