Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cgroup_idr_replace

Proto:static void *cgroup_idr_replace(struct idr *idr, void *ptr, int id)

Type:void

Parameter:

TypeParameterName
struct idr *idr
void *ptr
intid
321  spin_lock_bh( & Protects cgroup_idr and css_idr so that IDs can be released without* grabbing cgroup_mutex.)
322  ret = dr_replace() - replace pointer for given ID
323  spin_unlock_bh( & Protects cgroup_idr and css_idr so that IDs can be released without* grabbing cgroup_mutex.)
324  Return ret
Caller
NameDescribe
css_release_work_fn
css_create