Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_fd_probe_obj

Proto:static void *bpf_fd_probe_obj(u32 ufd, enum bpf_type *type)

Type:void

Parameter:

TypeParameterName
u32ufd
enum bpf_type *type
66  type = BPF_TYPE_MAP
67  raw = bpf_map_get_with_uref(ufd)
68  If IS_ERR(raw) Then
69  type = BPF_TYPE_PROG
70  raw = bpf_prog_get(ufd)
73  Return raw
Caller
NameDescribe
bpf_obj_pin_user