函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:bio_check_pages_dirty

函数原型:void bio_check_pages_dirty(struct bio *bio)

返回类型:void

参数:

类型参数名称
struct bio *bio
1740  如果非PageDirty(bv_page)且非PageCompound(bv_page)则转到:defer
1744  bio_release_pages(bio, false)
1745  _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.
1746  返回
1747  defer :
1748  spin_lock_irqsave( & bio_dirty_lock, flags)
1749  bi_private等于bio_dirty_list
1750  bio_dirty_list等于bio
1751  spin_unlock_irqrestore( & bio_dirty_lock, flags)
1752  schedule_work - put work task in global workqueue*@work: job to be done* Returns %false if @work was already on the kernel-global workqueue and* %true otherwise
调用者
名称描述
dio_bio_complete
iomap_dio_bio_end_io