函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:kthread_associate_blkcg - associate blkcg to current kthread*@css: the cgroup info* Current thread must be a kthread. The thread is running jobs on behalf of* other threads. In some cases, we expect the jobs attach cgroup info of

函数原型:void kthread_associate_blkcg(struct cgroup_subsys_state *css)

返回类型:void

参数:

类型参数名称
struct cgroup_subsys_state *css
1208  如果非flags按位与I am a kernel thread 的值则返回
1210  kthread等于to_kthread(当前进程)
1211  如果非kthread则返回
1214  如果blkcg_css
1215  设置一个css引用
1216  blkcg_css = NULL
1218  如果css
1219  获取指定CSS参考
1220  blkcg_css等于css