函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\btf.c Create Date:2022-07-27 14:34:50
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:btf_put

函数原型:void btf_put(struct btf *btf)

返回类型:void

参数:

类型参数名称
struct btf *btf
913  如果btf_dec_and_test - decrement a refcount and test if it is 0*@r: the refcount* Similar to atomic_dec_and_test(), it will WARN on underflow and fail to* decrement when saturated at REFCOUNT_SATURATED
914  btf_free_id(btf)
915  all_rcu() - Queue an RCU callback for invocation after a grace period
调用者
名称描述
map_createalled via syscall
__bpf_prog_put_noref
btf_release
btf_new_fd
btf_get_fd_by_id
__bpf_map_putdecrement map refcnt and schedule it for freeing via workqueue* (unrelying map implementation ops->map_free() might sleep)