函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:cgroup_put

函数原型:static inline void cgroup_put(struct cgroup *cgrp)

返回类型:void

参数:

类型参数名称
struct cgroup *cgrp
429  设置一个css引用
调用者
名称描述
put_css_set_locked
cgroup_kn_unlockgroup_kn_unlock - unlocking helper for cgroup kernfs methods*@kn: the kernfs_node being serviced* This helper undoes cgroup_kn_lock_live() and should be invoked before* the method finishes if locking succeeded
cgroup_do_get_tree
cgroup_kill_sb
cgroup_lock_and_drain_offlinegroup_lock_and_drain_offline - lock cgroup_mutex and drain offlined csses*@cgrp: root of the target subtree* Because css offlining is asynchronous, userland may try to re-enable a* controller while the previous css is still around. This function grabs
css_free_rwork_fnss destruction is four-stage process
cgroup_get_from_fdgroup_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
cgroup1_root_to_useThe guts of cgroup1 mount - find or create cgroup_root to use
cgroup_fd_array_put_ptr
cgroup_bpf_releasegroup_bpf_release() - put references of all bpf programs and* release all cgroup bpf data*@work: work structure embedded into the cgroup to modify
cgroup_bpf_prog_attach
cgroup_bpf_prog_detach
cgroup_bpf_prog_query