Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:bpf_cgroup_storage_key_cmp

Proto:static int bpf_cgroup_storage_key_cmp(const struct bpf_cgroup_storage_key *key1, const struct bpf_cgroup_storage_key *key2)

Type:int

Parameter:

TypeParameterName
const struct bpf_cgroup_storage_key *key1
const struct bpf_cgroup_storage_key *key2
37  If cgroup inode id < cgroup inode id Then Return -1
39  Else if cgroup inode id > cgroup inode id Then Return 1
41  Else if program attach type < program attach type Then Return -1
43  Else if program attach type > program attach type Then Return 1
45  Return 0
Caller
NameDescribe
cgroup_storage_lookup
cgroup_storage_insert