Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blk-cgroup.h Create Date:2022-07-28 05:57:08
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:lkcg_css - find the current css* Find the css associated with either the kthread or the current task.* This may return a dying css, so it is up to the caller to use tryget logic* to confirm it is alive and well.

Proto:static inline struct cgroup_subsys_state *blkcg_css(void)

Type:struct cgroup_subsys_state

Parameter:Nothing

231  css = kthread_blkcg - get associated blkcg css of current kthread* Current thread must be a kthread.
232  If css Then Return css
234  Return ask_css - obtain css for (task, subsys)*@task: the target task*@subsys_id: the target subsystem ID* See task_css_check().
Caller
NameDescribe
bio_associate_blkg_associate_blkg - associate a bio with a blkg*@bio: target bio* Associate @bio with the blkg found from the bio's css and request_queue