函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bpf_prog_get_type_path

函数原型:struct bpf_prog *bpf_prog_get_type_path(const char *name, enum bpf_prog_type type)

返回类型:struct bpf_prog

参数:

类型参数名称
const char *name
enum bpf_prog_typetype
544  ret等于kern_path(name, llow links at the end , & path)
545  如果ret则返回:错误号
547  prog等于__get_prog_inode(d_backing_inode - Get upper or lower inode we should be using*@upper: The upper layer* This is the helper that should be used to get at the inode that will be used* if this dentry were to be opened as a file. The inode may be on the upper, type)
548  如果非是错误touch_atime( & path)
550  path_put( & path)
551  返回:prog