Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cgroup_bpf_query

Proto:int cgroup_bpf_query(struct cgroup *cgrp, const union bpf_attr *attr, union bpf_attr __user *uattr)

Type:int

Parameter:

TypeParameterName
struct cgroup *cgrp
const union bpf_attr *attr
union bpf_attr __user *uattr
6319  mutex_lock( & cgroup_mutex is the master lock)
6320  ret = __cgroup_bpf_query(cgrp, attr, uattr)
6321  mutex_unlock - release the mutex*@lock: the mutex to be released* Unlock a mutex that has been locked by this task previously.* This function must not be used in interrupt context. Unlocking* of a not locked mutex is not allowed.
6322  Return ret
Caller
NameDescribe
cgroup_bpf_prog_query