Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cgroup_bpf_prog_query

Proto:int cgroup_bpf_prog_query(const union bpf_attr *attr, union bpf_attr __user *uattr)

Type:int

Parameter:

TypeParameterName
const union bpf_attr *attr
union bpf_attr __user *uattr
590  cgrp = group_get_from_fd - get a cgroup pointer from a fd*@fd: fd obtained by open(cgroup2_dir)* Find the cgroup from a fd which should be obtained* by opening a cgroup directory. Returns a pointer to the* cgroup on success. ERR_PTR is returned if the cgroup
591  If IS_ERR(cgrp) Then Return PTR_ERR(cgrp)
594  ret = cgroup_bpf_query(cgrp, attr, uattr)
596  cgroup_put(cgrp)
597  Return ret
Caller
NameDescribe
bpf_prog_query