函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:btf_get_by_fd

函数原型:struct btf *btf_get_by_fd(int fd)

返回类型:struct btf

参数:

类型参数名称
intfd
4199  f等于fdget(fd)
4201  如果非file则返回:错误号
4204  如果f_op不等于btf_fops
4205  fdput(f)
4206  返回:错误号
4209  btf等于 needed for tty driver, and maybe others
4210  _inc - increment a refcount*@r: the refcount to increment* Similar to atomic_inc(), but will saturate at REFCOUNT_SATURATED and WARN
4211  fdput(f)
4213  返回:btf
调用者
名称描述
check_btf_info
map_createalled via syscall