Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:fs\block_dev.c Create Date:2022-07-28 20:14:44
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blkdev_bio_end_io

Proto:static void blkdev_bio_end_io(struct bio *bio)

Type:void

Parameter:

TypeParameterName
struct bio *bio
300  dio = bi_private
301  should_dirty = should_dirty
303  If bi_status && Not bi_status Then bi_status = bi_status
306  If Not multi_bio || atomic_dec_and_test( & ref) Then
307  If Not is_sync Then
308  iocb = iocb
314  Else
318  ki_complete(iocb, ret, 0)
319  If multi_bio Then bio_put( & bio)
321  Else
322  waiter = waiter
324  WRITE_ONCE(waiter, NULL)
329  If should_dirty Then
330  bio_check_pages_dirty(bio)
331  Else
332  bio_release_pages(bio, false)
333  bio_put(bio)