函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:blkg_async_bio_workfn

函数原型:static void blkg_async_bio_workfn(struct work_struct *work)

返回类型:void

参数:

类型参数名称
struct work_struct *work
121  blkg等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(work, structblkcg_gq, async_bio_work)
123  bios等于BIO_EMPTY_LIST
127  spin_lock_bh( & async_bio_lock)
128  bio_list_merge( & bios, & async_bios)
129  bio_list_init( & async_bios)
130  spin_unlock_bh( & async_bio_lock)
132 bio等于bio_list_pop( & bios)循环
133  submit_bio - submit a bio to the block device layer for I/O*@bio: The &struct bio which describes the I/O* submit_bio() is very similar in purpose to generic_make_request(), and* uses that function to do most of the work. Both are fairly rough