函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\bio.c Create Date:2022-07-27 18:31:31
Last Modify:2020-03-17 23:13:58 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:_check_pages_dirty() will check that all the BIO's pages are still dirty.* If they are, then fine. If, however, some pages are clean then they must* have been written out during the direct-IO read. So we take another ref on

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

返回类型:void

参数:

类型参数名称
struct work_struct *work
1720  spin_lock_irq( & bio_dirty_lock)
1721  next等于bio_dirty_list
1722  bio_dirty_list = NULL
1723  spin_unlock_irq( & bio_dirty_lock)
1725  当((bio = next) != NULL)循环
1726  next等于bi_private
1728  bio_release_pages(bio, true)
1729  _put - release a reference to a bio*@bio: bio to release reference to* Description:* Put a reference to a &struct bio, either one you have gotten with* bio_alloc, bio_get or bio_clone_*. The last put of a bio will free it.