Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\bpf\inode.c Create Date:2022-07-28 13:06:18
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:bpf_inode_type

Proto:static int bpf_inode_type(const struct inode *inode, enum bpf_type *type)

Type:int

Parameter:

TypeParameterName
const struct inode *inode
enum bpf_type *type
112  type = BPF_TYPE_UNSPEC
113  If i_op == bpf_prog_iops Then type = BPF_TYPE_PROG
115  Else if i_op == bpf_map_iops Then type = BPF_TYPE_MAP
117  Else Return -EACCES
120  Return 0
Caller
NameDescribe
bpf_obj_do_get
bpf_free_inode