函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\cgroup.c Create Date:2022-07-27 12:09:09
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:cgroup_idr_replace

函数原型:static void *cgroup_idr_replace(struct idr *idr, void *ptr, int id)

返回类型:void

参数:

类型参数名称
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  返回:ret
调用者
名称描述
css_release_work_fn
css_create